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:
- Assessment
Target stringArn - 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 List<string>Arns - The ARNs of the rules packages that you want to use in the assessment template.
- Assessment
Template 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.
- User
Attributes 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.
- Assessment
Target stringArn - 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 []stringArns - The ARNs of the rules packages that you want to use in the assessment template.
- Assessment
Template 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.
- User
Attributes []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.
- assessment
Target StringArn - The ARN of the assessment target to be included in the assessment template.
- duration
In IntegerSeconds - The duration of the assessment run in seconds.
- rules
Package List<String>Arns - The ARNs of the rules packages that you want to use in the assessment template.
- assessment
Template 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.
- user
Attributes 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.
- assessment
Target stringArn - The ARN of the assessment target to be included in the assessment template.
- duration
In numberSeconds - The duration of the assessment run in seconds.
- rules
Package string[]Arns - The ARNs of the rules packages that you want to use in the assessment template.
- assessment
Template 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.
- user
Attributes 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.
- assessment
Target StringArn - The ARN of the assessment target to be included in the assessment template.
- duration
In NumberSeconds - The duration of the assessment run in seconds.
- rules
Package List<String>Arns - The ARNs of the rules packages that you want to use in the assessment template.
- assessment
Template 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.
- user
Attributes 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.