interface ApplicationConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisAnalytics.CfnApplicationV2.ApplicationConfigurationProperty |
Java | software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.ApplicationConfigurationProperty |
Python | aws_cdk.aws_kinesisanalytics.CfnApplicationV2.ApplicationConfigurationProperty |
TypeScript | @aws-cdk/aws-kinesisanalytics » CfnApplicationV2 » ApplicationConfigurationProperty |
Specifies the creation parameters for a Kinesis Data Analytics application.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kinesisanalytics from '@aws-cdk/aws-kinesisanalytics';
const applicationConfigurationProperty: kinesisanalytics.CfnApplicationV2.ApplicationConfigurationProperty = {
applicationCodeConfiguration: {
codeContent: {
s3ContentLocation: {
bucketArn: 'bucketArn',
fileKey: 'fileKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
textContent: 'textContent',
zipFileContent: 'zipFileContent',
},
codeContentType: 'codeContentType',
},
applicationSnapshotConfiguration: {
snapshotsEnabled: false,
},
environmentProperties: {
propertyGroups: [{
propertyGroupId: 'propertyGroupId',
propertyMap: {
propertyMapKey: 'propertyMap',
},
}],
},
flinkApplicationConfiguration: {
checkpointConfiguration: {
configurationType: 'configurationType',
// the properties below are optional
checkpointingEnabled: false,
checkpointInterval: 123,
minPauseBetweenCheckpoints: 123,
},
monitoringConfiguration: {
configurationType: 'configurationType',
// the properties below are optional
logLevel: 'logLevel',
metricsLevel: 'metricsLevel',
},
parallelismConfiguration: {
configurationType: 'configurationType',
// the properties below are optional
autoScalingEnabled: false,
parallelism: 123,
parallelismPerKpu: 123,
},
},
sqlApplicationConfiguration: {
inputs: [{
inputSchema: {
recordColumns: [{
name: 'name',
sqlType: 'sqlType',
// the properties below are optional
mapping: 'mapping',
}],
recordFormat: {
recordFormatType: 'recordFormatType',
// the properties below are optional
mappingParameters: {
csvMappingParameters: {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
},
jsonMappingParameters: {
recordRowPath: 'recordRowPath',
},
},
},
// the properties below are optional
recordEncoding: 'recordEncoding',
},
namePrefix: 'namePrefix',
// the properties below are optional
inputParallelism: {
count: 123,
},
inputProcessingConfiguration: {
inputLambdaProcessor: {
resourceArn: 'resourceArn',
},
},
kinesisFirehoseInput: {
resourceArn: 'resourceArn',
},
kinesisStreamsInput: {
resourceArn: 'resourceArn',
},
}],
},
vpcConfigurations: [{
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
}],
zeppelinApplicationConfiguration: {
catalogConfiguration: {
glueDataCatalogConfiguration: {
databaseArn: 'databaseArn',
},
},
customArtifactsConfiguration: [{
artifactType: 'artifactType',
// the properties below are optional
mavenReference: {
artifactId: 'artifactId',
groupId: 'groupId',
version: 'version',
},
s3ContentLocation: {
bucketArn: 'bucketArn',
fileKey: 'fileKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
}],
deployAsApplicationConfiguration: {
s3ContentLocation: {
bucketArn: 'bucketArn',
// the properties below are optional
basePath: 'basePath',
},
},
monitoringConfiguration: {
logLevel: 'logLevel',
},
},
};
Properties
Name | Type | Description |
---|---|---|
application | IResolvable | Application | The code location and type parameters for a Flink-based Kinesis Data Analytics application. |
application | IResolvable | Application | Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application. |
environment | IResolvable | Environment | Describes execution properties for a Flink-based Kinesis Data Analytics application. |
flink | IResolvable | Flink | The creation and update parameters for a Flink-based Kinesis Data Analytics application. |
sql | IResolvable | Sql | The creation and update parameters for a SQL-based Kinesis Data Analytics application. |
vpc | IResolvable | IResolvable | Vpc [] | The array of descriptions of VPC configurations available to the application. |
zeppelin | IResolvable | Zeppelin | The configuration parameters for a Kinesis Data Analytics Studio notebook. |
applicationCodeConfiguration?
Type:
IResolvable
|
Application
(optional)
The code location and type parameters for a Flink-based Kinesis Data Analytics application.
applicationSnapshotConfiguration?
Type:
IResolvable
|
Application
(optional)
Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application.
environmentProperties?
Type:
IResolvable
|
Environment
(optional)
Describes execution properties for a Flink-based Kinesis Data Analytics application.
flinkApplicationConfiguration?
Type:
IResolvable
|
Flink
(optional)
The creation and update parameters for a Flink-based Kinesis Data Analytics application.
sqlApplicationConfiguration?
Type:
IResolvable
|
Sql
(optional)
The creation and update parameters for a SQL-based Kinesis Data Analytics application.
vpcConfigurations?
Type:
IResolvable
|
IResolvable
|
Vpc
[]
(optional)
The array of descriptions of VPC configurations available to the application.
zeppelinApplicationConfiguration?
Type:
IResolvable
|
Zeppelin
(optional)
The configuration parameters for a Kinesis Data Analytics Studio notebook.