Class CfnStateMachine.S3LocationProperty
Defines the S3 bucket location where a state machine definition is stored.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStateMachine.S3LocationProperty : CfnStateMachine.IS3LocationProperty
Syntax (vb)
Public Class CfnStateMachine.S3LocationProperty Implements CfnStateMachine.IS3LocationProperty
Remarks
The state machine definition must be a JSON or YAML file.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var s3LocationProperty = new S3LocationProperty {
Bucket = "bucket",
Key = "key",
// the properties below are optional
Version = "version"
};
Synopsis
Constructors
S3LocationProperty() | Defines the S3 bucket location where a state machine definition is stored. |
Properties
Bucket | The name of the S3 bucket where the state machine definition JSON or YAML file is stored. |
Key | The name of the state machine definition file (Amazon S3 object name). |
Version | For versioning-enabled buckets, a specific version of the state machine definition. |
Constructors
S3LocationProperty()
Defines the S3 bucket location where a state machine definition is stored.
public S3LocationProperty()
Remarks
The state machine definition must be a JSON or YAML file.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var s3LocationProperty = new S3LocationProperty {
Bucket = "bucket",
Key = "key",
// the properties below are optional
Version = "version"
};
Properties
Bucket
The name of the S3 bucket where the state machine definition JSON or YAML file is stored.
public string Bucket { get; set; }
Property Value
Remarks
Key
The name of the state machine definition file (Amazon S3 object name).
public string Key { get; set; }
Property Value
Remarks
Version
For versioning-enabled buckets, a specific version of the state machine definition.
public string? Version { get; set; }