sfn

package
v6.66.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	pulumi.CustomResourceState

	// The date the activity was created.
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// Defines what encryption configuration is used to encrypt data in the Activity. For more information see the section [Data at rest encyption](https://docs.aws.amazon.com/step-functions/latest/dg/encryption-at-rest.html) in the AWS Step Functions User Guide.
	EncryptionConfiguration ActivityEncryptionConfigurationOutput `pulumi:"encryptionConfiguration"`
	// The name of the activity to create.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a Step Function Activity resource

## Example Usage

### Basic

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sfn.NewActivity(ctx, "sfn_activity", &sfn.ActivityArgs{
			Name: pulumi.String("my-activity"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Encryption

> *NOTE:* See the section [Data at rest encyption](https://docs.aws.amazon.com/step-functions/latest/dg/encryption-at-rest.html) in the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html) for more information about enabling encryption of data using a customer-managed key for Step Functions State Machines data.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sfn.NewActivity(ctx, "sfn_activity", &sfn.ActivityArgs{
			Name: pulumi.String("my-activity"),
			EncryptionConfiguration: &sfn.ActivityEncryptionConfigurationArgs{
				KmsKeyId:                     pulumi.Any(kmsKeyForSfn.Arn),
				Type:                         pulumi.String("CUSTOMER_MANAGED_KMS_KEY"),
				KmsDataKeyReusePeriodSeconds: pulumi.Int(900),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import activities using the `arn`. For example:

```sh $ pulumi import aws:sfn/activity:Activity foo arn:aws:states:eu-west-1:123456789098:activity:bar ```

func GetActivity

func GetActivity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActivityState, opts ...pulumi.ResourceOption) (*Activity, error)

GetActivity gets an existing Activity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewActivity

func NewActivity(ctx *pulumi.Context,
	name string, args *ActivityArgs, opts ...pulumi.ResourceOption) (*Activity, error)

NewActivity registers a new resource with the given unique name, arguments, and options.

func (*Activity) ElementType

func (*Activity) ElementType() reflect.Type

func (*Activity) ToActivityOutput

func (i *Activity) ToActivityOutput() ActivityOutput

func (*Activity) ToActivityOutputWithContext

func (i *Activity) ToActivityOutputWithContext(ctx context.Context) ActivityOutput

type ActivityArgs

type ActivityArgs struct {
	// Defines what encryption configuration is used to encrypt data in the Activity. For more information see the section [Data at rest encyption](https://docs.aws.amazon.com/step-functions/latest/dg/encryption-at-rest.html) in the AWS Step Functions User Guide.
	EncryptionConfiguration ActivityEncryptionConfigurationPtrInput
	// The name of the activity to create.
	Name pulumi.StringPtrInput
	// 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.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Activity resource.

func (ActivityArgs) ElementType

func (ActivityArgs) ElementType() reflect.Type

type ActivityArray

type ActivityArray []ActivityInput

func (ActivityArray) ElementType

func (ActivityArray) ElementType() reflect.Type

func (ActivityArray) ToActivityArrayOutput

func (i ActivityArray) ToActivityArrayOutput() ActivityArrayOutput

func (ActivityArray) ToActivityArrayOutputWithContext

func (i ActivityArray) ToActivityArrayOutputWithContext(ctx context.Context) ActivityArrayOutput

type ActivityArrayInput

type ActivityArrayInput interface {
	pulumi.Input

	ToActivityArrayOutput() ActivityArrayOutput
	ToActivityArrayOutputWithContext(context.Context) ActivityArrayOutput
}

ActivityArrayInput is an input type that accepts ActivityArray and ActivityArrayOutput values. You can construct a concrete instance of `ActivityArrayInput` via:

ActivityArray{ ActivityArgs{...} }

type ActivityArrayOutput

type ActivityArrayOutput struct{ *pulumi.OutputState }

func (ActivityArrayOutput) ElementType

func (ActivityArrayOutput) ElementType() reflect.Type

func (ActivityArrayOutput) Index

func (ActivityArrayOutput) ToActivityArrayOutput

func (o ActivityArrayOutput) ToActivityArrayOutput() ActivityArrayOutput

func (ActivityArrayOutput) ToActivityArrayOutputWithContext

func (o ActivityArrayOutput) ToActivityArrayOutputWithContext(ctx context.Context) ActivityArrayOutput

type ActivityEncryptionConfiguration added in v6.48.0

type ActivityEncryptionConfiguration struct {
	// Maximum duration for which Activities will reuse data keys. When the period expires, Activities will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply to AWS owned KMS key.
	KmsDataKeyReusePeriodSeconds *int `pulumi:"kmsDataKeyReusePeriodSeconds"`
	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The encryption option specified for the activity. Valid values: `AWS_KMS_KEY`, `CUSTOMER_MANAGED_KMS_KEY`
	Type *string `pulumi:"type"`
}

type ActivityEncryptionConfigurationArgs added in v6.48.0

type ActivityEncryptionConfigurationArgs struct {
	// Maximum duration for which Activities will reuse data keys. When the period expires, Activities will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply to AWS owned KMS key.
	KmsDataKeyReusePeriodSeconds pulumi.IntPtrInput `pulumi:"kmsDataKeyReusePeriodSeconds"`
	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The encryption option specified for the activity. Valid values: `AWS_KMS_KEY`, `CUSTOMER_MANAGED_KMS_KEY`
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ActivityEncryptionConfigurationArgs) ElementType added in v6.48.0

func (ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationOutput added in v6.48.0

func (i ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationOutput() ActivityEncryptionConfigurationOutput

func (ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationOutputWithContext added in v6.48.0

func (i ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationOutputWithContext(ctx context.Context) ActivityEncryptionConfigurationOutput

func (ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationPtrOutput added in v6.48.0

func (i ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationPtrOutput() ActivityEncryptionConfigurationPtrOutput

func (ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationPtrOutputWithContext added in v6.48.0

func (i ActivityEncryptionConfigurationArgs) ToActivityEncryptionConfigurationPtrOutputWithContext(ctx context.Context) ActivityEncryptionConfigurationPtrOutput

type ActivityEncryptionConfigurationInput added in v6.48.0

type ActivityEncryptionConfigurationInput interface {
	pulumi.Input

	ToActivityEncryptionConfigurationOutput() ActivityEncryptionConfigurationOutput
	ToActivityEncryptionConfigurationOutputWithContext(context.Context) ActivityEncryptionConfigurationOutput
}

ActivityEncryptionConfigurationInput is an input type that accepts ActivityEncryptionConfigurationArgs and ActivityEncryptionConfigurationOutput values. You can construct a concrete instance of `ActivityEncryptionConfigurationInput` via:

ActivityEncryptionConfigurationArgs{...}

type ActivityEncryptionConfigurationOutput added in v6.48.0

type ActivityEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (ActivityEncryptionConfigurationOutput) ElementType added in v6.48.0

func (ActivityEncryptionConfigurationOutput) KmsDataKeyReusePeriodSeconds added in v6.48.0

func (o ActivityEncryptionConfigurationOutput) KmsDataKeyReusePeriodSeconds() pulumi.IntPtrOutput

Maximum duration for which Activities will reuse data keys. When the period expires, Activities will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply to AWS owned KMS key.

func (ActivityEncryptionConfigurationOutput) KmsKeyId added in v6.48.0

The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.

func (ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationOutput added in v6.48.0

func (o ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationOutput() ActivityEncryptionConfigurationOutput

func (ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationOutputWithContext added in v6.48.0

func (o ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationOutputWithContext(ctx context.Context) ActivityEncryptionConfigurationOutput

func (ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationPtrOutput added in v6.48.0

func (o ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationPtrOutput() ActivityEncryptionConfigurationPtrOutput

func (ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationPtrOutputWithContext added in v6.48.0

func (o ActivityEncryptionConfigurationOutput) ToActivityEncryptionConfigurationPtrOutputWithContext(ctx context.Context) ActivityEncryptionConfigurationPtrOutput

func (ActivityEncryptionConfigurationOutput) Type added in v6.48.0

The encryption option specified for the activity. Valid values: `AWS_KMS_KEY`, `CUSTOMER_MANAGED_KMS_KEY`

type ActivityEncryptionConfigurationPtrInput added in v6.48.0

type ActivityEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToActivityEncryptionConfigurationPtrOutput() ActivityEncryptionConfigurationPtrOutput
	ToActivityEncryptionConfigurationPtrOutputWithContext(context.Context) ActivityEncryptionConfigurationPtrOutput
}

ActivityEncryptionConfigurationPtrInput is an input type that accepts ActivityEncryptionConfigurationArgs, ActivityEncryptionConfigurationPtr and ActivityEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `ActivityEncryptionConfigurationPtrInput` via:

        ActivityEncryptionConfigurationArgs{...}

or:

        nil

type ActivityEncryptionConfigurationPtrOutput added in v6.48.0

type ActivityEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ActivityEncryptionConfigurationPtrOutput) Elem added in v6.48.0

func (ActivityEncryptionConfigurationPtrOutput) ElementType added in v6.48.0

func (ActivityEncryptionConfigurationPtrOutput) KmsDataKeyReusePeriodSeconds added in v6.48.0

func (o ActivityEncryptionConfigurationPtrOutput) KmsDataKeyReusePeriodSeconds() pulumi.IntPtrOutput

Maximum duration for which Activities will reuse data keys. When the period expires, Activities will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply to AWS owned KMS key.

func (ActivityEncryptionConfigurationPtrOutput) KmsKeyId added in v6.48.0

The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.

func (ActivityEncryptionConfigurationPtrOutput) ToActivityEncryptionConfigurationPtrOutput added in v6.48.0

func (o ActivityEncryptionConfigurationPtrOutput) ToActivityEncryptionConfigurationPtrOutput() ActivityEncryptionConfigurationPtrOutput

func (ActivityEncryptionConfigurationPtrOutput) ToActivityEncryptionConfigurationPtrOutputWithContext added in v6.48.0

func (o ActivityEncryptionConfigurationPtrOutput) ToActivityEncryptionConfigurationPtrOutputWithContext(ctx context.Context) ActivityEncryptionConfigurationPtrOutput

func (ActivityEncryptionConfigurationPtrOutput) Type added in v6.48.0

The encryption option specified for the activity. Valid values: `AWS_KMS_KEY`, `CUSTOMER_MANAGED_KMS_KEY`

type ActivityInput

type ActivityInput interface {
	pulumi.Input

	ToActivityOutput() ActivityOutput
	ToActivityOutputWithContext(ctx context.Context) ActivityOutput
}

type ActivityMap

type ActivityMap map[string]ActivityInput

func (ActivityMap) ElementType

func (ActivityMap) ElementType() reflect.Type

func (ActivityMap) ToActivityMapOutput

func (i ActivityMap) ToActivityMapOutput() ActivityMapOutput

func (ActivityMap) ToActivityMapOutputWithContext

func (i ActivityMap) ToActivityMapOutputWithContext(ctx context.Context) ActivityMapOutput

type ActivityMapInput

type ActivityMapInput interface {
	pulumi.Input

	ToActivityMapOutput() ActivityMapOutput
	ToActivityMapOutputWithContext(context.Context) ActivityMapOutput
}

ActivityMapInput is an input type that accepts ActivityMap and ActivityMapOutput values. You can construct a concrete instance of `ActivityMapInput` via:

ActivityMap{ "key": ActivityArgs{...} }

type ActivityMapOutput

type ActivityMapOutput struct{ *pulumi.OutputState }

func (ActivityMapOutput) ElementType

func (ActivityMapOutput) ElementType() reflect.Type

func (ActivityMapOutput) MapIndex

func (ActivityMapOutput) ToActivityMapOutput

func (o ActivityMapOutput) ToActivityMapOutput() ActivityMapOutput

func (ActivityMapOutput) ToActivityMapOutputWithContext

func (o ActivityMapOutput) ToActivityMapOutputWithContext(ctx context.Context) ActivityMapOutput

type ActivityOutput

type ActivityOutput struct{ *pulumi.OutputState }

func (ActivityOutput) CreationDate

func (o ActivityOutput) CreationDate() pulumi.StringOutput

The date the activity was created.

func (ActivityOutput) ElementType

func (ActivityOutput) ElementType() reflect.Type

func (ActivityOutput) EncryptionConfiguration added in v6.48.0

func (o ActivityOutput) EncryptionConfiguration() ActivityEncryptionConfigurationOutput

Defines what encryption configuration is used to encrypt data in the Activity. For more information see the section [Data at rest encyption](https://docs.aws.amazon.com/step-functions/latest/dg/encryption-at-rest.html) in the AWS Step Functions User Guide.

func (ActivityOutput) Name

The name of the activity to create.

func (ActivityOutput) 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.

func (ActivityOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ActivityOutput) ToActivityOutput

func (o ActivityOutput) ToActivityOutput() ActivityOutput

func (ActivityOutput) ToActivityOutputWithContext

func (o ActivityOutput) ToActivityOutputWithContext(ctx context.Context) ActivityOutput

type ActivityState

type ActivityState struct {
	// The date the activity was created.
	CreationDate pulumi.StringPtrInput
	// Defines what encryption configuration is used to encrypt data in the Activity. For more information see the section [Data at rest encyption](https://docs.aws.amazon.com/step-functions/latest/dg/encryption-at-rest.html) in the AWS Step Functions User Guide.
	EncryptionConfiguration ActivityEncryptionConfigurationPtrInput
	// The name of the activity to create.
	Name pulumi.StringPtrInput
	// 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.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ActivityState) ElementType

func (ActivityState) ElementType() reflect.Type

type Alias

type Alias struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) identifying your state machine alias.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The date the state machine alias was created.
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// Description of the alias.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name for the alias you are creating.
	Name pulumi.StringOutput `pulumi:"name"`
	// The StateMachine alias' route configuration settings. Fields documented below
	RoutingConfigurations AliasRoutingConfigurationArrayOutput `pulumi:"routingConfigurations"`
}

Provides a Step Function State Machine Alias.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sfn.NewAlias(ctx, "sfn_alias", &sfn.AliasArgs{
			Name: pulumi.String("my_sfn_alias"),
			RoutingConfigurations: sfn.AliasRoutingConfigurationArray{
				&sfn.AliasRoutingConfigurationArgs{
					StateMachineVersionArn: pulumi.Any(sfnTest.StateMachineVersionArn),
					Weight:                 pulumi.Int(100),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = sfn.NewAlias(ctx, "my_sfn_alias", &sfn.AliasArgs{
			Name: pulumi.String("my_sfn_alias"),
			RoutingConfigurations: sfn.AliasRoutingConfigurationArray{
				&sfn.AliasRoutingConfigurationArgs{
					StateMachineVersionArn: pulumi.String("arn:aws:states:us-east-1:12345:stateMachine:demo:3"),
					Weight:                 pulumi.Int(50),
				},
				&sfn.AliasRoutingConfigurationArgs{
					StateMachineVersionArn: pulumi.String("arn:aws:states:us-east-1:12345:stateMachine:demo:2"),
					Weight:                 pulumi.Int(50),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import SFN (Step Functions) Alias using the `arn`. For example:

```sh $ pulumi import aws:sfn/alias:Alias foo arn:aws:states:us-east-1:123456789098:stateMachine:myStateMachine:foo ```

func GetAlias

func GetAlias(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AliasState, opts ...pulumi.ResourceOption) (*Alias, error)

GetAlias gets an existing Alias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlias

func NewAlias(ctx *pulumi.Context,
	name string, args *AliasArgs, opts ...pulumi.ResourceOption) (*Alias, error)

NewAlias registers a new resource with the given unique name, arguments, and options.

func (*Alias) ElementType

func (*Alias) ElementType() reflect.Type

func (*Alias) ToAliasOutput

func (i *Alias) ToAliasOutput() AliasOutput

func (*Alias) ToAliasOutputWithContext

func (i *Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput

type AliasArgs

type AliasArgs struct {
	// Description of the alias.
	Description pulumi.StringPtrInput
	// Name for the alias you are creating.
	Name pulumi.StringPtrInput
	// The StateMachine alias' route configuration settings. Fields documented below
	RoutingConfigurations AliasRoutingConfigurationArrayInput
}

The set of arguments for constructing a Alias resource.

func (AliasArgs) ElementType

func (AliasArgs) ElementType() reflect.Type

type AliasArray

type AliasArray []AliasInput

func (AliasArray) ElementType

func (AliasArray) ElementType() reflect.Type

func (AliasArray) ToAliasArrayOutput

func (i AliasArray) ToAliasArrayOutput() AliasArrayOutput

func (AliasArray) ToAliasArrayOutputWithContext

func (i AliasArray) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput

type AliasArrayInput

type AliasArrayInput interface {
	pulumi.Input

	ToAliasArrayOutput() AliasArrayOutput
	ToAliasArrayOutputWithContext(context.Context) AliasArrayOutput
}

AliasArrayInput is an input type that accepts AliasArray and AliasArrayOutput values. You can construct a concrete instance of `AliasArrayInput` via:

AliasArray{ AliasArgs{...} }

type AliasArrayOutput

type AliasArrayOutput struct{ *pulumi.OutputState }

func (AliasArrayOutput) ElementType

func (AliasArrayOutput) ElementType() reflect.Type

func (AliasArrayOutput) Index

func (AliasArrayOutput) ToAliasArrayOutput

func (o AliasArrayOutput) ToAliasArrayOutput() AliasArrayOutput

func (AliasArrayOutput) ToAliasArrayOutputWithContext

func (o AliasArrayOutput) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput

type AliasInput

type AliasInput interface {
	pulumi.Input

	ToAliasOutput() AliasOutput
	ToAliasOutputWithContext(ctx context.Context) AliasOutput
}

type AliasMap

type AliasMap map[string]AliasInput

func (AliasMap) ElementType

func (AliasMap) ElementType() reflect.Type

func (AliasMap) ToAliasMapOutput

func (i AliasMap) ToAliasMapOutput() AliasMapOutput

func (AliasMap) ToAliasMapOutputWithContext

func (i AliasMap) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput

type AliasMapInput

type AliasMapInput interface {
	pulumi.Input

	ToAliasMapOutput() AliasMapOutput
	ToAliasMapOutputWithContext(context.Context) AliasMapOutput
}

AliasMapInput is an input type that accepts AliasMap and AliasMapOutput values. You can construct a concrete instance of `AliasMapInput` via:

AliasMap{ "key": AliasArgs{...} }

type AliasMapOutput

type AliasMapOutput struct{ *pulumi.OutputState }

func (AliasMapOutput) ElementType

func (AliasMapOutput) ElementType() reflect.Type

func (AliasMapOutput) MapIndex

func (AliasMapOutput) ToAliasMapOutput

func (o AliasMapOutput) ToAliasMapOutput() AliasMapOutput

func (AliasMapOutput) ToAliasMapOutputWithContext

func (o AliasMapOutput) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput

type AliasOutput

type AliasOutput struct{ *pulumi.OutputState }

func (AliasOutput) Arn

The Amazon Resource Name (ARN) identifying your state machine alias.

func (AliasOutput) CreationDate

func (o AliasOutput) CreationDate() pulumi.StringOutput

The date the state machine alias was created.

func (AliasOutput) Description

func (o AliasOutput) Description() pulumi.StringPtrOutput

Description of the alias.

func (AliasOutput) ElementType

func (AliasOutput) ElementType() reflect.Type

func (AliasOutput) Name

func (o AliasOutput) Name() pulumi.StringOutput

Name for the alias you are creating.

func (AliasOutput) RoutingConfigurations

func (o AliasOutput) RoutingConfigurations() AliasRoutingConfigurationArrayOutput

The StateMachine alias' route configuration settings. Fields documented below

func (AliasOutput) ToAliasOutput

func (o AliasOutput) ToAliasOutput() AliasOutput

func (AliasOutput) ToAliasOutputWithContext

func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput

type AliasRoutingConfiguration

type AliasRoutingConfiguration struct {
	// The Amazon Resource Name (ARN) of the state machine version.
	StateMachineVersionArn string `pulumi:"stateMachineVersionArn"`
	// Percentage of traffic routed to the state machine version.
	Weight int `pulumi:"weight"`
}

type AliasRoutingConfigurationArgs

type AliasRoutingConfigurationArgs struct {
	// The Amazon Resource Name (ARN) of the state machine version.
	StateMachineVersionArn pulumi.StringInput `pulumi:"stateMachineVersionArn"`
	// Percentage of traffic routed to the state machine version.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (AliasRoutingConfigurationArgs) ElementType

func (AliasRoutingConfigurationArgs) ToAliasRoutingConfigurationOutput

func (i AliasRoutingConfigurationArgs) ToAliasRoutingConfigurationOutput() AliasRoutingConfigurationOutput

func (AliasRoutingConfigurationArgs) ToAliasRoutingConfigurationOutputWithContext

func (i AliasRoutingConfigurationArgs) ToAliasRoutingConfigurationOutputWithContext(ctx context.Context) AliasRoutingConfigurationOutput

type AliasRoutingConfigurationArray

type AliasRoutingConfigurationArray []AliasRoutingConfigurationInput

func (AliasRoutingConfigurationArray) ElementType

func (AliasRoutingConfigurationArray) ToAliasRoutingConfigurationArrayOutput

func (i AliasRoutingConfigurationArray) ToAliasRoutingConfigurationArrayOutput() AliasRoutingConfigurationArrayOutput

func (AliasRoutingConfigurationArray) ToAliasRoutingConfigurationArrayOutputWithContext

func (i AliasRoutingConfigurationArray) ToAliasRoutingConfigurationArrayOutputWithContext(ctx context.Context) AliasRoutingConfigurationArrayOutput

type AliasRoutingConfigurationArrayInput

type AliasRoutingConfigurationArrayInput interface {
	pulumi.Input

	ToAliasRoutingConfigurationArrayOutput() AliasRoutingConfigurationArrayOutput
	ToAliasRoutingConfigurationArrayOutputWithContext(context.Context) AliasRoutingConfigurationArrayOutput
}

AliasRoutingConfigurationArrayInput is an input type that accepts AliasRoutingConfigurationArray and AliasRoutingConfigurationArrayOutput values. You can construct a concrete instance of `AliasRoutingConfigurationArrayInput` via:

AliasRoutingConfigurationArray{ AliasRoutingConfigurationArgs{...} }

type AliasRoutingConfigurationArrayOutput

type AliasRoutingConfigurationArrayOutput struct{ *pulumi.OutputState }

func (AliasRoutingConfigurationArrayOutput) ElementType

func (AliasRoutingConfigurationArrayOutput) Index

func (AliasRoutingConfigurationArrayOutput) ToAliasRoutingConfigurationArrayOutput

func (o AliasRoutingConfigurationArrayOutput) ToAliasRoutingConfigurationArrayOutput() AliasRoutingConfigurationArrayOutput

func (AliasRoutingConfigurationArrayOutput) ToAliasRoutingConfigurationArrayOutputWithContext

func (o AliasRoutingConfigurationArrayOutput) ToAliasRoutingConfigurationArrayOutputWithContext(ctx context.Context) AliasRoutingConfigurationArrayOutput

type AliasRoutingConfigurationInput

type AliasRoutingConfigurationInput interface {
	pulumi.Input

	ToAliasRoutingConfigurationOutput() AliasRoutingConfigurationOutput
	ToAliasRoutingConfigurationOutputWithContext(context.Context) AliasRoutingConfigurationOutput
}

AliasRoutingConfigurationInput is an input type that accepts AliasRoutingConfigurationArgs and AliasRoutingConfigurationOutput values. You can construct a concrete instance of `AliasRoutingConfigurationInput` via:

AliasRoutingConfigurationArgs{...}

type AliasRoutingConfigurationOutput

type AliasRoutingConfigurationOutput struct{ *pulumi.OutputState }

func (AliasRoutingConfigurationOutput) ElementType

func (AliasRoutingConfigurationOutput) StateMachineVersionArn

func (o AliasRoutingConfigurationOutput) StateMachineVersionArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the state machine version.

func (AliasRoutingConfigurationOutput) ToAliasRoutingConfigurationOutput

func (o AliasRoutingConfigurationOutput) ToAliasRoutingConfigurationOutput() AliasRoutingConfigurationOutput

func (AliasRoutingConfigurationOutput) ToAliasRoutingConfigurationOutputWithContext

func (o AliasRoutingConfigurationOutput) ToAliasRoutingConfigurationOutputWithContext(ctx context.Context) AliasRoutingConfigurationOutput

func (AliasRoutingConfigurationOutput) Weight

Percentage of traffic routed to the state machine version.

type AliasState

type AliasState struct {
	// The Amazon Resource Name (ARN) identifying your state machine alias.
	Arn pulumi.StringPtrInput
	// The date the state machine alias was created.
	CreationDate pulumi.StringPtrInput
	// Description of the alias.
	Description pulumi.StringPtrInput
	// Name for the alias you are creating.
	Name pulumi.StringPtrInput
	// The StateMachine alias' route configuration settings. Fields documented below
	RoutingConfigurations AliasRoutingConfigurationArrayInput
}

func (AliasState) ElementType

func (AliasState) ElementType() reflect.Type

type GetAliasRoutingConfiguration

type GetAliasRoutingConfiguration struct {
	StateMachineVersionArn string `pulumi:"stateMachineVersionArn"`
	Weight                 int    `pulumi:"weight"`
}

type GetAliasRoutingConfigurationArgs

type GetAliasRoutingConfigurationArgs struct {
	StateMachineVersionArn pulumi.StringInput `pulumi:"stateMachineVersionArn"`
	Weight                 pulumi.IntInput    `pulumi:"weight"`
}

func (GetAliasRoutingConfigurationArgs) ElementType

func (GetAliasRoutingConfigurationArgs) ToGetAliasRoutingConfigurationOutput

func (i GetAliasRoutingConfigurationArgs) ToGetAliasRoutingConfigurationOutput() GetAliasRoutingConfigurationOutput

func (GetAliasRoutingConfigurationArgs) ToGetAliasRoutingConfigurationOutputWithContext

func (i GetAliasRoutingConfigurationArgs) ToGetAliasRoutingConfigurationOutputWithContext(ctx context.Context) GetAliasRoutingConfigurationOutput

type GetAliasRoutingConfigurationArray

type GetAliasRoutingConfigurationArray []GetAliasRoutingConfigurationInput

func (GetAliasRoutingConfigurationArray) ElementType

func (GetAliasRoutingConfigurationArray) ToGetAliasRoutingConfigurationArrayOutput

func (i GetAliasRoutingConfigurationArray) ToGetAliasRoutingConfigurationArrayOutput() GetAliasRoutingConfigurationArrayOutput

func (GetAliasRoutingConfigurationArray) ToGetAliasRoutingConfigurationArrayOutputWithContext

func (i GetAliasRoutingConfigurationArray) ToGetAliasRoutingConfigurationArrayOutputWithContext(ctx context.Context) GetAliasRoutingConfigurationArrayOutput

type GetAliasRoutingConfigurationArrayInput

type GetAliasRoutingConfigurationArrayInput interface {
	pulumi.Input

	ToGetAliasRoutingConfigurationArrayOutput() GetAliasRoutingConfigurationArrayOutput
	ToGetAliasRoutingConfigurationArrayOutputWithContext(context.Context) GetAliasRoutingConfigurationArrayOutput
}

GetAliasRoutingConfigurationArrayInput is an input type that accepts GetAliasRoutingConfigurationArray and GetAliasRoutingConfigurationArrayOutput values. You can construct a concrete instance of `GetAliasRoutingConfigurationArrayInput` via:

GetAliasRoutingConfigurationArray{ GetAliasRoutingConfigurationArgs{...} }

type GetAliasRoutingConfigurationArrayOutput

type GetAliasRoutingConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetAliasRoutingConfigurationArrayOutput) ElementType

func (GetAliasRoutingConfigurationArrayOutput) Index

func (GetAliasRoutingConfigurationArrayOutput) ToGetAliasRoutingConfigurationArrayOutput

func (o GetAliasRoutingConfigurationArrayOutput) ToGetAliasRoutingConfigurationArrayOutput() GetAliasRoutingConfigurationArrayOutput

func (GetAliasRoutingConfigurationArrayOutput) ToGetAliasRoutingConfigurationArrayOutputWithContext

func (o GetAliasRoutingConfigurationArrayOutput) ToGetAliasRoutingConfigurationArrayOutputWithContext(ctx context.Context) GetAliasRoutingConfigurationArrayOutput

type GetAliasRoutingConfigurationInput

type GetAliasRoutingConfigurationInput interface {
	pulumi.Input

	ToGetAliasRoutingConfigurationOutput() GetAliasRoutingConfigurationOutput
	ToGetAliasRoutingConfigurationOutputWithContext(context.Context) GetAliasRoutingConfigurationOutput
}

GetAliasRoutingConfigurationInput is an input type that accepts GetAliasRoutingConfigurationArgs and GetAliasRoutingConfigurationOutput values. You can construct a concrete instance of `GetAliasRoutingConfigurationInput` via:

GetAliasRoutingConfigurationArgs{...}

type GetAliasRoutingConfigurationOutput

type GetAliasRoutingConfigurationOutput struct{ *pulumi.OutputState }

func (GetAliasRoutingConfigurationOutput) ElementType

func (GetAliasRoutingConfigurationOutput) StateMachineVersionArn

func (o GetAliasRoutingConfigurationOutput) StateMachineVersionArn() pulumi.StringOutput

func (GetAliasRoutingConfigurationOutput) ToGetAliasRoutingConfigurationOutput

func (o GetAliasRoutingConfigurationOutput) ToGetAliasRoutingConfigurationOutput() GetAliasRoutingConfigurationOutput

func (GetAliasRoutingConfigurationOutput) ToGetAliasRoutingConfigurationOutputWithContext

func (o GetAliasRoutingConfigurationOutput) ToGetAliasRoutingConfigurationOutputWithContext(ctx context.Context) GetAliasRoutingConfigurationOutput

func (GetAliasRoutingConfigurationOutput) Weight

type GetStateMachineVersionsArgs

type GetStateMachineVersionsArgs struct {
	// ARN of the State Machine.
	StatemachineArn string `pulumi:"statemachineArn"`
}

A collection of arguments for invoking getStateMachineVersions.

type GetStateMachineVersionsOutputArgs

type GetStateMachineVersionsOutputArgs struct {
	// ARN of the State Machine.
	StatemachineArn pulumi.StringInput `pulumi:"statemachineArn"`
}

A collection of arguments for invoking getStateMachineVersions.

func (GetStateMachineVersionsOutputArgs) ElementType

type GetStateMachineVersionsResult

type GetStateMachineVersionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id              string `pulumi:"id"`
	StatemachineArn string `pulumi:"statemachineArn"`
	// ARN List identifying the statemachine versions.
	StatemachineVersions []string `pulumi:"statemachineVersions"`
}

A collection of values returned by getStateMachineVersions.

func GetStateMachineVersions

func GetStateMachineVersions(ctx *pulumi.Context, args *GetStateMachineVersionsArgs, opts ...pulumi.InvokeOption) (*GetStateMachineVersionsResult, error)

Data source for managing an AWS SFN (Step Functions) State Machine Versions.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sfn.GetStateMachineVersions(ctx, &sfn.GetStateMachineVersionsArgs{
			StatemachineArn: testAwsSfnStateMachine.Arn,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetStateMachineVersionsResultOutput

type GetStateMachineVersionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStateMachineVersions.

func (GetStateMachineVersionsResultOutput) ElementType

func (GetStateMachineVersionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStateMachineVersionsResultOutput) StatemachineArn

func (GetStateMachineVersionsResultOutput) StatemachineVersions

ARN List identifying the statemachine versions.

func (GetStateMachineVersionsResultOutput) ToGetStateMachineVersionsResultOutput

func (o GetStateMachineVersionsResultOutput) ToGetStateMachineVersionsResultOutput() GetStateMachineVersionsResultOutput

func (GetStateMachineVersionsResultOutput) ToGetStateMachineVersionsResultOutputWithContext

func (o GetStateMachineVersionsResultOutput) ToGetStateMachineVersionsResultOutputWithContext(ctx context.Context) GetStateMachineVersionsResultOutput

type LookupActivityArgs

type LookupActivityArgs struct {
	// ARN that identifies the activity.
	Arn *string `pulumi:"arn"`
	// Name that identifies the activity.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getActivity.

type LookupActivityOutputArgs

type LookupActivityOutputArgs struct {
	// ARN that identifies the activity.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// Name that identifies the activity.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getActivity.

func (LookupActivityOutputArgs) ElementType

func (LookupActivityOutputArgs) ElementType() reflect.Type

type LookupActivityResult

type LookupActivityResult struct {
	Arn string `pulumi:"arn"`
	// Date the activity was created.
	CreationDate string `pulumi:"creationDate"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getActivity.

func LookupActivity

func LookupActivity(ctx *pulumi.Context, args *LookupActivityArgs, opts ...pulumi.InvokeOption) (*LookupActivityResult, error)

Provides a Step Functions Activity data source

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sfn.LookupActivity(ctx, &sfn.LookupActivityArgs{
			Name: pulumi.StringRef("my-activity"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupActivityResultOutput

type LookupActivityResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActivity.

func (LookupActivityResultOutput) Arn

func (LookupActivityResultOutput) CreationDate

Date the activity was created.

func (LookupActivityResultOutput) ElementType

func (LookupActivityResultOutput) ElementType() reflect.Type

func (LookupActivityResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupActivityResultOutput) Name

func (LookupActivityResultOutput) ToLookupActivityResultOutput

func (o LookupActivityResultOutput) ToLookupActivityResultOutput() LookupActivityResultOutput

func (LookupActivityResultOutput) ToLookupActivityResultOutputWithContext

func (o LookupActivityResultOutput) ToLookupActivityResultOutputWithContext(ctx context.Context) LookupActivityResultOutput

type LookupAliasArgs

type LookupAliasArgs struct {
	// Description of state machine alias.
	Description *string `pulumi:"description"`
	// Name of the State Machine alias.
	Name string `pulumi:"name"`
	// ARN of the State Machine.
	StatemachineArn string `pulumi:"statemachineArn"`
}

A collection of arguments for invoking getAlias.

type LookupAliasOutputArgs

type LookupAliasOutputArgs struct {
	// Description of state machine alias.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Name of the State Machine alias.
	Name pulumi.StringInput `pulumi:"name"`
	// ARN of the State Machine.
	StatemachineArn pulumi.StringInput `pulumi:"statemachineArn"`
}

A collection of arguments for invoking getAlias.

func (LookupAliasOutputArgs) ElementType

func (LookupAliasOutputArgs) ElementType() reflect.Type

type LookupAliasResult

type LookupAliasResult struct {
	// ARN identifying the State Machine alias.
	Arn string `pulumi:"arn"`
	// Date the state machine Alias was created.
	CreationDate string `pulumi:"creationDate"`
	// Description of state machine alias.
	Description *string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// Routing Configuration of state machine alias
	RoutingConfigurations []GetAliasRoutingConfiguration `pulumi:"routingConfigurations"`
	StatemachineArn       string                         `pulumi:"statemachineArn"`
}

A collection of values returned by getAlias.

func LookupAlias

func LookupAlias(ctx *pulumi.Context, args *LookupAliasArgs, opts ...pulumi.InvokeOption) (*LookupAliasResult, error)

Data source for managing an AWS SFN (Step Functions) State Machine Alias.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sfn.LookupAlias(ctx, &sfn.LookupAliasArgs{
			Name:            "my_sfn_alias",
			StatemachineArn: sfnTest.Arn,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAliasResultOutput

type LookupAliasResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlias.

func (LookupAliasResultOutput) Arn

ARN identifying the State Machine alias.

func (LookupAliasResultOutput) CreationDate

func (o LookupAliasResultOutput) CreationDate() pulumi.StringOutput

Date the state machine Alias was created.

func (LookupAliasResultOutput) Description

Description of state machine alias.

func (LookupAliasResultOutput) ElementType

func (LookupAliasResultOutput) ElementType() reflect.Type

func (LookupAliasResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAliasResultOutput) Name

func (LookupAliasResultOutput) RoutingConfigurations

Routing Configuration of state machine alias

func (LookupAliasResultOutput) StatemachineArn

func (o LookupAliasResultOutput) StatemachineArn() pulumi.StringOutput

func (LookupAliasResultOutput) ToLookupAliasResultOutput

func (o LookupAliasResultOutput) ToLookupAliasResultOutput() LookupAliasResultOutput

func (LookupAliasResultOutput) ToLookupAliasResultOutputWithContext

func (o LookupAliasResultOutput) ToLookupAliasResultOutputWithContext(ctx context.Context) LookupAliasResultOutput

type LookupStateMachineArgs

type LookupStateMachineArgs struct {
	// Friendly name of the state machine to match.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getStateMachine.

type LookupStateMachineOutputArgs

type LookupStateMachineOutputArgs struct {
	// Friendly name of the state machine to match.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getStateMachine.

func (LookupStateMachineOutputArgs) ElementType

type LookupStateMachineResult

type LookupStateMachineResult struct {
	// Set to the arn of the state function.
	Arn string `pulumi:"arn"`
	// Date the state machine was created.
	CreationDate string `pulumi:"creationDate"`
	// Set to the state machine definition.
	Definition  string `pulumi:"definition"`
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The revision identifier for the state machine.
	RevisionId string `pulumi:"revisionId"`
	// Set to the roleArn used by the state function.
	RoleArn string `pulumi:"roleArn"`
	// Set to the current status of the state machine.
	Status string `pulumi:"status"`
}

A collection of values returned by getStateMachine.

func LookupStateMachine

func LookupStateMachine(ctx *pulumi.Context, args *LookupStateMachineArgs, opts ...pulumi.InvokeOption) (*LookupStateMachineResult, error)

Use this data source to get the ARN of a State Machine in AWS Step Function (SFN). By using this data source, you can reference a state machine without having to hard code the ARNs as input.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sfn.LookupStateMachine(ctx, &sfn.LookupStateMachineArgs{
			Name: "an_example_sfn_name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupStateMachineResultOutput

type LookupStateMachineResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStateMachine.

func (LookupStateMachineResultOutput) Arn

Set to the arn of the state function.

func (LookupStateMachineResultOutput) CreationDate

Date the state machine was created.

func (LookupStateMachineResultOutput) Definition

Set to the state machine definition.

func (LookupStateMachineResultOutput) Description

func (LookupStateMachineResultOutput) ElementType

func (LookupStateMachineResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupStateMachineResultOutput) Name

func (LookupStateMachineResultOutput) RevisionId

The revision identifier for the state machine.

func (LookupStateMachineResultOutput) RoleArn

Set to the roleArn used by the state function.

func (LookupStateMachineResultOutput) Status

Set to the current status of the state machine.

func (LookupStateMachineResultOutput) ToLookupStateMachineResultOutput

func (o LookupStateMachineResultOutput) ToLookupStateMachineResultOutput() LookupStateMachineResultOutput

func (LookupStateMachineResultOutput) ToLookupStateMachineResultOutputWithContext

func (o LookupStateMachineResultOutput) ToLookupStateMachineResultOutputWithContext(ctx context.Context) LookupStateMachineResultOutput

type StateMachine

type StateMachine struct {
	pulumi.CustomResourceState

	// The ARN of the state machine.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The date the state machine was created.
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// The [Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) definition of the state machine.
	Definition  pulumi.StringOutput `pulumi:"definition"`
	Description pulumi.StringOutput `pulumi:"description"`
	// 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.
	EncryptionConfiguration StateMachineEncryptionConfigurationOutput `pulumi:"encryptionConfiguration"`
	// 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.
	LoggingConfiguration StateMachineLoggingConfigurationOutput `pulumi:"loggingConfiguration"`
	// 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.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
	// Set to true to publish a version of the state machine during creation. Default: false.
	Publish    pulumi.BoolPtrOutput `pulumi:"publish"`
	RevisionId pulumi.StringOutput  `pulumi:"revisionId"`
	// The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// The ARN of the state machine version.
	StateMachineVersionArn pulumi.StringOutput `pulumi:"stateMachineVersionArn"`
	// The current status of the state machine. Either `ACTIVE` or `DELETING`.
	Status pulumi.StringOutput `pulumi:"status"`
	// 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.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Selects whether AWS X-Ray tracing is enabled.
	TracingConfiguration StateMachineTracingConfigurationOutput `pulumi:"tracingConfiguration"`
	// 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`.
	Type               pulumi.StringPtrOutput `pulumi:"type"`
	VersionDescription pulumi.StringOutput    `pulumi:"versionDescription"`
}

Provides a Step Function State Machine resource

## Example Usage

### Basic (Standard Workflow)

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// ...
		_, err := sfn.NewStateMachine(ctx, "sfn_state_machine", &sfn.StateMachineArgs{
			Name:    pulumi.String("my-state-machine"),
			RoleArn: pulumi.Any(iamForSfn.Arn),
			Definition: pulumi.Sprintf(`{
  "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
  "StartAt": "HelloWorld",
  "States": {
    "HelloWorld": {
      "Type": "Task",
      "Resource": "%v",
      "End": true
    }
  }
}

`, lambda.Arn),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Basic (Express Workflow)

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// ...
		_, err := sfn.NewStateMachine(ctx, "sfn_state_machine", &sfn.StateMachineArgs{
			Name:    pulumi.String("my-state-machine"),
			RoleArn: pulumi.Any(iamForSfn.Arn),
			Type:    pulumi.String("EXPRESS"),
			Definition: pulumi.Sprintf(`{
  "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
  "StartAt": "HelloWorld",
  "States": {
    "HelloWorld": {
      "Type": "Task",
      "Resource": "%v",
      "End": true
    }
  }
}

`, lambda.Arn),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Publish (Publish SFN version)

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// ...
		_, err := sfn.NewStateMachine(ctx, "sfn_state_machine", &sfn.StateMachineArgs{
			Name:    pulumi.String("my-state-machine"),
			RoleArn: pulumi.Any(iamForSfn.Arn),
			Publish: pulumi.Bool(true),
			Type:    pulumi.String("EXPRESS"),
			Definition: pulumi.Sprintf(`{
  "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
  "StartAt": "HelloWorld",
  "States": {
    "HelloWorld": {
      "Type": "Task",
      "Resource": "%v",
      "End": true
    }
  }
}

`, lambda.Arn),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Logging

> *NOTE:* See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html) for more information about enabling Step Function logging.

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// ...
		_, err := sfn.NewStateMachine(ctx, "sfn_state_machine", &sfn.StateMachineArgs{
			Name:    pulumi.String("my-state-machine"),
			RoleArn: pulumi.Any(iamForSfn.Arn),
			Definition: pulumi.Sprintf(`{
  "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
  "StartAt": "HelloWorld",
  "States": {
    "HelloWorld": {
      "Type": "Task",
      "Resource": "%v",
      "End": true
    }
  }
}

`, lambda.Arn),

			LoggingConfiguration: &sfn.StateMachineLoggingConfigurationArgs{
				LogDestination:       pulumi.Sprintf("%v:*", logGroupForSfn.Arn),
				IncludeExecutionData: pulumi.Bool(true),
				Level:                pulumi.String("ERROR"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Encryption

> *NOTE:* See the section [Data at rest encyption](https://docs.aws.amazon.com/step-functions/latest/dg/encryption-at-rest.html) in the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html) for more information about enabling encryption of data using a customer-managed key for Step Functions State Machines data.

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sfn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// ...
		_, err := sfn.NewStateMachine(ctx, "sfn_state_machine", &sfn.StateMachineArgs{
			Name:    pulumi.String("my-state-machine"),
			RoleArn: pulumi.Any(iamForSfn.Arn),
			Definition: pulumi.Sprintf(`{
  "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
  "StartAt": "HelloWorld",
  "States": {
    "HelloWorld": {
      "Type": "Task",
      "Resource": "%v",
      "End": true
    }
  }
}

`, lambda.Arn),

			EncryptionConfiguration: &sfn.StateMachineEncryptionConfigurationArgs{
				KmsKeyId:                     pulumi.Any(kmsKeyForSfn.Arn),
				Type:                         pulumi.String("CUSTOMER_MANAGED_KMS_KEY"),
				KmsDataKeyReusePeriodSeconds: pulumi.Int(900),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import State Machines using the `arn`. For example:

```sh $ pulumi import aws:sfn/stateMachine:StateMachine foo arn:aws:states:eu-west-1:123456789098:stateMachine:bar ```

func GetStateMachine

func GetStateMachine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StateMachineState, opts ...pulumi.ResourceOption) (*StateMachine, error)

GetStateMachine gets an existing StateMachine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStateMachine

func NewStateMachine(ctx *pulumi.Context,
	name string, args *StateMachineArgs, opts ...pulumi.ResourceOption) (*StateMachine, error)

NewStateMachine registers a new resource with the given unique name, arguments, and options.

func (*StateMachine) ElementType

func (*StateMachine) ElementType() reflect.Type

func (*StateMachine) ToStateMachineOutput

func (i *StateMachine) ToStateMachineOutput() StateMachineOutput

func (*StateMachine) ToStateMachineOutputWithContext

func (i *StateMachine) ToStateMachineOutputWithContext(ctx context.Context) StateMachineOutput

type StateMachineArgs

type StateMachineArgs struct {
	// The [Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) definition of the state machine.
	Definition pulumi.StringInput
	// 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.
	EncryptionConfiguration StateMachineEncryptionConfigurationPtrInput
	// 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.
	LoggingConfiguration StateMachineLoggingConfigurationPtrInput
	// 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.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Set to true to publish a version of the state machine during creation. Default: false.
	Publish pulumi.BoolPtrInput
	// The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
	RoleArn pulumi.StringInput
	// 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.
	Tags pulumi.StringMapInput
	// Selects whether AWS X-Ray tracing is enabled.
	TracingConfiguration StateMachineTracingConfigurationPtrInput
	// 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`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a StateMachine resource.

func (StateMachineArgs) ElementType

func (StateMachineArgs) ElementType() reflect.Type

type StateMachineArray

type StateMachineArray []StateMachineInput

func (StateMachineArray) ElementType

func (StateMachineArray) ElementType() reflect.Type

func (StateMachineArray) ToStateMachineArrayOutput

func (i StateMachineArray) ToStateMachineArrayOutput() StateMachineArrayOutput

func (StateMachineArray) ToStateMachineArrayOutputWithContext

func (i StateMachineArray) ToStateMachineArrayOutputWithContext(ctx context.Context) StateMachineArrayOutput

type StateMachineArrayInput

type StateMachineArrayInput interface {
	pulumi.Input

	ToStateMachineArrayOutput() StateMachineArrayOutput
	ToStateMachineArrayOutputWithContext(context.Context) StateMachineArrayOutput
}

StateMachineArrayInput is an input type that accepts StateMachineArray and StateMachineArrayOutput values. You can construct a concrete instance of `StateMachineArrayInput` via:

StateMachineArray{ StateMachineArgs{...} }

type StateMachineArrayOutput

type StateMachineArrayOutput struct{ *pulumi.OutputState }

func (StateMachineArrayOutput) ElementType

func (StateMachineArrayOutput) ElementType() reflect.Type

func (StateMachineArrayOutput) Index

func (StateMachineArrayOutput) ToStateMachineArrayOutput

func (o StateMachineArrayOutput) ToStateMachineArrayOutput() StateMachineArrayOutput

func (StateMachineArrayOutput) ToStateMachineArrayOutputWithContext

func (o StateMachineArrayOutput) ToStateMachineArrayOutputWithContext(ctx context.Context) StateMachineArrayOutput

type StateMachineEncryptionConfiguration added in v6.48.0

type StateMachineEncryptionConfiguration struct {
	// Maximum duration for which Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply when `type` is `AWS_OWNED_KEY`.
	KmsDataKeyReusePeriodSeconds *int `pulumi:"kmsDataKeyReusePeriodSeconds"`
	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The encryption option specified for the state machine. Valid values: `AWS_OWNED_KEY`, `CUSTOMER_MANAGED_KMS_KEY`
	Type *string `pulumi:"type"`
}

type StateMachineEncryptionConfigurationArgs added in v6.48.0

type StateMachineEncryptionConfigurationArgs struct {
	// Maximum duration for which Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply when `type` is `AWS_OWNED_KEY`.
	KmsDataKeyReusePeriodSeconds pulumi.IntPtrInput `pulumi:"kmsDataKeyReusePeriodSeconds"`
	// The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The encryption option specified for the state machine. Valid values: `AWS_OWNED_KEY`, `CUSTOMER_MANAGED_KMS_KEY`
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (StateMachineEncryptionConfigurationArgs) ElementType added in v6.48.0

func (StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationOutput added in v6.48.0

func (i StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationOutput() StateMachineEncryptionConfigurationOutput

func (StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationOutputWithContext added in v6.48.0

func (i StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationOutputWithContext(ctx context.Context) StateMachineEncryptionConfigurationOutput

func (StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationPtrOutput added in v6.48.0

func (i StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationPtrOutput() StateMachineEncryptionConfigurationPtrOutput

func (StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationPtrOutputWithContext added in v6.48.0

func (i StateMachineEncryptionConfigurationArgs) ToStateMachineEncryptionConfigurationPtrOutputWithContext(ctx context.Context) StateMachineEncryptionConfigurationPtrOutput

type StateMachineEncryptionConfigurationInput added in v6.48.0

type StateMachineEncryptionConfigurationInput interface {
	pulumi.Input

	ToStateMachineEncryptionConfigurationOutput() StateMachineEncryptionConfigurationOutput
	ToStateMachineEncryptionConfigurationOutputWithContext(context.Context) StateMachineEncryptionConfigurationOutput
}

StateMachineEncryptionConfigurationInput is an input type that accepts StateMachineEncryptionConfigurationArgs and StateMachineEncryptionConfigurationOutput values. You can construct a concrete instance of `StateMachineEncryptionConfigurationInput` via:

StateMachineEncryptionConfigurationArgs{...}

type StateMachineEncryptionConfigurationOutput added in v6.48.0

type StateMachineEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (StateMachineEncryptionConfigurationOutput) ElementType added in v6.48.0

func (StateMachineEncryptionConfigurationOutput) KmsDataKeyReusePeriodSeconds added in v6.48.0

func (o StateMachineEncryptionConfigurationOutput) KmsDataKeyReusePeriodSeconds() pulumi.IntPtrOutput

Maximum duration for which Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply when `type` is `AWS_OWNED_KEY`.

func (StateMachineEncryptionConfigurationOutput) KmsKeyId added in v6.48.0

The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.

func (StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationOutput added in v6.48.0

func (o StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationOutput() StateMachineEncryptionConfigurationOutput

func (StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationOutputWithContext added in v6.48.0

func (o StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationOutputWithContext(ctx context.Context) StateMachineEncryptionConfigurationOutput

func (StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationPtrOutput added in v6.48.0

func (o StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationPtrOutput() StateMachineEncryptionConfigurationPtrOutput

func (StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationPtrOutputWithContext added in v6.48.0

func (o StateMachineEncryptionConfigurationOutput) ToStateMachineEncryptionConfigurationPtrOutputWithContext(ctx context.Context) StateMachineEncryptionConfigurationPtrOutput

func (StateMachineEncryptionConfigurationOutput) Type added in v6.48.0

The encryption option specified for the state machine. Valid values: `AWS_OWNED_KEY`, `CUSTOMER_MANAGED_KMS_KEY`

type StateMachineEncryptionConfigurationPtrInput added in v6.48.0

type StateMachineEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToStateMachineEncryptionConfigurationPtrOutput() StateMachineEncryptionConfigurationPtrOutput
	ToStateMachineEncryptionConfigurationPtrOutputWithContext(context.Context) StateMachineEncryptionConfigurationPtrOutput
}

StateMachineEncryptionConfigurationPtrInput is an input type that accepts StateMachineEncryptionConfigurationArgs, StateMachineEncryptionConfigurationPtr and StateMachineEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `StateMachineEncryptionConfigurationPtrInput` via:

        StateMachineEncryptionConfigurationArgs{...}

or:

        nil

type StateMachineEncryptionConfigurationPtrOutput added in v6.48.0

type StateMachineEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (StateMachineEncryptionConfigurationPtrOutput) Elem added in v6.48.0

func (StateMachineEncryptionConfigurationPtrOutput) ElementType added in v6.48.0

func (StateMachineEncryptionConfigurationPtrOutput) KmsDataKeyReusePeriodSeconds added in v6.48.0

func (o StateMachineEncryptionConfigurationPtrOutput) KmsDataKeyReusePeriodSeconds() pulumi.IntPtrOutput

Maximum duration for which Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey. This setting only applies to customer managed KMS key and does not apply when `type` is `AWS_OWNED_KEY`.

func (StateMachineEncryptionConfigurationPtrOutput) KmsKeyId added in v6.48.0

The alias, alias ARN, key ID, or key ARN of the symmetric encryption KMS key that encrypts the data key. To specify a KMS key in a different AWS account, the customer must use the key ARN or alias ARN. For more information regarding kms_key_id, see [KeyId](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the KMS documentation.

func (StateMachineEncryptionConfigurationPtrOutput) ToStateMachineEncryptionConfigurationPtrOutput added in v6.48.0

func (o StateMachineEncryptionConfigurationPtrOutput) ToStateMachineEncryptionConfigurationPtrOutput() StateMachineEncryptionConfigurationPtrOutput

func (StateMachineEncryptionConfigurationPtrOutput) ToStateMachineEncryptionConfigurationPtrOutputWithContext added in v6.48.0

func (o StateMachineEncryptionConfigurationPtrOutput) ToStateMachineEncryptionConfigurationPtrOutputWithContext(ctx context.Context) StateMachineEncryptionConfigurationPtrOutput

func (StateMachineEncryptionConfigurationPtrOutput) Type added in v6.48.0

The encryption option specified for the state machine. Valid values: `AWS_OWNED_KEY`, `CUSTOMER_MANAGED_KMS_KEY`

type StateMachineInput

type StateMachineInput interface {
	pulumi.Input

	ToStateMachineOutput() StateMachineOutput
	ToStateMachineOutputWithContext(ctx context.Context) StateMachineOutput
}

type StateMachineLoggingConfiguration

type StateMachineLoggingConfiguration struct {
	// Determines whether execution data is included in your log. When set to `false`, data is excluded.
	IncludeExecutionData *bool `pulumi:"includeExecutionData"`
	// Defines which category of execution history events are logged. Valid values: `ALL`, `ERROR`, `FATAL`, `OFF`
	Level *string `pulumi:"level"`
	// Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with `:*`
	LogDestination *string `pulumi:"logDestination"`
}

type StateMachineLoggingConfigurationArgs

type StateMachineLoggingConfigurationArgs struct {
	// Determines whether execution data is included in your log. When set to `false`, data is excluded.
	IncludeExecutionData pulumi.BoolPtrInput `pulumi:"includeExecutionData"`
	// Defines which category of execution history events are logged. Valid values: `ALL`, `ERROR`, `FATAL`, `OFF`
	Level pulumi.StringPtrInput `pulumi:"level"`
	// Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with `:*`
	LogDestination pulumi.StringPtrInput `pulumi:"logDestination"`
}

func (StateMachineLoggingConfigurationArgs) ElementType

func (StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationOutput

func (i StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationOutput() StateMachineLoggingConfigurationOutput

func (StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationOutputWithContext

func (i StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationOutputWithContext(ctx context.Context) StateMachineLoggingConfigurationOutput

func (StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationPtrOutput

func (i StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationPtrOutput() StateMachineLoggingConfigurationPtrOutput

func (StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationPtrOutputWithContext

func (i StateMachineLoggingConfigurationArgs) ToStateMachineLoggingConfigurationPtrOutputWithContext(ctx context.Context) StateMachineLoggingConfigurationPtrOutput

type StateMachineLoggingConfigurationInput

type StateMachineLoggingConfigurationInput interface {
	pulumi.Input

	ToStateMachineLoggingConfigurationOutput() StateMachineLoggingConfigurationOutput
	ToStateMachineLoggingConfigurationOutputWithContext(context.Context) StateMachineLoggingConfigurationOutput
}

StateMachineLoggingConfigurationInput is an input type that accepts StateMachineLoggingConfigurationArgs and StateMachineLoggingConfigurationOutput values. You can construct a concrete instance of `StateMachineLoggingConfigurationInput` via:

StateMachineLoggingConfigurationArgs{...}

type StateMachineLoggingConfigurationOutput

type StateMachineLoggingConfigurationOutput struct{ *pulumi.OutputState }

func (StateMachineLoggingConfigurationOutput) ElementType

func (StateMachineLoggingConfigurationOutput) IncludeExecutionData

Determines whether execution data is included in your log. When set to `false`, data is excluded.

func (StateMachineLoggingConfigurationOutput) Level

Defines which category of execution history events are logged. Valid values: `ALL`, `ERROR`, `FATAL`, `OFF`

func (StateMachineLoggingConfigurationOutput) LogDestination

Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with `:*`

func (StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationOutput

func (o StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationOutput() StateMachineLoggingConfigurationOutput

func (StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationOutputWithContext

func (o StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationOutputWithContext(ctx context.Context) StateMachineLoggingConfigurationOutput

func (StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationPtrOutput

func (o StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationPtrOutput() StateMachineLoggingConfigurationPtrOutput

func (StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationPtrOutputWithContext

func (o StateMachineLoggingConfigurationOutput) ToStateMachineLoggingConfigurationPtrOutputWithContext(ctx context.Context) StateMachineLoggingConfigurationPtrOutput

type StateMachineLoggingConfigurationPtrInput

type StateMachineLoggingConfigurationPtrInput interface {
	pulumi.Input

	ToStateMachineLoggingConfigurationPtrOutput() StateMachineLoggingConfigurationPtrOutput
	ToStateMachineLoggingConfigurationPtrOutputWithContext(context.Context) StateMachineLoggingConfigurationPtrOutput
}

StateMachineLoggingConfigurationPtrInput is an input type that accepts StateMachineLoggingConfigurationArgs, StateMachineLoggingConfigurationPtr and StateMachineLoggingConfigurationPtrOutput values. You can construct a concrete instance of `StateMachineLoggingConfigurationPtrInput` via:

        StateMachineLoggingConfigurationArgs{...}

or:

        nil

type StateMachineLoggingConfigurationPtrOutput

type StateMachineLoggingConfigurationPtrOutput struct{ *pulumi.OutputState }

func (StateMachineLoggingConfigurationPtrOutput) Elem

func (StateMachineLoggingConfigurationPtrOutput) ElementType

func (StateMachineLoggingConfigurationPtrOutput) IncludeExecutionData

Determines whether execution data is included in your log. When set to `false`, data is excluded.

func (StateMachineLoggingConfigurationPtrOutput) Level

Defines which category of execution history events are logged. Valid values: `ALL`, `ERROR`, `FATAL`, `OFF`

func (StateMachineLoggingConfigurationPtrOutput) LogDestination

Amazon Resource Name (ARN) of a CloudWatch log group. Make sure the State Machine has the correct IAM policies for logging. The ARN must end with `:*`

func (StateMachineLoggingConfigurationPtrOutput) ToStateMachineLoggingConfigurationPtrOutput

func (o StateMachineLoggingConfigurationPtrOutput) ToStateMachineLoggingConfigurationPtrOutput() StateMachineLoggingConfigurationPtrOutput

func (StateMachineLoggingConfigurationPtrOutput) ToStateMachineLoggingConfigurationPtrOutputWithContext

func (o StateMachineLoggingConfigurationPtrOutput) ToStateMachineLoggingConfigurationPtrOutputWithContext(ctx context.Context) StateMachineLoggingConfigurationPtrOutput

type StateMachineMap

type StateMachineMap map[string]StateMachineInput

func (StateMachineMap) ElementType

func (StateMachineMap) ElementType() reflect.Type

func (StateMachineMap) ToStateMachineMapOutput

func (i StateMachineMap) ToStateMachineMapOutput() StateMachineMapOutput

func (StateMachineMap) ToStateMachineMapOutputWithContext

func (i StateMachineMap) ToStateMachineMapOutputWithContext(ctx context.Context) StateMachineMapOutput

type StateMachineMapInput

type StateMachineMapInput interface {
	pulumi.Input

	ToStateMachineMapOutput() StateMachineMapOutput
	ToStateMachineMapOutputWithContext(context.Context) StateMachineMapOutput
}

StateMachineMapInput is an input type that accepts StateMachineMap and StateMachineMapOutput values. You can construct a concrete instance of `StateMachineMapInput` via:

StateMachineMap{ "key": StateMachineArgs{...} }

type StateMachineMapOutput

type StateMachineMapOutput struct{ *pulumi.OutputState }

func (StateMachineMapOutput) ElementType

func (StateMachineMapOutput) ElementType() reflect.Type

func (StateMachineMapOutput) MapIndex

func (StateMachineMapOutput) ToStateMachineMapOutput

func (o StateMachineMapOutput) ToStateMachineMapOutput() StateMachineMapOutput

func (StateMachineMapOutput) ToStateMachineMapOutputWithContext

func (o StateMachineMapOutput) ToStateMachineMapOutputWithContext(ctx context.Context) StateMachineMapOutput

type StateMachineOutput

type StateMachineOutput struct{ *pulumi.OutputState }

func (StateMachineOutput) Arn

The ARN of the state machine.

func (StateMachineOutput) CreationDate

func (o StateMachineOutput) CreationDate() pulumi.StringOutput

The date the state machine was created.

func (StateMachineOutput) Definition

func (o StateMachineOutput) Definition() pulumi.StringOutput

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

func (StateMachineOutput) Description

func (o StateMachineOutput) Description() pulumi.StringOutput

func (StateMachineOutput) ElementType

func (StateMachineOutput) ElementType() reflect.Type

func (StateMachineOutput) EncryptionConfiguration added in v6.48.0

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.

func (StateMachineOutput) 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.

func (StateMachineOutput) 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.

func (StateMachineOutput) NamePrefix

func (o StateMachineOutput) NamePrefix() pulumi.StringOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (StateMachineOutput) Publish

Set to true to publish a version of the state machine during creation. Default: false.

func (StateMachineOutput) RevisionId

func (o StateMachineOutput) RevisionId() pulumi.StringOutput

func (StateMachineOutput) RoleArn

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

func (StateMachineOutput) StateMachineVersionArn

func (o StateMachineOutput) StateMachineVersionArn() pulumi.StringOutput

The ARN of the state machine version.

func (StateMachineOutput) Status

The current status of the state machine. Either `ACTIVE` or `DELETING`.

func (StateMachineOutput) 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.

func (StateMachineOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (StateMachineOutput) ToStateMachineOutput

func (o StateMachineOutput) ToStateMachineOutput() StateMachineOutput

func (StateMachineOutput) ToStateMachineOutputWithContext

func (o StateMachineOutput) ToStateMachineOutputWithContext(ctx context.Context) StateMachineOutput

func (StateMachineOutput) TracingConfiguration

Selects whether AWS X-Ray tracing is enabled.

func (StateMachineOutput) 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`.

func (StateMachineOutput) VersionDescription

func (o StateMachineOutput) VersionDescription() pulumi.StringOutput

type StateMachineState

type StateMachineState struct {
	// The ARN of the state machine.
	Arn pulumi.StringPtrInput
	// The date the state machine was created.
	CreationDate pulumi.StringPtrInput
	// The [Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) definition of the state machine.
	Definition  pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	// 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.
	EncryptionConfiguration StateMachineEncryptionConfigurationPtrInput
	// 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.
	LoggingConfiguration StateMachineLoggingConfigurationPtrInput
	// 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.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Set to true to publish a version of the state machine during creation. Default: false.
	Publish    pulumi.BoolPtrInput
	RevisionId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
	RoleArn pulumi.StringPtrInput
	// The ARN of the state machine version.
	StateMachineVersionArn pulumi.StringPtrInput
	// The current status of the state machine. Either `ACTIVE` or `DELETING`.
	Status pulumi.StringPtrInput
	// 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.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Selects whether AWS X-Ray tracing is enabled.
	TracingConfiguration StateMachineTracingConfigurationPtrInput
	// 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`.
	Type               pulumi.StringPtrInput
	VersionDescription pulumi.StringPtrInput
}

func (StateMachineState) ElementType

func (StateMachineState) ElementType() reflect.Type

type StateMachineTracingConfiguration

type StateMachineTracingConfiguration struct {
	// When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.
	Enabled *bool `pulumi:"enabled"`
}

type StateMachineTracingConfigurationArgs

type StateMachineTracingConfigurationArgs struct {
	// When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (StateMachineTracingConfigurationArgs) ElementType

func (StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationOutput

func (i StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationOutput() StateMachineTracingConfigurationOutput

func (StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationOutputWithContext

func (i StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationOutputWithContext(ctx context.Context) StateMachineTracingConfigurationOutput

func (StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationPtrOutput

func (i StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationPtrOutput() StateMachineTracingConfigurationPtrOutput

func (StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationPtrOutputWithContext

func (i StateMachineTracingConfigurationArgs) ToStateMachineTracingConfigurationPtrOutputWithContext(ctx context.Context) StateMachineTracingConfigurationPtrOutput

type StateMachineTracingConfigurationInput

type StateMachineTracingConfigurationInput interface {
	pulumi.Input

	ToStateMachineTracingConfigurationOutput() StateMachineTracingConfigurationOutput
	ToStateMachineTracingConfigurationOutputWithContext(context.Context) StateMachineTracingConfigurationOutput
}

StateMachineTracingConfigurationInput is an input type that accepts StateMachineTracingConfigurationArgs and StateMachineTracingConfigurationOutput values. You can construct a concrete instance of `StateMachineTracingConfigurationInput` via:

StateMachineTracingConfigurationArgs{...}

type StateMachineTracingConfigurationOutput

type StateMachineTracingConfigurationOutput struct{ *pulumi.OutputState }

func (StateMachineTracingConfigurationOutput) ElementType

func (StateMachineTracingConfigurationOutput) Enabled

When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.

func (StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationOutput

func (o StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationOutput() StateMachineTracingConfigurationOutput

func (StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationOutputWithContext

func (o StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationOutputWithContext(ctx context.Context) StateMachineTracingConfigurationOutput

func (StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationPtrOutput

func (o StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationPtrOutput() StateMachineTracingConfigurationPtrOutput

func (StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationPtrOutputWithContext

func (o StateMachineTracingConfigurationOutput) ToStateMachineTracingConfigurationPtrOutputWithContext(ctx context.Context) StateMachineTracingConfigurationPtrOutput

type StateMachineTracingConfigurationPtrInput

type StateMachineTracingConfigurationPtrInput interface {
	pulumi.Input

	ToStateMachineTracingConfigurationPtrOutput() StateMachineTracingConfigurationPtrOutput
	ToStateMachineTracingConfigurationPtrOutputWithContext(context.Context) StateMachineTracingConfigurationPtrOutput
}

StateMachineTracingConfigurationPtrInput is an input type that accepts StateMachineTracingConfigurationArgs, StateMachineTracingConfigurationPtr and StateMachineTracingConfigurationPtrOutput values. You can construct a concrete instance of `StateMachineTracingConfigurationPtrInput` via:

        StateMachineTracingConfigurationArgs{...}

or:

        nil

type StateMachineTracingConfigurationPtrOutput

type StateMachineTracingConfigurationPtrOutput struct{ *pulumi.OutputState }

func (StateMachineTracingConfigurationPtrOutput) Elem

func (StateMachineTracingConfigurationPtrOutput) ElementType

func (StateMachineTracingConfigurationPtrOutput) Enabled

When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.

func (StateMachineTracingConfigurationPtrOutput) ToStateMachineTracingConfigurationPtrOutput

func (o StateMachineTracingConfigurationPtrOutput) ToStateMachineTracingConfigurationPtrOutput() StateMachineTracingConfigurationPtrOutput

func (StateMachineTracingConfigurationPtrOutput) ToStateMachineTracingConfigurationPtrOutputWithContext

func (o StateMachineTracingConfigurationPtrOutput) ToStateMachineTracingConfigurationPtrOutputWithContext(ctx context.Context) StateMachineTracingConfigurationPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL