Class CfnStateMachine.S3LocationProperty
Defines the S3 bucket location where a state machine definition is stored.
Inheritance
System.Object
CfnStateMachine.S3LocationProperty
Implements
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3LocationProperty : Object, CfnStateMachine.IS3LocationProperty
Syntax (vb)
Public Class S3LocationProperty
Inherits Object
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() |
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()
public S3LocationProperty()
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
System.String
Remarks
Key
The name of the state machine definition file (Amazon S3 object name).
public string Key { get; set; }
Property Value
System.String
Remarks
Version
For versioning-enabled buckets, a specific version of the state machine definition.
public string Version { get; set; }
Property Value
System.String