@Stability(value=Stable)
public static interface CfnStateMachine.S3LocationProperty
extends software.amazon.jsii.JsiiSerializable
The state machine definition must be a JSON or YAML file.
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.stepfunctions.*;
S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
.bucket("bucket")
.key("key")
// the properties below are optional
.version("version")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStateMachine.S3LocationProperty.Builder
A builder for
CfnStateMachine.S3LocationProperty |
static class |
CfnStateMachine.S3LocationProperty.Jsii$Proxy
An implementation for
CfnStateMachine.S3LocationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnStateMachine.S3LocationProperty.Builder |
builder() |
String |
getBucket()
The name of the S3 bucket where the state machine definition JSON or YAML file is stored.
|
String |
getKey()
The name of the state machine definition file (Amazon S3 object name).
|
default String |
getVersion()
For versioning-enabled buckets, a specific version of the state machine definition.
|
@Stability(value=Stable) @NotNull String getBucket()
@Stability(value=Stable) @NotNull String getKey()
@Stability(value=Stable) @Nullable default String getVersion()
@Stability(value=Stable) static CfnStateMachine.S3LocationProperty.Builder builder()
Copyright © 2022. All rights reserved.