1. Packages
  2. AWS Native
  3. API Docs
  4. stepfunctions
  5. StateMachineAlias

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.104.0 published on Tuesday, Apr 30, 2024 by Pulumi

aws-native.stepfunctions.StateMachineAlias

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.104.0 published on Tuesday, Apr 30, 2024 by Pulumi

    Resource schema for StateMachineAlias

    Create StateMachineAlias Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StateMachineAlias(name: string, args?: StateMachineAliasArgs, opts?: CustomResourceOptions);
    @overload
    def StateMachineAlias(resource_name: str,
                          args: Optional[StateMachineAliasArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def StateMachineAlias(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          deployment_preference: Optional[StateMachineAliasDeploymentPreferenceArgs] = None,
                          description: Optional[str] = None,
                          name: Optional[str] = None,
                          routing_configuration: Optional[Sequence[StateMachineAliasRoutingConfigurationVersionArgs]] = None)
    func NewStateMachineAlias(ctx *Context, name string, args *StateMachineAliasArgs, opts ...ResourceOption) (*StateMachineAlias, error)
    public StateMachineAlias(string name, StateMachineAliasArgs? args = null, CustomResourceOptions? opts = null)
    public StateMachineAlias(String name, StateMachineAliasArgs args)
    public StateMachineAlias(String name, StateMachineAliasArgs args, CustomResourceOptions options)
    
    type: aws-native:stepfunctions:StateMachineAlias
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StateMachineAliasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StateMachineAliasArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StateMachineAliasArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StateMachineAliasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StateMachineAliasArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const stateMachineAliasResource = new aws_native.stepfunctions.StateMachineAlias("stateMachineAliasResource", {
        deploymentPreference: {
            stateMachineVersionArn: "string",
            type: aws_native.stepfunctions.StateMachineAliasDeploymentPreferenceType.Linear,
            alarms: ["string"],
            interval: 0,
            percentage: 0,
        },
        description: "string",
        name: "string",
        routingConfiguration: [{
            stateMachineVersionArn: "string",
            weight: 0,
        }],
    });
    
    Coming soon!
    

    StateMachineAlias Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The StateMachineAlias resource accepts the following input properties:

    deploymentPreference Property Map
    description String
    An optional description of the alias.
    name String
    The alias name.
    routingConfiguration List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StateMachineAlias resource produces the following output properties:

    Arn string
    The ARN of the alias.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the alias.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the alias.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the alias.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the alias.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the alias.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    StateMachineAliasDeploymentPreference, StateMachineAliasDeploymentPreferenceArgs

    StateMachineVersionArn string
    Type Pulumi.AwsNative.StepFunctions.StateMachineAliasDeploymentPreferenceType
    The type of deployment to perform.
    Alarms List<string>
    A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state.
    Interval int
    The time in minutes between each traffic shifting increment.
    Percentage int
    The percentage of traffic to shift to the new version in each increment.
    StateMachineVersionArn string
    Type StateMachineAliasDeploymentPreferenceType
    The type of deployment to perform.
    Alarms []string
    A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state.
    Interval int
    The time in minutes between each traffic shifting increment.
    Percentage int
    The percentage of traffic to shift to the new version in each increment.
    stateMachineVersionArn String
    type StateMachineAliasDeploymentPreferenceType
    The type of deployment to perform.
    alarms List<String>
    A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state.
    interval Integer
    The time in minutes between each traffic shifting increment.
    percentage Integer
    The percentage of traffic to shift to the new version in each increment.
    stateMachineVersionArn string
    type StateMachineAliasDeploymentPreferenceType
    The type of deployment to perform.
    alarms string[]
    A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state.
    interval number
    The time in minutes between each traffic shifting increment.
    percentage number
    The percentage of traffic to shift to the new version in each increment.
    state_machine_version_arn str
    type StateMachineAliasDeploymentPreferenceType
    The type of deployment to perform.
    alarms Sequence[str]
    A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state.
    interval int
    The time in minutes between each traffic shifting increment.
    percentage int
    The percentage of traffic to shift to the new version in each increment.
    stateMachineVersionArn String
    type "LINEAR" | "ALL_AT_ONCE" | "CANARY"
    The type of deployment to perform.
    alarms List<String>
    A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state.
    interval Number
    The time in minutes between each traffic shifting increment.
    percentage Number
    The percentage of traffic to shift to the new version in each increment.

    StateMachineAliasDeploymentPreferenceType, StateMachineAliasDeploymentPreferenceTypeArgs

    Linear
    LINEAR
    AllAtOnce
    ALL_AT_ONCE
    Canary
    CANARY
    StateMachineAliasDeploymentPreferenceTypeLinear
    LINEAR
    StateMachineAliasDeploymentPreferenceTypeAllAtOnce
    ALL_AT_ONCE
    StateMachineAliasDeploymentPreferenceTypeCanary
    CANARY
    Linear
    LINEAR
    AllAtOnce
    ALL_AT_ONCE
    Canary
    CANARY
    Linear
    LINEAR
    AllAtOnce
    ALL_AT_ONCE
    Canary
    CANARY
    LINEAR
    LINEAR
    ALL_AT_ONCE
    ALL_AT_ONCE
    CANARY
    CANARY
    "LINEAR"
    LINEAR
    "ALL_AT_ONCE"
    ALL_AT_ONCE
    "CANARY"
    CANARY

    StateMachineAliasRoutingConfigurationVersion, StateMachineAliasRoutingConfigurationVersionArgs

    StateMachineVersionArn string
    The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
    Weight int
    The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
    StateMachineVersionArn string
    The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
    Weight int
    The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
    stateMachineVersionArn String
    The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
    weight Integer
    The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
    stateMachineVersionArn string
    The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
    weight number
    The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
    state_machine_version_arn str
    The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
    weight int
    The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
    stateMachineVersionArn String
    The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
    weight Number
    The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.104.0 published on Tuesday, Apr 30, 2024 by Pulumi