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

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_inspector_assessment_target"
     4  sidebar_current: "docs-aws-resource-inspector-assessment-target"
     5  description: |-
     6    Provides a Inspector assessment target.
     7  ---
     8  
     9  # aws\_inspector\_assessment\_target
    10  
    11  Provides a Inspector assessment target
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_inspector_resource_group" "bar" {
    17    tags {
    18      Name = "foo"
    19      Env  = "bar"
    20    }
    21  }
    22  
    23  resource "aws_inspector_assessment_target" "foo" {
    24    name               = "assessment target"
    25    resource_group_arn = "${aws_inspector_resource_group.bar.arn}"
    26  }
    27  ```
    28  
    29  ## Argument Reference
    30  
    31  The following arguments are supported:
    32  
    33  * `name` - (Required) The name of the assessment target.
    34  * `resource_group_arn` (Required )- The resource group ARN stating tags for instance matching.
    35  
    36  ## Attributes Reference
    37  
    38  The following attributes are exported:
    39  
    40  * `arn` - The target assessment ARN.