terraform/website/source/docs/providers/aws/r/sfn_activity.html.markdown

846 B

layout page_title sidebar_current description
aws AWS: sfn_activity docs-aws-resource-sfn-activity Provides a Step Function Activity resource.

sfn_activity

Provides a Step Function Activity resource

Example Usage

resource "aws_sfn_activity" "sfn_activity" {
  name = "my-activity"
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the activity to create.

Attributes Reference

The following attributes are exported:

  • id - The Amazon Resource Name (ARN) that identifies the created activity.
  • name - The name of the activity.
  • creation_date - The date the activity was created.

Import

Activities can be imported using the arn, e.g.

$ terraform import aws_sfn_activity.foo arn:aws:states:eu-west-1:123456789098:activity:bar