We recommend new projects start with resources from the AWS provider.
aws-native.inspector.AssessmentTemplate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AssessmentTemplate resource accepts the following input properties:
- AssessmentTarget stringArn 
- The ARN of the assessment target to be included in the assessment template.
- DurationIn intSeconds 
- The duration of the assessment run in seconds.
- RulesPackage List<string>Arns 
- The ARNs of the rules packages that you want to use in the assessment template.
- AssessmentTemplate stringName 
- 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.
- UserAttributes List<Pulumi.For Findings Aws Native. Inspector. Inputs. Assessment Template Tag> 
- 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.
- AssessmentTarget stringArn 
- The ARN of the assessment target to be included in the assessment template.
- DurationIn intSeconds 
- The duration of the assessment run in seconds.
- RulesPackage []stringArns 
- The ARNs of the rules packages that you want to use in the assessment template.
- AssessmentTemplate stringName 
- 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.
- UserAttributes []AssessmentFor Findings Template Tag Args 
- 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.
- assessmentTarget StringArn 
- The ARN of the assessment target to be included in the assessment template.
- durationIn IntegerSeconds 
- The duration of the assessment run in seconds.
- rulesPackage List<String>Arns 
- The ARNs of the rules packages that you want to use in the assessment template.
- assessmentTemplate StringName 
- 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.
- userAttributes List<AssessmentFor Findings Template Tag> 
- 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.
- assessmentTarget stringArn 
- The ARN of the assessment target to be included in the assessment template.
- durationIn numberSeconds 
- The duration of the assessment run in seconds.
- rulesPackage string[]Arns 
- The ARNs of the rules packages that you want to use in the assessment template.
- assessmentTemplate stringName 
- 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.
- userAttributes AssessmentFor Findings Template Tag[] 
- 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_ strarn 
- The ARN of the assessment target to be included in the assessment template.
- duration_in_ intseconds 
- The duration of the assessment run in seconds.
- rules_package_ Sequence[str]arns 
- The ARNs of the rules packages that you want to use in the assessment template.
- assessment_template_ strname 
- 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_ Sequence[Assessmentfor_ findings Template Tag Args] 
- 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.
- assessmentTarget StringArn 
- The ARN of the assessment target to be included in the assessment template.
- durationIn NumberSeconds 
- The duration of the assessment run in seconds.
- rulesPackage List<String>Arns 
- The ARNs of the rules packages that you want to use in the assessment template.
- assessmentTemplate StringName 
- 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.
- userAttributes List<Property Map>For Findings 
- 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:
Supporting Types
AssessmentTemplateTag, AssessmentTemplateTagArgs      
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.