#[non_exhaustive]pub struct ChangeSetHookResourceTargetDetails {
pub logical_resource_id: Option<String>,
pub resource_type: Option<String>,
pub resource_action: Option<ChangeAction>,
}
Expand description
Specifies RESOURCE
type target details for activated hooks.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.logical_resource_id: Option<String>
The resource's logical ID, which is defined in the stack's template.
resource_type: Option<String>
The type of CloudFormation resource, such as AWS::S3::Bucket
.
resource_action: Option<ChangeAction>
Specifies the action of the resource.
Implementations§
source§impl ChangeSetHookResourceTargetDetails
impl ChangeSetHookResourceTargetDetails
sourcepub fn logical_resource_id(&self) -> Option<&str>
pub fn logical_resource_id(&self) -> Option<&str>
The resource's logical ID, which is defined in the stack's template.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of CloudFormation resource, such as AWS::S3::Bucket
.
sourcepub fn resource_action(&self) -> Option<&ChangeAction>
pub fn resource_action(&self) -> Option<&ChangeAction>
Specifies the action of the resource.
source§impl ChangeSetHookResourceTargetDetails
impl ChangeSetHookResourceTargetDetails
sourcepub fn builder() -> ChangeSetHookResourceTargetDetailsBuilder
pub fn builder() -> ChangeSetHookResourceTargetDetailsBuilder
Creates a new builder-style object to manufacture ChangeSetHookResourceTargetDetails
.
Trait Implementations§
source§impl Clone for ChangeSetHookResourceTargetDetails
impl Clone for ChangeSetHookResourceTargetDetails
source§fn clone(&self) -> ChangeSetHookResourceTargetDetails
fn clone(&self) -> ChangeSetHookResourceTargetDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for ChangeSetHookResourceTargetDetails
impl PartialEq for ChangeSetHookResourceTargetDetails
source§fn eq(&self, other: &ChangeSetHookResourceTargetDetails) -> bool
fn eq(&self, other: &ChangeSetHookResourceTargetDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChangeSetHookResourceTargetDetails
Auto Trait Implementations§
impl Freeze for ChangeSetHookResourceTargetDetails
impl RefUnwindSafe for ChangeSetHookResourceTargetDetails
impl Send for ChangeSetHookResourceTargetDetails
impl Sync for ChangeSetHookResourceTargetDetails
impl Unpin for ChangeSetHookResourceTargetDetails
impl UnwindSafe for ChangeSetHookResourceTargetDetails
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.