Class CfnDataSourceProps.Jsii$Proxy
- All Implemented Interfaces:
CfnDataSourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDataSourceProps
CfnDataSourceProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.CfnDataSourceProps
CfnDataSourceProps.Builder, CfnDataSourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnDataSourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnDataSourceProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectgetApiId()Unique AWS AppSync GraphQL API identifier where this data source will be created.final StringThe description of the data source.final ObjectAWS Region and TableName for an Amazon DynamoDB table in your account.final ObjectReturns union: eitherIResolvableorCfnDataSource.ElasticsearchConfigPropertyfinal ObjectAn EventBridge configuration that contains a valid ARN of an event bus.final ObjectEndpoints for an HTTP data source.final ObjectAn ARN of a Lambda function in valid ARN format.final StringEnables or disables enhanced data source metrics for specified data sources.final StringgetName()Friendly name for you to identify your AppSync data source after creation.final ObjectAWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.final ObjectRelational Database configuration of the relational database data source.final ObjectThe AWS Identity and Access Management service role ARN for the data source.final StringgetType()The type of the data source.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnDataSourceProps.Builder.
-
-
Method Details
-
getApiId
Description copied from interface:CfnDataSourcePropsUnique AWS AppSync GraphQL API identifier where this data source will be created.Returns union: either
StringorIGraphQLApiRef- Specified by:
getApiIdin interfaceCfnDataSourceProps- See Also:
-
getName
Description copied from interface:CfnDataSourcePropsFriendly name for you to identify your AppSync data source after creation.- Specified by:
getNamein interfaceCfnDataSourceProps- See Also:
-
getType
Description copied from interface:CfnDataSourcePropsThe type of the data source.- AWS_LAMBDA : The data source is an AWS Lambda function.
- AMAZON_DYNAMODB : The data source is an Amazon DynamoDB table.
- AMAZON_ELASTICSEARCH : The data source is an Amazon OpenSearch Service domain.
- AMAZON_EVENTBRIDGE : The data source is an Amazon EventBridge event bus.
- AMAZON_OPENSEARCH_SERVICE : The data source is an Amazon OpenSearch Service domain.
- AMAZON_BEDROCK_RUNTIME : The data source is the Amazon Bedrock runtime.
- NONE : There is no data source. This type is used 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.
- HTTP : The data source is an HTTP endpoint.
- RELATIONAL_DATABASE : The data source is a relational database.
- Specified by:
getTypein interfaceCfnDataSourceProps- See Also:
-
getDescription
Description copied from interface:CfnDataSourcePropsThe description of the data source.- Specified by:
getDescriptionin interfaceCfnDataSourceProps- See Also:
-
getDynamoDbConfig
Description copied from interface:CfnDataSourcePropsAWS Region and TableName for an Amazon DynamoDB table in your account.Returns union: either
IResolvableorCfnDataSource.DynamoDBConfigProperty- Specified by:
getDynamoDbConfigin interfaceCfnDataSourceProps- See Also:
-
getElasticsearchConfig
Description copied from interface:CfnDataSourcePropsReturns union: eitherIResolvableorCfnDataSource.ElasticsearchConfigProperty- Specified by:
getElasticsearchConfigin interfaceCfnDataSourceProps- See Also:
-
getEventBridgeConfig
Description copied from interface:CfnDataSourcePropsAn EventBridge configuration that contains a valid ARN of an event bus.Returns union: either
IResolvableorCfnDataSource.EventBridgeConfigProperty- Specified by:
getEventBridgeConfigin interfaceCfnDataSourceProps- See Also:
-
getHttpConfig
Description copied from interface:CfnDataSourcePropsEndpoints for an HTTP data source.Returns union: either
IResolvableorCfnDataSource.HttpConfigProperty- Specified by:
getHttpConfigin interfaceCfnDataSourceProps- See Also:
-
getLambdaConfig
Description copied from interface:CfnDataSourcePropsAn ARN of a Lambda function in valid ARN format.This can be the ARN of a Lambda function that exists in the current account or in another account.
Returns union: either
IResolvableorCfnDataSource.LambdaConfigProperty- Specified by:
getLambdaConfigin interfaceCfnDataSourceProps- See Also:
-
getMetricsConfig
Description copied from interface:CfnDataSourcePropsEnables or disables enhanced data source metrics for specified data sources.Note that
MetricsConfigwon't be used unless thedataSourceLevelMetricsBehaviorvalue is set toPER_DATA_SOURCE_METRICS. If thedataSourceLevelMetricsBehavioris set toFULL_REQUEST_DATA_SOURCE_METRICSinstead,MetricsConfigwill be ignored. However, you can still set its value.MetricsConfigcan beENABLEDorDISABLED.- Specified by:
getMetricsConfigin interfaceCfnDataSourceProps- See Also:
-
getOpenSearchServiceConfig
Description copied from interface:CfnDataSourcePropsAWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.Returns union: either
IResolvableorCfnDataSource.OpenSearchServiceConfigProperty- Specified by:
getOpenSearchServiceConfigin interfaceCfnDataSourceProps- See Also:
-
getRelationalDatabaseConfig
Description copied from interface:CfnDataSourcePropsRelational Database configuration of the relational database data source.Returns union: either
IResolvableorCfnDataSource.RelationalDatabaseConfigProperty- Specified by:
getRelationalDatabaseConfigin interfaceCfnDataSourceProps- See Also:
-
getServiceRoleArn
Description copied from interface:CfnDataSourcePropsThe AWS Identity and Access Management service role ARN for the data source.The system assumes this role when accessing the data source.
Required if
Typeis specified asAWS_LAMBDA,AMAZON_DYNAMODB,AMAZON_ELASTICSEARCH,AMAZON_EVENTBRIDGE,AMAZON_OPENSEARCH_SERVICE,RELATIONAL_DATABASE, orAMAZON_BEDROCK_RUNTIME.- Specified by:
getServiceRoleArnin interfaceCfnDataSourceProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-