github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/sfn_activity.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: sfn_activity"
     4  sidebar_current: "docs-aws-resource-sfn-activity"
     5  description: |-
     6    Provides a Step Function Activity resource.
     7  ---
     8  
     9  # sfn\_activity
    10  
    11  Provides a Step Function Activity resource
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_sfn_activity" "sfn_activity" {
    17    name = "my-activity"
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  The following arguments are supported:
    24  
    25  * `name` - (Required) The name of the activity to create.
    26  
    27  ## Attributes Reference
    28  
    29  The following attributes are exported:
    30  
    31  * `id` - The Amazon Resource Name (ARN) that identifies the created activity.
    32  * `name` - The name of the activity.
    33  * `creation_date` - The date the activity was created.
    34  
    35  ## Import
    36  
    37  Activities can be imported using the `arn`, e.g.
    38  
    39  ```
    40  $ terraform import aws_sfn_activity.foo arn:aws:states:eu-west-1:123456789098:activity:bar
    41  ```