Class CfnApplicationReferenceDataSourceV2
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSourceV2
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,IApplicationReferenceDataSourceV2Ref,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:08.330Z")
@Stability(Deprecated)
@Deprecated
public class CfnApplicationReferenceDataSourceV2
extends CfnResource
implements IInspectable, IApplicationReferenceDataSourceV2Ref
Deprecated.
(deprecated) Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
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.*;
CfnApplicationReferenceDataSourceV2 cfnApplicationReferenceDataSourceV2 = CfnApplicationReferenceDataSourceV2.Builder.create(this, "MyCfnApplicationReferenceDataSourceV2")
.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")
.build())
.tableName("tableName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, provides additional mapping information when the record format uses delimiters, such as CSV.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, provides additional mapping information when JSON is the record format on the streaming source.static interfaceDeprecated.When you configure a SQL-based Kinesis Data Analytics application's input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, describes the record format and relevant mapping information that should be applied to schematize the records on the stream.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.static interfaceDeprecated.For an SQL-based Amazon Kinesis Data Analytics application, identifies the Amazon S3 bucket and object that contains the reference data.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesisanalytics.IApplicationReferenceDataSourceV2Ref
IApplicationReferenceDataSourceV2Ref.Jsii$Default, IApplicationReferenceDataSourceV2Ref.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApplicationReferenceDataSourceV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedCfnApplicationReferenceDataSourceV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.CfnApplicationReferenceDataSourceV2(software.constructs.Construct scope, String id, CfnApplicationReferenceDataSourceV2Props props) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.voidinspect(TreeInspector inspector) Deprecated.renderProperties(Map<String, Object> props) Deprecated.voidsetApplicationName(String value) Deprecated.voidDeprecated.voidDeprecated.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
Deprecated.(deprecated) The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnApplicationReferenceDataSourceV2
protected CfnApplicationReferenceDataSourceV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
CfnApplicationReferenceDataSourceV2
protected CfnApplicationReferenceDataSourceV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
CfnApplicationReferenceDataSourceV2
@Stability(Deprecated) @Deprecated public CfnApplicationReferenceDataSourceV2(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationReferenceDataSourceV2Props props) Deprecated.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Deprecated.(deprecated) Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Deprecated) @Deprecated @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) Deprecated.- Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getApplicationReferenceDataSourceRef
@Stability(Deprecated) @Deprecated @NotNull public ApplicationReferenceDataSourceV2Reference getApplicationReferenceDataSourceRef()Deprecated.(deprecated) A reference to a ApplicationReferenceDataSource resource.- Specified by:
getApplicationReferenceDataSourceRefin interfaceIApplicationReferenceDataSourceV2Ref
-
getAttrId
Deprecated. -
getCfnProperties
Deprecated.- Overrides:
getCfnPropertiesin classCfnResource
-
getApplicationName
Deprecated.(deprecated) The name of the application. -
setApplicationName
Deprecated.(deprecated) The name of the application. -
getReferenceDataSource
Deprecated.(deprecated) For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.Returns union: either
IResolvableorCfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty -
setReferenceDataSource
Deprecated.(deprecated) For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table. -
setReferenceDataSource
@Stability(Deprecated) @Deprecated public void setReferenceDataSource(@NotNull CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty value) Deprecated.(deprecated) For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.
-
aws-kinesisanalyticsv2instead