class CfnApplicationPropsMixin (mixin)
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.KinesisAnalyticsV2.CfnApplicationPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awskinesisanalyticsv2#CfnApplicationPropsMixin |
Java | software.amazon.awscdk.cfnpropertymixins.services.kinesisanalyticsv2.CfnApplicationPropsMixin |
Python | aws_cdk.cfn_property_mixins.aws_kinesisanalyticsv2.CfnApplicationPropsMixin |
TypeScript | @aws-cdk/cfn-property-mixins » aws_kinesisanalyticsv2 » CfnApplicationPropsMixin |
Implements
IMixin
Extends
Mixin
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 { aws_kinesisanalyticsv2 as kinesisanalyticsv2 } from '@aws-cdk/cfn-property-mixins';
import * as cdk from 'aws-cdk-lib';
declare const mergeStrategy: cdk.IMergeStrategy;
const cfnApplicationPropsMixin = new kinesisanalyticsv2.CfnApplicationPropsMixin({
applicationConfiguration: {
applicationCodeConfiguration: {
codeContent: {
s3ContentLocation: {
bucketArn: 'bucketArn',
fileKey: 'fileKey',
objectVersion: 'objectVersion',
},
textContent: 'textContent',
zipFileContent: 'zipFileContent',
},
codeContentType: 'codeContentType',
},
applicationEncryptionConfiguration: {
keyId: 'keyId',
keyType: 'keyType',
},
applicationSnapshotConfiguration: {
snapshotsEnabled: false,
},
applicationSystemRollbackConfiguration: {
rollbackEnabled: false,
},
environmentProperties: {
propertyGroups: [{
propertyGroupId: 'propertyGroupId',
propertyMap: {
propertyMapKey: 'propertyMap',
},
}],
},
flinkApplicationConfiguration: {
checkpointConfiguration: {
checkpointingEnabled: false,
checkpointInterval: 123,
configurationType: 'configurationType',
minPauseBetweenCheckpoints: 123,
},
monitoringConfiguration: {
configurationType: 'configurationType',
logLevel: 'logLevel',
metricsLevel: 'metricsLevel',
},
parallelismConfiguration: {
autoScalingEnabled: false,
configurationType: 'configurationType',
parallelism: 123,
parallelismPerKpu: 123,
},
},
sqlApplicationConfiguration: {
inputs: [{
inputParallelism: {
count: 123,
},
inputProcessingConfiguration: {
inputLambdaProcessor: {
resourceArn: 'resourceArn',
},
},
inputSchema: {
recordColumns: [{
mapping: 'mapping',
name: 'name',
sqlType: 'sqlType',
}],
recordEncoding: 'recordEncoding',
recordFormat: {
mappingParameters: {
csvMappingParameters: {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
},
jsonMappingParameters: {
recordRowPath: 'recordRowPath',
},
},
recordFormatType: 'recordFormatType',
},
},
kinesisFirehoseInput: {
resourceArn: 'resourceArn',
},
kinesisStreamsInput: {
resourceArn: 'resourceArn',
},
namePrefix: 'namePrefix',
}],
},
vpcConfigurations: [{
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
}],
zeppelinApplicationConfiguration: {
catalogConfiguration: {
glueDataCatalogConfiguration: {
databaseArn: 'databaseArn',
},
},
customArtifactsConfiguration: [{
artifactType: 'artifactType',
mavenReference: {
artifactId: 'artifactId',
groupId: 'groupId',
version: 'version',
},
s3ContentLocation: {
bucketArn: 'bucketArn',
fileKey: 'fileKey',
objectVersion: 'objectVersion',
},
}],
deployAsApplicationConfiguration: {
s3ContentLocation: {
basePath: 'basePath',
bucketArn: 'bucketArn',
},
},
monitoringConfiguration: {
logLevel: 'logLevel',
},
},
},
applicationDescription: 'applicationDescription',
applicationMaintenanceConfiguration: {
applicationMaintenanceWindowStartTime: 'applicationMaintenanceWindowStartTime',
},
applicationMode: 'applicationMode',
applicationName: 'applicationName',
runConfiguration: {
applicationRestoreConfiguration: {
applicationRestoreType: 'applicationRestoreType',
snapshotName: 'snapshotName',
},
flinkRunConfiguration: {
allowNonRestoredState: false,
},
},
runtimeEnvironment: 'runtimeEnvironment',
serviceExecutionRole: 'serviceExecutionRole',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mergeStrategy,
});
Initializer
new CfnApplicationPropsMixin(props: CfnApplicationMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Application Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::KinesisAnalyticsV2::Application.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | IMerge | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
IMerge
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): void
Parameters
- construct
IConstruct
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript