The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::AppSync::DataSource

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::AppSync::DataSource object:

  $service_obj->Method(Att1 => { DataSourceArn => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::AppSync::DataSource object:

  $result = $service_obj->Method(...);
  $result->Att1->DataSourceArn

DESCRIPTION

Describes a data source.

ATTRIBUTES

DataSourceArn => Str

  The data source ARN.

Description => Str

  The description of the data source.

DynamodbConfig => Paws::AppSync::DynamodbDataSourceConfig

  DynamoDB settings.

ElasticsearchConfig => Paws::AppSync::ElasticsearchDataSourceConfig

  Amazon Elasticsearch settings.

LambdaConfig => Paws::AppSync::LambdaDataSourceConfig

  Lambda settings.

Name => Str

  The name of the data source.

ServiceRoleArn => Str

  The IAM service role ARN for the data source. The system assumes this
role when accessing the data source.

Type => Str

  The type of the data source.
  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

  • AWS_LAMBDA: The data source is an AWS Lambda function.

  • NONE: There is no data source. This type is used when when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::AppSync

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues