Struct aws_sdk_sfn::input::CreateStateMachineInput [−][src]
#[non_exhaustive]pub struct CreateStateMachineInput {
pub name: Option<String>,
pub definition: Option<String>,
pub role_arn: Option<String>,
pub type: Option<StateMachineType>,
pub logging_configuration: Option<LoggingConfiguration>,
pub tags: Option<Vec<Tag>>,
pub tracing_configuration: Option<TracingConfiguration>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the state machine.
A name must not contain:
-
white space
-
brackets
< > { } [ ]
-
wildcard characters
? *
-
special characters
" # % \ ^ | ~ ` $ & , ; : /
-
control characters (
U+0000-001F
,U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
definition: Option<String>
The Amazon States Language definition of the state machine. See Amazon States Language.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
type: Option<StateMachineType>
Determines 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.
logging_configuration: Option<LoggingConfiguration>
Defines 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 in the AWS Step Functions User Guide.
Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
tracing_configuration: Option<TracingConfiguration>
Selects whether AWS X-Ray tracing is enabled.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStateMachine, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStateMachine, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateStateMachine
>
Creates a new builder-style object to manufacture CreateStateMachineInput
The name of the state machine.
A name must not contain:
-
white space
-
brackets
< > { } [ ]
-
wildcard characters
? *
-
special characters
" # % \ ^ | ~ ` $ & , ; : /
-
control characters (
U+0000-001F
,U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
The Amazon States Language definition of the state machine. See Amazon States Language.
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
Determines 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.
Defines 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 in the AWS Step Functions User Guide.
Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
Selects whether AWS X-Ray tracing is enabled.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateStateMachineInput
impl Send for CreateStateMachineInput
impl Sync for CreateStateMachineInput
impl Unpin for CreateStateMachineInput
impl UnwindSafe for CreateStateMachineInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more