CfnAssessmentTemplateProps

class aws_cdk.aws_inspector.CfnAssessmentTemplateProps(*, assessment_target_arn, duration_in_seconds, rules_package_arns, assessment_template_name=None, user_attributes_for_findings=None)

Bases: object

__init__(*, assessment_target_arn, duration_in_seconds, rules_package_arns, assessment_template_name=None, user_attributes_for_findings=None)

Properties for defining a AWS::Inspector::AssessmentTemplate.

Parameters
  • assessment_target_arn (str) – AWS::Inspector::AssessmentTemplate.AssessmentTargetArn.

  • duration_in_seconds (Union[int, float]) – AWS::Inspector::AssessmentTemplate.DurationInSeconds.

  • rules_package_arns (List[str]) – AWS::Inspector::AssessmentTemplate.RulesPackageArns.

  • assessment_template_name (Optional[str]) – AWS::Inspector::AssessmentTemplate.AssessmentTemplateName.

  • user_attributes_for_findings (Union[IResolvable, None, List[Union[IResolvable, CfnTag]]]) – AWS::Inspector::AssessmentTemplate.UserAttributesForFindings.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

Attributes

assessment_target_arn

AWS::Inspector::AssessmentTemplate.AssessmentTargetArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttargetarn

Return type

str

assessment_template_name

AWS::Inspector::AssessmentTemplate.AssessmentTemplateName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttemplatename

Return type

Optional[str]

duration_in_seconds

AWS::Inspector::AssessmentTemplate.DurationInSeconds.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-durationinseconds

Return type

Union[int, float]

rules_package_arns

AWS::Inspector::AssessmentTemplate.RulesPackageArns.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-rulespackagearns

Return type

List[str]

user_attributes_for_findings

AWS::Inspector::AssessmentTemplate.UserAttributesForFindings.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-userattributesforfindings

Return type

Union[IResolvable, None, List[Union[IResolvable, CfnTag]]]