Interface CfnApplicationReferenceDataSourceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApplicationReferenceDataSourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:58.251Z") @Stability(Stable) public interface CfnApplicationReferenceDataSourceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnApplicationReferenceDataSource.

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.kinesisanalytics.*;
 CfnApplicationReferenceDataSourceProps cfnApplicationReferenceDataSourceProps = CfnApplicationReferenceDataSourceProps.builder()
         .applicationName("applicationName")
         .referenceDataSource(ReferenceDataSourceProperty.builder()
                 .referenceSchema(ReferenceSchemaProperty.builder()
                         .recordColumns(List.of(RecordColumnProperty.builder()
                                 .name("name")
                                 .sqlType("sqlType")
                                 // the properties below are optional
                                 .mapping("mapping")
                                 .build()))
                         .recordFormat(RecordFormatProperty.builder()
                                 .recordFormatType("recordFormatType")
                                 // the properties below are optional
                                 .mappingParameters(MappingParametersProperty.builder()
                                         .csvMappingParameters(CSVMappingParametersProperty.builder()
                                                 .recordColumnDelimiter("recordColumnDelimiter")
                                                 .recordRowDelimiter("recordRowDelimiter")
                                                 .build())
                                         .jsonMappingParameters(JSONMappingParametersProperty.builder()
                                                 .recordRowPath("recordRowPath")
                                                 .build())
                                         .build())
                                 .build())
                         // the properties below are optional
                         .recordEncoding("recordEncoding")
                         .build())
                 // the properties below are optional
                 .s3ReferenceDataSource(S3ReferenceDataSourceProperty.builder()
                         .bucketArn("bucketArn")
                         .fileKey("fileKey")
                         .referenceRoleArn("referenceRoleArn")
                         .build())
                 .tableName("tableName")
                 .build())
         .build();
 
  • Method Details

    • getApplicationName

      @Stability(Stable) @NotNull String getApplicationName()
      Name of an existing application.
    • getReferenceDataSource

      @Stability(Stable) @NotNull Object getReferenceDataSource()
      The reference data source can be an object in your Amazon S3 bucket.

      Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf.

    • builder

      @Stability(Stable) static CfnApplicationReferenceDataSourceProps.Builder builder()
      Returns:
      a CfnApplicationReferenceDataSourceProps.Builder of CfnApplicationReferenceDataSourceProps