Class CfnApplicationV2
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.CfnApplicationV2
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IApplicationRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.868Z")
@Stability(Deprecated)
@Deprecated
public class CfnApplicationV2
extends CfnResource
implements IInspectable, IApplicationRef, ITaggable
Deprecated.
(deprecated) Creates an Amazon Kinesis Data Analytics application.
For information about creating a Kinesis Data Analytics application, see Creating an Application .
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.*;
CfnApplicationV2 cfnApplicationV2 = CfnApplicationV2.Builder.create(this, "MyCfnApplicationV2")
.runtimeEnvironment("runtimeEnvironment")
.serviceExecutionRole("serviceExecutionRole")
// the properties below are optional
.applicationConfiguration(ApplicationConfigurationProperty.builder()
.applicationCodeConfiguration(ApplicationCodeConfigurationProperty.builder()
.codeContent(CodeContentProperty.builder()
.s3ContentLocation(S3ContentLocationProperty.builder()
.bucketArn("bucketArn")
.fileKey("fileKey")
// the properties below are optional
.objectVersion("objectVersion")
.build())
.textContent("textContent")
.zipFileContent("zipFileContent")
.build())
.codeContentType("codeContentType")
.build())
.applicationEncryptionConfiguration(ApplicationEncryptionConfigurationProperty.builder()
.keyType("keyType")
// the properties below are optional
.keyId("keyId")
.build())
.applicationSnapshotConfiguration(ApplicationSnapshotConfigurationProperty.builder()
.snapshotsEnabled(false)
.build())
.applicationSystemRollbackConfiguration(ApplicationSystemRollbackConfigurationProperty.builder()
.rollbackEnabled(false)
.build())
.environmentProperties(EnvironmentPropertiesProperty.builder()
.propertyGroups(List.of(PropertyGroupProperty.builder()
.propertyGroupId("propertyGroupId")
.propertyMap(Map.of(
"propertyMapKey", "propertyMap"))
.build()))
.build())
.flinkApplicationConfiguration(FlinkApplicationConfigurationProperty.builder()
.checkpointConfiguration(CheckpointConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.checkpointingEnabled(false)
.checkpointInterval(123)
.minPauseBetweenCheckpoints(123)
.build())
.monitoringConfiguration(MonitoringConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.logLevel("logLevel")
.metricsLevel("metricsLevel")
.build())
.parallelismConfiguration(ParallelismConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.autoScalingEnabled(false)
.parallelism(123)
.parallelismPerKpu(123)
.build())
.build())
.sqlApplicationConfiguration(SqlApplicationConfigurationProperty.builder()
.inputs(List.of(InputProperty.builder()
.inputSchema(InputSchemaProperty.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())
.namePrefix("namePrefix")
// the properties below are optional
.inputParallelism(InputParallelismProperty.builder()
.count(123)
.build())
.inputProcessingConfiguration(InputProcessingConfigurationProperty.builder()
.inputLambdaProcessor(InputLambdaProcessorProperty.builder()
.resourceArn("resourceArn")
.build())
.build())
.kinesisFirehoseInput(KinesisFirehoseInputProperty.builder()
.resourceArn("resourceArn")
.build())
.kinesisStreamsInput(KinesisStreamsInputProperty.builder()
.resourceArn("resourceArn")
.build())
.build()))
.build())
.vpcConfigurations(List.of(VpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build()))
.zeppelinApplicationConfiguration(ZeppelinApplicationConfigurationProperty.builder()
.catalogConfiguration(CatalogConfigurationProperty.builder()
.glueDataCatalogConfiguration(GlueDataCatalogConfigurationProperty.builder()
.databaseArn("databaseArn")
.build())
.build())
.customArtifactsConfiguration(List.of(CustomArtifactConfigurationProperty.builder()
.artifactType("artifactType")
// the properties below are optional
.mavenReference(MavenReferenceProperty.builder()
.artifactId("artifactId")
.groupId("groupId")
.version("version")
.build())
.s3ContentLocation(S3ContentLocationProperty.builder()
.bucketArn("bucketArn")
.fileKey("fileKey")
// the properties below are optional
.objectVersion("objectVersion")
.build())
.build()))
.deployAsApplicationConfiguration(DeployAsApplicationConfigurationProperty.builder()
.s3ContentLocation(S3ContentBaseLocationProperty.builder()
.bucketArn("bucketArn")
// the properties below are optional
.basePath("basePath")
.build())
.build())
.monitoringConfiguration(ZeppelinMonitoringConfigurationProperty.builder()
.logLevel("logLevel")
.build())
.build())
.build())
.applicationDescription("applicationDescription")
.applicationMaintenanceConfiguration(ApplicationMaintenanceConfigurationProperty.builder()
.applicationMaintenanceWindowStartTime("applicationMaintenanceWindowStartTime")
.build())
.applicationMode("applicationMode")
.applicationName("applicationName")
.runConfiguration(RunConfigurationProperty.builder()
.applicationRestoreConfiguration(ApplicationRestoreConfigurationProperty.builder()
.applicationRestoreType("applicationRestoreType")
// the properties below are optional
.snapshotName("snapshotName")
.build())
.flinkRunConfiguration(FlinkRunConfigurationProperty.builder()
.allowNonRestoredState(false)
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.Describes code configuration for an application.static interfaceDeprecated.Specifies the creation parameters for a Managed Service for Apache Flink application.static interfaceDeprecated.Specifies the configuration to manage encryption at rest.static interfaceDeprecated.Specifies the maintenance configuration for a AKAlong .static interfaceDeprecated.Specifies the method and snapshot to use when restarting an application using previously saved application state.static interfaceDeprecated.Describes whether snapshots are enabled for a Managed Service for Apache Flink application.static interfaceDeprecated.Describes the system rollback configuration for a Managed Service for Apache Flink application.static final classDeprecated.static interfaceDeprecated.The configuration parameters for the default Amazon Glue database.static interfaceDeprecated.Describes an application's checkpointing configuration.static interfaceDeprecated.Specifies either the application code, or the location of the application code, for a Managed Service for Apache Flink application.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.The configuration of connectors and user-defined functions.static interfaceDeprecated.The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.static interfaceDeprecated.Describes execution properties for a Managed Service for Apache Flink application.static interfaceDeprecated.Describes configuration parameters for a Managed Service for Apache Flink application or a Studio notebook.static interfaceDeprecated.Describes the starting parameters for a Managed Service for Apache Flink application.static interfaceDeprecated.The configuration of the Glue Data Catalog that you use for Apache Flink SQL queries and table API transforms that you write in an application.static interfaceDeprecated.An object that contains the Amazon Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, describes the number of in-application streams to create for a given streaming source.static interfaceDeprecated.For an SQL-based Amazon Kinesis Data Analytics application, describes a processor that is used to preprocess the records in the stream before being processed by your application code.static interfaceDeprecated.When you configure the application input for a SQL-based Kinesis Data Analytics application, you specify the streaming source, the in-application stream name that is created, and the mapping between the two.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 a SQL-based Kinesis Data Analytics application, provides additional mapping information when JSON is the record format on the streaming source.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, identifies a Kinesis Data Firehose delivery stream as the streaming source.static interfaceDeprecated.Identifies a Kinesis data stream as 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.The information required to specify a Maven reference.static interfaceDeprecated.Describes configuration parameters for Amazon CloudWatch logging for a Java-based Kinesis Data Analytics application.static interfaceDeprecated.Describes parameters for how a Flink-based Kinesis Data Analytics application executes multiple tasks simultaneously.static interfaceDeprecated.Property key-value pairs passed into an application.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.Describes the starting parameters for an Managed Service for Apache Flink application.static interfaceDeprecated.The base location of the Amazon Data Analytics application.static interfaceDeprecated.The location of an application or a custom artifact.static interfaceDeprecated.Describes the inputs, outputs, and reference data sources for a SQL-based Kinesis Data Analytics application.static interfaceDeprecated.Describes the parameters of a VPC used by the application.static interfaceDeprecated.The configuration of a Kinesis Data Analytics Studio notebook.static interfaceDeprecated.Describes configuration parameters for Amazon CloudWatch logging for a Kinesis Data Analytics Studio notebook.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.kinesisanalyticsv2.IApplicationRef
IApplicationRef.Jsii$Default, IApplicationRef.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$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApplicationV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedCfnApplicationV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.CfnApplicationV2(software.constructs.Construct scope, String id, CfnApplicationV2Props props) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForApplication(IApplicationRef resource) Deprecated.static IApplicationReffromApplicationName(software.constructs.Construct scope, String id, String applicationName) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getTags()Deprecated.Deprecated.voidinspect(TreeInspector inspector) Deprecated.static BooleanDeprecated.renderProperties(Map<String, Object> props) Deprecated.voidDeprecated.voidDeprecated.voidsetApplicationDescription(String value) Deprecated.voidDeprecated.voidsetApplicationMaintenanceConfiguration(CfnApplicationV2.ApplicationMaintenanceConfigurationProperty value) Deprecated.voidsetApplicationMode(String value) Deprecated.voidsetApplicationName(String value) Deprecated.voidsetRunConfiguration(IResolvable value) Deprecated.voidDeprecated.voidsetRuntimeEnvironment(String value) Deprecated.voidsetServiceExecutionRole(String value) Deprecated.voidsetTagsRaw(List<CfnTag> value) Deprecated.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.interfaces.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
-
CfnApplicationV2
protected CfnApplicationV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
CfnApplicationV2
protected CfnApplicationV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
CfnApplicationV2
@Stability(Deprecated) @Deprecated public CfnApplicationV2(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationV2Props props) Deprecated.(deprecated) Create a newAWS::KinesisAnalyticsV2::Application.- 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
-
arnForApplication
@Stability(Deprecated) @Deprecated @NotNull public static String arnForApplication(@NotNull IApplicationRef resource) Deprecated.- Parameters:
resource- This parameter is required.
-
fromApplicationName
@Stability(Deprecated) @Deprecated @NotNull public static IApplicationRef fromApplicationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationName) Deprecated.(deprecated) Creates a new IApplicationRef from a applicationName.- Parameters:
scope- This parameter is required.id- This parameter is required.applicationName- This parameter is required.
-
isCfnApplicationV2
@Stability(Deprecated) @Deprecated @NotNull public static Boolean isCfnApplicationV2(@NotNull Object x) Deprecated.(deprecated) Checks whether the given object is a CfnApplicationV2.- Parameters:
x- This parameter is required.
-
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.
-
getApplicationRef
Deprecated.(deprecated) A reference to a Application resource.- Specified by:
getApplicationRefin interfaceIApplicationRef
-
getCfnProperties
Deprecated.- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Deprecated.(deprecated) Tag Manager which manages the tags for this resource. -
getRuntimeEnvironment
Deprecated.(deprecated) The runtime environment for the application. -
setRuntimeEnvironment
Deprecated.(deprecated) The runtime environment for the application. -
getServiceExecutionRole
Deprecated.(deprecated) Specifies the IAM role that the application uses to access external resources. -
setServiceExecutionRole
Deprecated.(deprecated) Specifies the IAM role that the application uses to access external resources. -
getApplicationConfiguration
Deprecated.(deprecated) Use this parameter to configure the application.Returns union: either
IResolvableorCfnApplicationV2.ApplicationConfigurationProperty -
setApplicationConfiguration
@Stability(Deprecated) @Deprecated public void setApplicationConfiguration(@Nullable IResolvable value) Deprecated.(deprecated) Use this parameter to configure the application. -
setApplicationConfiguration
@Stability(Deprecated) @Deprecated public void setApplicationConfiguration(@Nullable CfnApplicationV2.ApplicationConfigurationProperty value) Deprecated.(deprecated) Use this parameter to configure the application. -
getApplicationDescription
Deprecated.(deprecated) The description of the application. -
setApplicationDescription
Deprecated.(deprecated) The description of the application. -
getApplicationMaintenanceConfiguration
Deprecated.(deprecated) Specifies the maintenance window parameters for a Kinesis Data Analytics application.Returns union: either
IResolvableorCfnApplicationV2.ApplicationMaintenanceConfigurationProperty -
setApplicationMaintenanceConfiguration
@Stability(Deprecated) @Deprecated public void setApplicationMaintenanceConfiguration(@Nullable IResolvable value) Deprecated.(deprecated) Specifies the maintenance window parameters for a Kinesis Data Analytics application. -
setApplicationMaintenanceConfiguration
@Stability(Deprecated) @Deprecated public void setApplicationMaintenanceConfiguration(@Nullable CfnApplicationV2.ApplicationMaintenanceConfigurationProperty value) Deprecated.(deprecated) Specifies the maintenance window parameters for a Kinesis Data Analytics application. -
getApplicationMode
Deprecated.(deprecated) To create a Kinesis Data Analytics Studio notebook, you must set the mode toINTERACTIVE. -
setApplicationMode
Deprecated.(deprecated) To create a Kinesis Data Analytics Studio notebook, you must set the mode toINTERACTIVE. -
getApplicationName
Deprecated.(deprecated) The name of the application. -
setApplicationName
Deprecated.(deprecated) The name of the application. -
getRunConfiguration
Deprecated.(deprecated) Describes the starting parameters for an Managed Service for Apache Flink application.Returns union: either
IResolvableorCfnApplicationV2.RunConfigurationProperty -
setRunConfiguration
Deprecated.(deprecated) Describes the starting parameters for an Managed Service for Apache Flink application. -
setRunConfiguration
@Stability(Deprecated) @Deprecated public void setRunConfiguration(@Nullable CfnApplicationV2.RunConfigurationProperty value) Deprecated.(deprecated) Describes the starting parameters for an Managed Service for Apache Flink application. -
getTagsRaw
Deprecated.(deprecated) A list of one or more tags to assign to the application. -
setTagsRaw
Deprecated.(deprecated) A list of one or more tags to assign to the application.
-
aws-kinesisanalyticsv2instead