Class CfnDataSourceProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.CfnDataSourceProps.Jsii$Proxy
All Implemented Interfaces:
CfnDataSourceProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnDataSourceProps

@Stability(Stable) @Internal public static final class CfnDataSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDataSourceProps
An implementation for CfnDataSourceProps
  • 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

      protected Jsii$Proxy(CfnDataSourceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnDataSourceProps.Builder.
  • Method Details

    • getApiId

      public final String getApiId()
      Description copied from interface: CfnDataSourceProps
      Unique AWS AppSync GraphQL API identifier where this data source will be created.
      Specified by:
      getApiId in interface CfnDataSourceProps
    • getName

      public final String getName()
      Description copied from interface: CfnDataSourceProps
      Friendly name for you to identify your AppSync data source after creation.
      Specified by:
      getName in interface CfnDataSourceProps
    • getType

      public final String getType()
      Description copied from interface: CfnDataSourceProps
      The 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.
      • 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:
      getType in interface CfnDataSourceProps
    • getDescription

      public final String getDescription()
      Description copied from interface: CfnDataSourceProps
      The description of the data source.
      Specified by:
      getDescription in interface CfnDataSourceProps
    • getDynamoDbConfig

      public final Object getDynamoDbConfig()
      Description copied from interface: CfnDataSourceProps
      AWS Region and TableName for an Amazon DynamoDB table in your account.
      Specified by:
      getDynamoDbConfig in interface CfnDataSourceProps
    • getElasticsearchConfig

      public final Object getElasticsearchConfig()
      Description copied from interface: CfnDataSourceProps
      AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.

      As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service . This property is deprecated. For new data sources, use OpenSearchServiceConfig to specify an OpenSearch Service data source.

      Specified by:
      getElasticsearchConfig in interface CfnDataSourceProps
    • getEventBridgeConfig

      public final Object getEventBridgeConfig()
      Description copied from interface: CfnDataSourceProps
      An EventBridge configuration that contains a valid ARN of an event bus.
      Specified by:
      getEventBridgeConfig in interface CfnDataSourceProps
    • getHttpConfig

      public final Object getHttpConfig()
      Description copied from interface: CfnDataSourceProps
      Endpoints for an HTTP data source.
      Specified by:
      getHttpConfig in interface CfnDataSourceProps
    • getLambdaConfig

      public final Object getLambdaConfig()
      Description copied from interface: CfnDataSourceProps
      An 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.

      Specified by:
      getLambdaConfig in interface CfnDataSourceProps
    • getOpenSearchServiceConfig

      public final Object getOpenSearchServiceConfig()
      Description copied from interface: CfnDataSourceProps
      AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.
      Specified by:
      getOpenSearchServiceConfig in interface CfnDataSourceProps
    • getRelationalDatabaseConfig

      public final Object getRelationalDatabaseConfig()
      Description copied from interface: CfnDataSourceProps
      Relational Database configuration of the relational database data source.
      Specified by:
      getRelationalDatabaseConfig in interface CfnDataSourceProps
    • getServiceRoleArn

      public final String getServiceRoleArn()
      Description copied from interface: CfnDataSourceProps
      The AWS Identity and Access Management service role ARN for the data source.

      The system assumes this role when accessing the data source.

      Required if Type is specified as AWS_LAMBDA , AMAZON_DYNAMODB , AMAZON_ELASTICSEARCH , AMAZON_EVENTBRIDGE , or AMAZON_OPENSEARCH_SERVICE .

      Specified by:
      getServiceRoleArn in interface CfnDataSourceProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object