Interface CfnApplicationV2.CodeContentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationV2.CodeContentProperty.Jsii$Proxy
- Enclosing class:
CfnApplicationV2
@Stability(Stable)
public static interface CfnApplicationV2.CodeContentProperty
extends software.amazon.jsii.JsiiSerializable
Specifies either the application code, or the location of the application code, for a Managed Service for Apache Flink application.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisanalytics.*;
CodeContentProperty codeContentProperty = CodeContentProperty.builder()
.s3ContentLocation(S3ContentLocationProperty.builder()
.bucketArn("bucketArn")
.fileKey("fileKey")
// the properties below are optional
.objectVersion("objectVersion")
.build())
.textContent("textContent")
.zipFileContent("zipFileContent")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationV2.CodeContentPropertystatic final classAn implementation forCfnApplicationV2.CodeContentProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectInformation about the Amazon S3 bucket that contains the application code.default StringThe text-format code for a Managed Service for Apache Flink application.default StringThe zip-format code for a Managed Service for Apache Flink application.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3ContentLocation
Information about the Amazon S3 bucket that contains the application code.Returns union: either
IResolvableorCfnApplicationV2.S3ContentLocationProperty- See Also:
-
getTextContent
The text-format code for a Managed Service for Apache Flink application.- See Also:
-
getZipFileContent
The zip-format code for a Managed Service for Apache Flink application.- See Also:
-
builder
-