1. Packages
  2. AWS Native
  3. API Docs
  4. inspector
  5. AssessmentTemplate

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.inspector.AssessmentTemplate

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Resource Type definition for AWS::Inspector::AssessmentTemplate

    Create AssessmentTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AssessmentTemplate(name: string, args: AssessmentTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def AssessmentTemplate(resource_name: str,
                           args: AssessmentTemplateArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AssessmentTemplate(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           assessment_target_arn: Optional[str] = None,
                           duration_in_seconds: Optional[int] = None,
                           rules_package_arns: Optional[Sequence[str]] = None,
                           assessment_template_name: Optional[str] = None,
                           user_attributes_for_findings: Optional[Sequence[AssessmentTemplateTagArgs]] = None)
    func NewAssessmentTemplate(ctx *Context, name string, args AssessmentTemplateArgs, opts ...ResourceOption) (*AssessmentTemplate, error)
    public AssessmentTemplate(string name, AssessmentTemplateArgs args, CustomResourceOptions? opts = null)
    public AssessmentTemplate(String name, AssessmentTemplateArgs args)
    public AssessmentTemplate(String name, AssessmentTemplateArgs args, CustomResourceOptions options)
    
    type: aws-native:inspector:AssessmentTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AssessmentTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AssessmentTemplateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AssessmentTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssessmentTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssessmentTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AssessmentTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AssessmentTemplate resource accepts the following input properties:

    AssessmentTargetArn string
    The ARN of the assessment target to be included in the assessment template.
    DurationInSeconds int
    The duration of the assessment run in seconds.
    RulesPackageArns List<string>
    The ARNs of the rules packages that you want to use in the assessment template.
    AssessmentTemplateName string
    The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
    UserAttributesForFindings List<Pulumi.AwsNative.Inspector.Inputs.AssessmentTemplateTag>
    The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. Within an assessment template, each key must be unique.
    AssessmentTargetArn string
    The ARN of the assessment target to be included in the assessment template.
    DurationInSeconds int
    The duration of the assessment run in seconds.
    RulesPackageArns []string
    The ARNs of the rules packages that you want to use in the assessment template.
    AssessmentTemplateName string
    The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
    UserAttributesForFindings []AssessmentTemplateTagArgs
    The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. Within an assessment template, each key must be unique.
    assessmentTargetArn String
    The ARN of the assessment target to be included in the assessment template.
    durationInSeconds Integer
    The duration of the assessment run in seconds.
    rulesPackageArns List<String>
    The ARNs of the rules packages that you want to use in the assessment template.
    assessmentTemplateName String
    The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
    userAttributesForFindings List<AssessmentTemplateTag>
    The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. Within an assessment template, each key must be unique.
    assessmentTargetArn string
    The ARN of the assessment target to be included in the assessment template.
    durationInSeconds number
    The duration of the assessment run in seconds.
    rulesPackageArns string[]
    The ARNs of the rules packages that you want to use in the assessment template.
    assessmentTemplateName string
    The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
    userAttributesForFindings AssessmentTemplateTag[]
    The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. Within an assessment template, each key must be unique.
    assessment_target_arn str
    The ARN of the assessment target to be included in the assessment template.
    duration_in_seconds int
    The duration of the assessment run in seconds.
    rules_package_arns Sequence[str]
    The ARNs of the rules packages that you want to use in the assessment template.
    assessment_template_name str
    The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
    user_attributes_for_findings Sequence[AssessmentTemplateTagArgs]
    The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. Within an assessment template, each key must be unique.
    assessmentTargetArn String
    The ARN of the assessment target to be included in the assessment template.
    durationInSeconds Number
    The duration of the assessment run in seconds.
    rulesPackageArns List<String>
    The ARNs of the rules packages that you want to use in the assessment template.
    assessmentTemplateName String
    The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
    userAttributesForFindings List<Property Map>
    The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. Within an assessment template, each key must be unique.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AssessmentTemplate resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    AssessmentTemplateTag, AssessmentTemplateTagArgs

    Key string
    A tag key.
    Value string
    A value assigned to a tag key.
    Key string
    A tag key.
    Value string
    A value assigned to a tag key.
    key String
    A tag key.
    value String
    A value assigned to a tag key.
    key string
    A tag key.
    value string
    A value assigned to a tag key.
    key str
    A tag key.
    value str
    A value assigned to a tag key.
    key String
    A tag key.
    value String
    A value assigned to a tag key.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi