![]() |
![]()
| ![]() |
![]()
NAMEPaws::StepFunctions::CreateStateMachine - Arguments for method CreateStateMachine on Paws::StepFunctions DESCRIPTIONThis 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. SYNOPSISmy $states = Paws->service('StepFunctions'); my $CreateStateMachineOutput = $states->CreateStateMachine( Definition => 'MyDefinition', Name => 'MyName', RoleArn => 'MyArn', LoggingConfiguration => { Destinations => [ { CloudWatchLogsLogGroup => { LogGroupArn => 'MyArn', # min: 1, max: 256 }, # OPTIONAL }, ... ], # OPTIONAL IncludeExecutionData => 1, # OPTIONAL Level => 'ALL', # values: ALL, ERROR, FATAL, OFF; OPTIONAL }, # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 128; OPTIONAL Value => 'MyTagValue', # max: 256; OPTIONAL }, ... ], # OPTIONAL TracingConfiguration => { Enabled => 1, # OPTIONAL }, # OPTIONAL Type => 'STANDARD', # OPTIONAL ); # 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> ATTRIBUTESREQUIRED Definition => StrThe Amazon States Language definition of the state machine. See Amazon States Language (https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html). LoggingConfiguration => Paws::StepFunctions::LoggingConfigurationDefines what execution history events are logged and where they are logged. By default, the "level" is set to "OFF". For more information see Log Levels (https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html) in the AWS Step Functions User Guide. REQUIRED Name => StrThe name of the state machine. A name must not contain:
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _. REQUIRED RoleArn => StrThe Amazon Resource Name (ARN) of the IAM role to use for this state machine. Tags => ArrayRef[Paws::StepFunctions::Tag]Tags to be added when creating a state machine. An array of key-value pairs. For more information, see Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html). Tags may only contain Unicode letters, digits, white space, or these symbols: "_ . : / = + - @". TracingConfiguration => Paws::StepFunctions::TracingConfigurationSelects whether AWS X-Ray tracing is enabled. Type => StrDetermines whether a Standard or Express state machine is created. The default is "STANDARD". You cannot update the "type" of a state machine once it has been created. Valid values are: "STANDARD", "EXPRESS" SEE ALSOThis class forms part of Paws, documenting arguments for method CreateStateMachine in Paws::StepFunctions BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|