We recommend new projects start with resources from the AWS provider.
aws-native.stepfunctions.StateMachineVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for StateMachineVersion
Create StateMachineVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StateMachineVersion(name: string, args: StateMachineVersionArgs, opts?: CustomResourceOptions);
@overload
def StateMachineVersion(resource_name: str,
args: StateMachineVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StateMachineVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
state_machine_arn: Optional[str] = None,
description: Optional[str] = None,
state_machine_revision_id: Optional[str] = None)
func NewStateMachineVersion(ctx *Context, name string, args StateMachineVersionArgs, opts ...ResourceOption) (*StateMachineVersion, error)
public StateMachineVersion(string name, StateMachineVersionArgs args, CustomResourceOptions? opts = null)
public StateMachineVersion(String name, StateMachineVersionArgs args)
public StateMachineVersion(String name, StateMachineVersionArgs args, CustomResourceOptions options)
type: aws-native:stepfunctions:StateMachineVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StateMachineVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StateMachineVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StateMachineVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StateMachineVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StateMachineVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
StateMachineVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StateMachineVersion resource accepts the following input properties:
- State
Machine stringArn - The Amazon Resource Name (ARN) of the state machine.
- Description string
- An optional description of the state machine version.
- State
Machine stringRevision Id Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.
Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.
To specify the initial state machine revision, set the value as
INITIAL
.
- State
Machine stringArn - The Amazon Resource Name (ARN) of the state machine.
- Description string
- An optional description of the state machine version.
- State
Machine stringRevision Id Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.
Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.
To specify the initial state machine revision, set the value as
INITIAL
.
- state
Machine StringArn - The Amazon Resource Name (ARN) of the state machine.
- description String
- An optional description of the state machine version.
- state
Machine StringRevision Id Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.
Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.
To specify the initial state machine revision, set the value as
INITIAL
.
- state
Machine stringArn - The Amazon Resource Name (ARN) of the state machine.
- description string
- An optional description of the state machine version.
- state
Machine stringRevision Id Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.
Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.
To specify the initial state machine revision, set the value as
INITIAL
.
- state_
machine_ strarn - The Amazon Resource Name (ARN) of the state machine.
- description str
- An optional description of the state machine version.
- state_
machine_ strrevision_ id Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.
Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.
To specify the initial state machine revision, set the value as
INITIAL
.
- state
Machine StringArn - The Amazon Resource Name (ARN) of the state machine.
- description String
- An optional description of the state machine version.
- state
Machine StringRevision Id Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.
Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.
To specify the initial state machine revision, set the value as
INITIAL
.
Outputs
All input properties are implicitly available as output properties. Additionally, the StateMachineVersion resource produces the following output properties:
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.