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

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_inspector_assessment_template"
     4  sidebar_current: "docs-aws-resource-inspector-assessment-template"
     5  description: |-
     6    Provides a Inspector assessment template.
     7  ---
     8  
     9  # aws\_inspector\_assessment\_template
    10  
    11  Provides a Inspector assessment template
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_inspector_assessment_template" "foo" {
    17    name       = "bar template"
    18    target_arn = "${aws_inspector_assessment_target.foo.arn}"
    19    duration   = 3600
    20  
    21    rules_package_arns = [
    22      "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-9hgA516p",
    23      "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-H5hpSawc",
    24      "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ",
    25      "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-vg5GGHSD",
    26    ]
    27  }
    28  ```
    29  
    30  ## Argument Reference
    31  
    32  The following arguments are supported:
    33  
    34  * `name` - (Required) The name of the assessment template.
    35  * `target_arn` - (Required) The assessment target ARN to attach the template to.
    36  * `duration` - (Required) The duration of the inspector run.
    37  * `rules_package_arns` - (Required) The rules to be used during the run.
    38  
    39  ## Attributes Reference
    40  
    41  The following attributes are exported:
    42  
    43  * `arn` - The template assessment ARN.