aws-native logo
AWS Native v0.64.0, Jun 2 23

aws-native.stepfunctions.getStateMachine

Explore with Pulumi AI

Resource schema for StateMachine

Using getStateMachine

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getStateMachine(args: GetStateMachineArgs, opts?: InvokeOptions): Promise<GetStateMachineResult>
function getStateMachineOutput(args: GetStateMachineOutputArgs, opts?: InvokeOptions): Output<GetStateMachineResult>
def get_state_machine(arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetStateMachineResult
def get_state_machine_output(arn: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetStateMachineResult]
func LookupStateMachine(ctx *Context, args *LookupStateMachineArgs, opts ...InvokeOption) (*LookupStateMachineResult, error)
func LookupStateMachineOutput(ctx *Context, args *LookupStateMachineOutputArgs, opts ...InvokeOption) LookupStateMachineResultOutput

> Note: This function is named LookupStateMachine in the Go SDK.

public static class GetStateMachine 
{
    public static Task<GetStateMachineResult> InvokeAsync(GetStateMachineArgs args, InvokeOptions? opts = null)
    public static Output<GetStateMachineResult> Invoke(GetStateMachineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStateMachineResult> getStateMachine(GetStateMachineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:stepfunctions:getStateMachine
  arguments:
    # arguments dictionary

The following arguments are supported:

Arn string
Arn string
arn String
arn string
arn str
arn String

getStateMachine Result

The following output properties are available:

Supporting Types

StateMachineCloudWatchLogsLogGroup

StateMachineLogDestination

StateMachineLoggingConfiguration

StateMachineLoggingConfigurationLevel

StateMachineTagsEntry

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

StateMachineTracingConfiguration

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0