CreateAssessmentTemplateRequest
public struct CreateAssessmentTemplateRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The ARN that specifies the assessment target for which you want to create the assessment template.
Declaration
Swift
public let assessmentTargetArn: String
-
The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
Declaration
Swift
public let assessmentTemplateName: String
-
The duration of the assessment run in seconds.
Declaration
Swift
public let durationInSeconds: Int
-
The ARNs that specify the rules packages that you want to attach to the assessment template.
Declaration
Swift
public let rulesPackageArns: [String]
-
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.
Declaration
Swift
public let userAttributesForFindings: [Attribute]?
-
init(assessmentTargetArn:assessmentTemplateName:durationInSeconds:rulesPackageArns:userAttributesForFindings:)
Undocumented
Declaration
Swift
public init(assessmentTargetArn: String, assessmentTemplateName: String, durationInSeconds: Int, rulesPackageArns: [String], userAttributesForFindings: [Attribute]? = nil)
-
Declaration
Swift
public func validate(name: String) throws