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 ==.impl StructuralPartialEq for AddDraftAppVersionResourceMappingsInput
Auto Trait Implementations§
impl Freeze for AddDraftAppVersionResourceMappingsInput
impl RefUnwindSafe for AddDraftAppVersionResourceMappingsInput
impl Send for AddDraftAppVersionResourceMappingsInput
impl Sync for AddDraftAppVersionResourceMappingsInput
impl Unpin for AddDraftAppVersionResourceMappingsInput
impl UnwindSafe for AddDraftAppVersionResourceMappingsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more