We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
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.
resource "aws-native_stepfunctions_state_machine_version" "name" {
# resource properties
}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 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:
Look up Existing StateMachineVersion Resource
Get an existing StateMachineVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): StateMachineVersion@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> StateMachineVersionfunc GetStateMachineVersion(ctx *Context, name string, id IDInput, state *StateMachineVersionState, opts ...ResourceOption) (*StateMachineVersion, error)public static StateMachineVersion Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static StateMachineVersion get(String name, Output<String> id, CustomResourceOptions options)resources: existingStateMachineVersion: type: aws-native:stepfunctions:StateMachineVersion get: id: ${id}import {
to = aws-native_stepfunctions_state_machine_version.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state StateMachineVersionState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi