Interface CfnWorkflow.CodeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkflow.CodeProperty.Jsii$Proxy
- Enclosing class:
CfnWorkflow
@Stability(Stable)
public static interface CfnWorkflow.CodeProperty
extends software.amazon.jsii.JsiiSerializable
The location of code artifacts in Amazon S3 for the workflow.
Modeled as a single-member container so it stays extensible to future artifact types (e.g. OCI images).
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.mwaaserverless.*;
CodeProperty codeProperty = CodeProperty.builder()
.s3Location(CodeS3LocationProperty.builder()
.bucket("bucket")
.objectKey("objectKey")
// the properties below are optional
.versionId("versionId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkflow.CodePropertystatic final classAn implementation forCfnWorkflow.CodeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnWorkflow.CodeS3LocationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3Location
Returns union: eitherIResolvableorCfnWorkflow.CodeS3LocationProperty- See Also:
-
builder
- Returns:
- a
CfnWorkflow.CodeProperty.BuilderofCfnWorkflow.CodeProperty
-