The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::StepFunctions::CreateStateMachine - Arguments for method CreateStateMachine on Paws::StepFunctions

DESCRIPTION

This class represents the parameters used for calling the method CreateStateMachine on the AWS Step Functions service. Use the attributes of this class as arguments to method CreateStateMachine.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStateMachine.

SYNOPSIS

    my $states = Paws->service('StepFunctions');
    my $CreateStateMachineOutput = $states->CreateStateMachine(
      Definition => 'MyDefinition',
      Name       => 'MyName',
      RoleArn    => 'MyArn',

    );

    # Results:
    my $CreationDate    = $CreateStateMachineOutput->CreationDate;
    my $StateMachineArn = $CreateStateMachineOutput->StateMachineArn;

    # Returns a L<Paws::StepFunctions::CreateStateMachineOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/states/CreateStateMachine

ATTRIBUTES

REQUIRED Definition => Str

The Amazon States Language definition of the state machine. See Amazon States Language (http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html).

REQUIRED Name => Str

The name of the state machine.

A name must not contain:

  • whitespace

  • brackets < > { } [ ]

  • wildcard characters ? *

  • special characters " # % \ ^ | ~ ` $ & , ; : /

  • control characters (U+0000-001F, U+007F-009F)

REQUIRED RoleArn => Str

The Amazon Resource Name (ARN) of the IAM role to use for this state machine.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateStateMachine in Paws::StepFunctions

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues