interface CfnApplicationV2Props
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.KinesisAnalytics.CfnApplicationV2Props |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalytics#CfnApplicationV2Props |
![]() | software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2Props |
![]() | aws_cdk.aws_kinesisanalytics.CfnApplicationV2Props |
![]() | aws-cdk-lib » aws_kinesisanalytics » CfnApplicationV2Props |
Properties for defining a CfnApplication
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const cfnApplicationV2Props: kinesisanalytics.CfnApplicationV2Props = {
runtimeEnvironment: 'runtimeEnvironment',
serviceExecutionRole: 'serviceExecutionRole',
// the properties below are optional
applicationConfiguration: {
applicationCodeConfiguration: {
codeContent: {
s3ContentLocation: {
bucketArn: 'bucketArn',
fileKey: 'fileKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
textContent: 'textContent',
zipFileContent: 'zipFileContent',
},
codeContentType: 'codeContentType',
},
applicationSnapshotConfiguration: {
snapshotsEnabled: false,
},
applicationSystemRollbackConfiguration: {
rollbackEnabled: 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',
},
},
},
applicationDescription: 'applicationDescription',
applicationMaintenanceConfiguration: {
applicationMaintenanceWindowStartTime: 'applicationMaintenanceWindowStartTime',
},
applicationMode: 'applicationMode',
applicationName: 'applicationName',
runConfiguration: {
applicationRestoreConfiguration: {
applicationRestoreType: 'applicationRestoreType',
// the properties below are optional
snapshotName: 'snapshotName',
},
flinkRunConfiguration: {
allowNonRestoredState: false,
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
runtime | string | The runtime environment for the application. |
service | string | Specifies the IAM role that the application uses to access external resources. |
application | IResolvable | Application | Use this parameter to configure the application. |
application | string | The description of the application. |
application | IResolvable | Application | Describes the maintenance configuration for the application. |
application | string | To create a Kinesis Data Analytics Studio notebook, you must set the mode to INTERACTIVE . |
application | string | The name of the application. |
run | IResolvable | Run | Describes the starting parameters for an Managed Service for Apache Flink application. |
tags? | Cfn [] | A list of one or more tags to assign to the application. |
runtimeEnvironment
Type:
string
The runtime environment for the application.
serviceExecutionRole
Type:
string
Specifies the IAM role that the application uses to access external resources.
applicationConfiguration?
Type:
IResolvable
|
Application
(optional)
Use this parameter to configure the application.
applicationDescription?
Type:
string
(optional, default: "")
The description of the application.
applicationMaintenanceConfiguration?
Type:
IResolvable
|
Application
(optional)
Describes the maintenance configuration for the application.
applicationMode?
Type:
string
(optional)
To create a Kinesis Data Analytics Studio notebook, you must set the mode to INTERACTIVE
.
However, for a Kinesis Data Analytics for Apache Flink application, the mode is optional.
applicationName?
Type:
string
(optional)
The name of the application.
runConfiguration?
Type:
IResolvable
|
Run
(optional)
Describes the starting parameters for an Managed Service for Apache Flink application.
tags?
Type:
Cfn
[]
(optional)
A list of one or more tags to assign to the application.
A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.