aws-cdk-lib.aws_kinesisanalyticsv2.CfnApplication.CodeContentProperty

interface CodeContentProperty

LanguageType name
.NETAmazon.CDK.AWS.KinesisAnalyticsV2.CfnApplication.CodeContentProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalyticsv2#CfnApplication_CodeContentProperty
Javasoftware.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.CodeContentProperty
Pythonaws_cdk.aws_kinesisanalyticsv2.CfnApplication.CodeContentProperty
TypeScript aws-cdk-lib » aws_kinesisanalyticsv2 » CfnApplication » 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 { aws_kinesisanalyticsv2 as kinesisanalyticsv2 } from 'aws-cdk-lib';
const codeContentProperty: kinesisanalyticsv2.CfnApplication.CodeContentProperty = {
  s3ContentLocation: {
    bucketArn: 'bucketArn',
    fileKey: 'fileKey',

    // the properties below are optional
    objectVersion: 'objectVersion',
  },
  textContent: 'textContent',
  zipFileContent: 'zipFileContent',
};

Properties

NameTypeDescription
s3ContentLocation?IResolvable | S3ContentLocationPropertyInformation about the Amazon S3 bucket that contains the application code.
textContent?stringThe text-format code for a Flink-based Kinesis Data Analytics application.
zipFileContent?stringThe zip-format code for a Flink-based Kinesis Data Analytics application.

s3ContentLocation?

Type: IResolvable | S3ContentLocationProperty (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.