Struct aws_sdk_fis::types::ExperimentTemplateTarget
source · #[non_exhaustive]pub struct ExperimentTemplateTarget {
pub resource_type: Option<String>,
pub resource_arns: Option<Vec<String>>,
pub resource_tags: Option<HashMap<String, String>>,
pub filters: Option<Vec<ExperimentTemplateTargetFilter>>,
pub selection_mode: Option<String>,
pub parameters: Option<HashMap<String, String>>,
}
Expand description
Describes a target for an experiment template.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resource_type: Option<String>
The resource type.
resource_arns: Option<Vec<String>>
The Amazon Resource Names (ARNs) of the targets.
The tags for the target resources.
filters: Option<Vec<ExperimentTemplateTargetFilter>>
The filters to apply to identify target resources using specific attributes.
selection_mode: Option<String>
Scopes the identified resources to a specific count or percentage.
parameters: Option<HashMap<String, String>>
The resource type parameters.
Implementations§
source§impl ExperimentTemplateTarget
impl ExperimentTemplateTarget
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The resource type.
sourcepub fn resource_arns(&self) -> &[String]
pub fn resource_arns(&self) -> &[String]
The Amazon Resource Names (ARNs) of the targets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_arns.is_none()
.
The tags for the target resources.
sourcepub fn filters(&self) -> &[ExperimentTemplateTargetFilter]
pub fn filters(&self) -> &[ExperimentTemplateTargetFilter]
The filters to apply to identify target resources using specific attributes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn selection_mode(&self) -> Option<&str>
pub fn selection_mode(&self) -> Option<&str>
Scopes the identified resources to a specific count or percentage.
source§impl ExperimentTemplateTarget
impl ExperimentTemplateTarget
sourcepub fn builder() -> ExperimentTemplateTargetBuilder
pub fn builder() -> ExperimentTemplateTargetBuilder
Creates a new builder-style object to manufacture ExperimentTemplateTarget
.
Trait Implementations§
source§impl Clone for ExperimentTemplateTarget
impl Clone for ExperimentTemplateTarget
source§fn clone(&self) -> ExperimentTemplateTarget
fn clone(&self) -> ExperimentTemplateTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExperimentTemplateTarget
impl Debug for ExperimentTemplateTarget
source§impl PartialEq for ExperimentTemplateTarget
impl PartialEq for ExperimentTemplateTarget
source§fn eq(&self, other: &ExperimentTemplateTarget) -> bool
fn eq(&self, other: &ExperimentTemplateTarget) -> bool
self
and other
values to be equal, and is used
by ==
.