[][src]Struct rusoto_inspector::CreateAssessmentTemplateRequest

pub struct CreateAssessmentTemplateRequest {
    pub assessment_target_arn: String,
    pub assessment_template_name: String,
    pub duration_in_seconds: i64,
    pub rules_package_arns: Vec<String>,
    pub user_attributes_for_findings: Option<Vec<Attribute>>,
}

Fields

assessment_target_arn: String

The ARN that specifies the assessment target for which you want to create the assessment template.

assessment_template_name: 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.

duration_in_seconds: i64

The duration of the assessment run in seconds.

rules_package_arns: Vec<String>

The ARNs that specify the rules packages that you want to attach to the assessment template.

user_attributes_for_findings: Option<Vec<Attribute>>

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.

Trait Implementations

impl Clone for CreateAssessmentTemplateRequest[src]

impl Debug for CreateAssessmentTemplateRequest[src]

impl Default for CreateAssessmentTemplateRequest[src]

impl PartialEq<CreateAssessmentTemplateRequest> for CreateAssessmentTemplateRequest[src]

impl Serialize for CreateAssessmentTemplateRequest[src]

impl StructuralPartialEq for CreateAssessmentTemplateRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.