Resource: aws_sfn_activity

Provides a Step Function Activity resource

Example Usage

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

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import activities using the arn. For example:

import {
  to = aws_sfn_activity.foo
  id = "arn:aws:states:eu-west-1:123456789098:activity:bar"
}

Using terraform import, import activities using the arn. For example:

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