@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.098Z") @Stability(value=Stable) public interface CfnDataSourceProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
CfnDataSourceProps cfnDataSourceProps = CfnDataSourceProps.builder()
.apiId("apiId")
.name("name")
.type("type")
// the properties below are optional
.description("description")
.dynamoDbConfig(DynamoDBConfigProperty.builder()
.awsRegion("awsRegion")
.tableName("tableName")
// the properties below are optional
.deltaSyncConfig(DeltaSyncConfigProperty.builder()
.baseTableTtl("baseTableTtl")
.deltaSyncTableName("deltaSyncTableName")
.deltaSyncTableTtl("deltaSyncTableTtl")
.build())
.useCallerCredentials(false)
.versioned(false)
.build())
.elasticsearchConfig(ElasticsearchConfigProperty.builder()
.awsRegion("awsRegion")
.endpoint("endpoint")
.build())
.httpConfig(HttpConfigProperty.builder()
.endpoint("endpoint")
// the properties below are optional
.authorizationConfig(AuthorizationConfigProperty.builder()
.authorizationType("authorizationType")
// the properties below are optional
.awsIamConfig(AwsIamConfigProperty.builder()
.signingRegion("signingRegion")
.signingServiceName("signingServiceName")
.build())
.build())
.build())
.lambdaConfig(LambdaConfigProperty.builder()
.lambdaFunctionArn("lambdaFunctionArn")
.build())
.openSearchServiceConfig(OpenSearchServiceConfigProperty.builder()
.awsRegion("awsRegion")
.endpoint("endpoint")
.build())
.relationalDatabaseConfig(RelationalDatabaseConfigProperty.builder()
.relationalDatabaseSourceType("relationalDatabaseSourceType")
// the properties below are optional
.rdsHttpEndpointConfig(RdsHttpEndpointConfigProperty.builder()
.awsRegion("awsRegion")
.awsSecretStoreArn("awsSecretStoreArn")
.dbClusterIdentifier("dbClusterIdentifier")
// the properties below are optional
.databaseName("databaseName")
.schema("schema")
.build())
.build())
.serviceRoleArn("serviceRoleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSourceProps.Builder
A builder for
CfnDataSourceProps |
static class |
CfnDataSourceProps.Jsii$Proxy
An implementation for
CfnDataSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSourceProps.Builder |
builder() |
String |
getApiId()
`AWS::AppSync::DataSource.ApiId`.
|
default String |
getDescription()
`AWS::AppSync::DataSource.Description`.
|
default Object |
getDynamoDbConfig()
`AWS::AppSync::DataSource.DynamoDBConfig`.
|
default Object |
getElasticsearchConfig()
`AWS::AppSync::DataSource.ElasticsearchConfig`.
|
default Object |
getHttpConfig()
`AWS::AppSync::DataSource.HttpConfig`.
|
default Object |
getLambdaConfig()
`AWS::AppSync::DataSource.LambdaConfig`.
|
String |
getName()
`AWS::AppSync::DataSource.Name`.
|
default Object |
getOpenSearchServiceConfig()
`AWS::AppSync::DataSource.OpenSearchServiceConfig`.
|
default Object |
getRelationalDatabaseConfig()
`AWS::AppSync::DataSource.RelationalDatabaseConfig`.
|
default String |
getServiceRoleArn()
`AWS::AppSync::DataSource.ServiceRoleArn`.
|
String |
getType()
`AWS::AppSync::DataSource.Type`.
|
@Stability(value=Stable) @NotNull String getApiId()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getDynamoDbConfig()
@Stability(value=Stable) @Nullable default Object getElasticsearchConfig()
@Stability(value=Stable) @Nullable default Object getHttpConfig()
@Stability(value=Stable) @Nullable default Object getLambdaConfig()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getOpenSearchServiceConfig()
@Stability(value=Stable) @Nullable default Object getRelationalDatabaseConfig()
@Stability(value=Stable) @Nullable default String getServiceRoleArn()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) static CfnDataSourceProps.Builder builder()
CfnDataSourceProps.Builder of CfnDataSourcePropsCopyright © 2021. All rights reserved.