package awsinspector


// Properties for defining a `CfnAssessmentTemplate`.
//
// Example:
//   // The code below shows an example of how to instantiate this type.
//   // The values are placeholders you should change.
//   import "github.com/aws/aws-cdk-go/awscdk"
//
//   cfnAssessmentTemplateProps := &CfnAssessmentTemplateProps{
//   	AssessmentTargetArn: jsii.String("assessmentTargetArn"),
//   	DurationInSeconds: jsii.Number(123),
//   	RulesPackageArns: []*string{
//   		jsii.String("rulesPackageArns"),
//   	},
//
//   	// the properties below are optional
//   	AssessmentTemplateName: jsii.String("assessmentTemplateName"),
//   	UserAttributesForFindings: []interface{}{
//   		&CfnTag{
//   			Key: jsii.String("key"),
//   			Value: jsii.String("value"),
//   		},
//   	},
//   }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html
//
type CfnAssessmentTemplateProps struct {
	// The ARN of the assessment target to be included in the assessment template.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttargetarn
	//
	AssessmentTargetArn *string `field:"required" json:"assessmentTargetArn" yaml:"assessmentTargetArn"`
	// The duration of the assessment run in seconds.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-durationinseconds
	//
	DurationInSeconds *float64 `field:"required" json:"durationInSeconds" yaml:"durationInSeconds"`
	// The ARNs of the rules packages that you want to use in the assessment template.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-rulespackagearns
	//
	RulesPackageArns *[]*string `field:"required" json:"rulesPackageArns" yaml:"rulesPackageArns"`
	// 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.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttemplatename
	//
	AssessmentTemplateName *string `field:"optional" json:"assessmentTemplateName" yaml:"assessmentTemplateName"`
	// 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.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-userattributesforfindings
	//
	UserAttributesForFindings interface{} `field:"optional" json:"userAttributesForFindings" yaml:"userAttributesForFindings"`
}

