CfnDataSourceProps

class aws_cdk.aws_appsync.CfnDataSourceProps(*, api_id, name, type, description=None, dynamo_db_config=None, elasticsearch_config=None, http_config=None, lambda_config=None, relational_database_config=None, service_role_arn=None)

Bases: object

__init__(*, api_id, name, type, description=None, dynamo_db_config=None, elasticsearch_config=None, http_config=None, lambda_config=None, relational_database_config=None, service_role_arn=None)

Properties for defining a AWS::AppSync::DataSource.

Parameters
  • api_id (str) – AWS::AppSync::DataSource.ApiId.

  • name (str) – AWS::AppSync::DataSource.Name.

  • type (str) – AWS::AppSync::DataSource.Type.

  • description (Optional[str]) – AWS::AppSync::DataSource.Description.

  • dynamo_db_config (Union[IResolvable, None, DynamoDBConfigProperty]) – AWS::AppSync::DataSource.DynamoDBConfig.

  • elasticsearch_config (Union[IResolvable, None, ElasticsearchConfigProperty]) – AWS::AppSync::DataSource.ElasticsearchConfig.

  • http_config (Union[IResolvable, None, HttpConfigProperty]) – AWS::AppSync::DataSource.HttpConfig.

  • lambda_config (Union[IResolvable, None, LambdaConfigProperty]) – AWS::AppSync::DataSource.LambdaConfig.

  • relational_database_config (Union[IResolvable, None, RelationalDatabaseConfigProperty]) – AWS::AppSync::DataSource.RelationalDatabaseConfig.

  • service_role_arn (Optional[str]) – AWS::AppSync::DataSource.ServiceRoleArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html

Return type

None

Attributes

api_id

AWS::AppSync::DataSource.ApiId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-apiid

Return type

str

description

AWS::AppSync::DataSource.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-description

Return type

Optional[str]

dynamo_db_config

AWS::AppSync::DataSource.DynamoDBConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-dynamodbconfig

Return type

Union[IResolvable, None, DynamoDBConfigProperty]

elasticsearch_config

AWS::AppSync::DataSource.ElasticsearchConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-elasticsearchconfig

Return type

Union[IResolvable, None, ElasticsearchConfigProperty]

http_config

AWS::AppSync::DataSource.HttpConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-httpconfig

Return type

Union[IResolvable, None, HttpConfigProperty]

lambda_config

AWS::AppSync::DataSource.LambdaConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-lambdaconfig

Return type

Union[IResolvable, None, LambdaConfigProperty]

name

AWS::AppSync::DataSource.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-name

Return type

str

relational_database_config

AWS::AppSync::DataSource.RelationalDatabaseConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-relationaldatabaseconfig

Return type

Union[IResolvable, None, RelationalDatabaseConfigProperty]

service_role_arn

AWS::AppSync::DataSource.ServiceRoleArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-servicerolearn

Return type

Optional[str]

type

AWS::AppSync::DataSource.Type.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-type

Return type

str