Package com.pulumi.aws.sfn
Class StateMachineArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.sfn.StateMachineArgs.Builder
-
- Enclosing class:
- StateMachineArgs
public static final class StateMachineArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(StateMachineArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(StateMachineArgs defaults)
-
-
Method Detail
-
definition
public StateMachineArgs.Builder definition(com.pulumi.core.Output<java.lang.String> definition)
- Parameters:
definition- The [Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) definition of the state machine.- Returns:
- builder
-
definition
public StateMachineArgs.Builder definition(java.lang.String definition)
- Parameters:
definition- The [Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) definition of the state machine.- Returns:
- builder
-
encryptionConfiguration
public StateMachineArgs.Builder encryptionConfiguration(@Nullable com.pulumi.core.Output<StateMachineEncryptionConfigurationArgs> encryptionConfiguration)
- Parameters:
encryptionConfiguration- Defines what encryption configuration is used to encrypt data in the State Machine. For more information see [TBD] in the AWS Step Functions User Guide.- Returns:
- builder
-
encryptionConfiguration
public StateMachineArgs.Builder encryptionConfiguration(StateMachineEncryptionConfigurationArgs encryptionConfiguration)
- Parameters:
encryptionConfiguration- Defines what encryption configuration is used to encrypt data in the State Machine. For more information see [TBD] in the AWS Step Functions User Guide.- Returns:
- builder
-
loggingConfiguration
public StateMachineArgs.Builder loggingConfiguration(@Nullable com.pulumi.core.Output<StateMachineLoggingConfigurationArgs> loggingConfiguration)
- Parameters:
loggingConfiguration- Defines what execution history events are logged and where they are logged. The `loggingConfiguration` parameter is valid when `type` is set to `STANDARD` or `EXPRESS`. Defaults to `OFF`. For more information see [Logging Express Workflows](https://docs.aws.amazon.com/step-functions/latest/dg/cw-logs.html), [Log Levels](https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html) and [Logging Configuration](https://docs.aws.amazon.com/step-functions/latest/apireference/API_CreateStateMachine.html) in the AWS Step Functions User Guide.- Returns:
- builder
-
loggingConfiguration
public StateMachineArgs.Builder loggingConfiguration(StateMachineLoggingConfigurationArgs loggingConfiguration)
- Parameters:
loggingConfiguration- Defines what execution history events are logged and where they are logged. The `loggingConfiguration` parameter is valid when `type` is set to `STANDARD` or `EXPRESS`. Defaults to `OFF`. For more information see [Logging Express Workflows](https://docs.aws.amazon.com/step-functions/latest/dg/cw-logs.html), [Log Levels](https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html) and [Logging Configuration](https://docs.aws.amazon.com/step-functions/latest/apireference/API_CreateStateMachine.html) in the AWS Step Functions User Guide.- Returns:
- builder
-
name
public StateMachineArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the state machine. The name should only contain `0`-`9`, `A`-`Z`, `a`-`z`, `-` and `_`. If omitted, the provider will assign a random, unique name.- Returns:
- builder
-
name
public StateMachineArgs.Builder name(java.lang.String name)
- Parameters:
name- The name of the state machine. The name should only contain `0`-`9`, `A`-`Z`, `a`-`z`, `-` and `_`. If omitted, the provider will assign a random, unique name.- Returns:
- builder
-
namePrefix
public StateMachineArgs.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
namePrefix
public StateMachineArgs.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
publish
public StateMachineArgs.Builder publish(@Nullable com.pulumi.core.Output<java.lang.Boolean> publish)
- Parameters:
publish- Set to true to publish a version of the state machine during creation. Default: false.- Returns:
- builder
-
publish
public StateMachineArgs.Builder publish(java.lang.Boolean publish)
- Parameters:
publish- Set to true to publish a version of the state machine during creation. Default: false.- Returns:
- builder
-
region
public StateMachineArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public StateMachineArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
roleArn
public StateMachineArgs.Builder roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn- ARN of the IAM role to use for this state machine.- Returns:
- builder
-
roleArn
public StateMachineArgs.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn- ARN of the IAM role to use for this state machine.- Returns:
- builder
-
tags
public StateMachineArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public StateMachineArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tracingConfiguration
public StateMachineArgs.Builder tracingConfiguration(@Nullable com.pulumi.core.Output<StateMachineTracingConfigurationArgs> tracingConfiguration)
- Parameters:
tracingConfiguration- Selects whether AWS X-Ray tracing is enabled.- Returns:
- builder
-
tracingConfiguration
public StateMachineArgs.Builder tracingConfiguration(StateMachineTracingConfigurationArgs tracingConfiguration)
- Parameters:
tracingConfiguration- Selects whether AWS X-Ray tracing is enabled.- Returns:
- builder
-
type
public StateMachineArgs.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- 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. Valid values: `STANDARD`, `EXPRESS`.- Returns:
- builder
-
type
public StateMachineArgs.Builder type(java.lang.String type)
- Parameters:
type- 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. Valid values: `STANDARD`, `EXPRESS`.- Returns:
- builder
-
build
public StateMachineArgs build()
-
-