interface CodeContentProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisAnalytics.CfnApplicationV2.CodeContentProperty |
Java | software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.CodeContentProperty |
Python | aws_cdk.aws_kinesisanalytics.CfnApplicationV2.CodeContentProperty |
TypeScript | @aws-cdk/aws-kinesisanalytics » CfnApplicationV2 » CodeContentProperty |
Specifies either the application code, or the location of the application code, for a Flink-based 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 codeContentProperty: kinesisanalytics.CfnApplicationV2.CodeContentProperty = {
s3ContentLocation: {
bucketArn: 'bucketArn',
fileKey: 'fileKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
textContent: 'textContent',
zipFileContent: 'zipFileContent',
};
Properties
Name | Type | Description |
---|---|---|
s3 | IResolvable | S3 | Information about the Amazon S3 bucket that contains the application code. |
text | string | The text-format code for a Flink-based Kinesis Data Analytics application. |
zip | string | The zip-format code for a Flink-based Kinesis Data Analytics application. |
s3ContentLocation?
Type:
IResolvable
|
S3
(optional)
Information about the Amazon S3 bucket that contains the application code.
textContent?
Type:
string
(optional)
The text-format code for a Flink-based Kinesis Data Analytics application.
zipFileContent?
Type:
string
(optional)
The zip-format code for a Flink-based Kinesis Data Analytics application.