Struct aws_sdk_resiliencehub::operation::add_draft_app_version_resource_mappings::AddDraftAppVersionResourceMappingsInput
source · #[non_exhaustive]pub struct AddDraftAppVersionResourceMappingsInput {
pub app_arn: Option<String>,
pub resource_mappings: Option<Vec<ResourceMapping>>,
}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.app_arn: Option<String>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
resource_mappings: Option<Vec<ResourceMapping>>Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if the application is backed by a CloudFormation stack.
Implementations§
source§impl AddDraftAppVersionResourceMappingsInput
impl AddDraftAppVersionResourceMappingsInput
sourcepub fn app_arn(&self) -> Option<&str>
pub fn app_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
sourcepub fn resource_mappings(&self) -> &[ResourceMapping]
pub fn resource_mappings(&self) -> &[ResourceMapping]
Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if the application is backed by a CloudFormation stack.
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_mappings.is_none().
source§impl AddDraftAppVersionResourceMappingsInput
impl AddDraftAppVersionResourceMappingsInput
sourcepub fn builder() -> AddDraftAppVersionResourceMappingsInputBuilder
pub fn builder() -> AddDraftAppVersionResourceMappingsInputBuilder
Creates a new builder-style object to manufacture AddDraftAppVersionResourceMappingsInput.
Trait Implementations§
source§impl Clone for AddDraftAppVersionResourceMappingsInput
impl Clone for AddDraftAppVersionResourceMappingsInput
source§fn clone(&self) -> AddDraftAppVersionResourceMappingsInput
fn clone(&self) -> AddDraftAppVersionResourceMappingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AddDraftAppVersionResourceMappingsInput
impl PartialEq for AddDraftAppVersionResourceMappingsInput
source§fn eq(&self, other: &AddDraftAppVersionResourceMappingsInput) -> bool
fn eq(&self, other: &AddDraftAppVersionResourceMappingsInput) -> bool
self and other values to be equal, and is used
by ==.