» 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

In addition to all arguments above, 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