Struct aws_sdk_cloudformation::model::ChangeSetHook
source · [−]#[non_exhaustive]pub struct ChangeSetHook {
pub invocation_point: Option<HookInvocationPoint>,
pub failure_mode: Option<HookFailureMode>,
pub type_name: Option<String>,
pub type_version_id: Option<String>,
pub type_configuration_version_id: Option<String>,
pub target_details: Option<ChangeSetHookTargetDetails>,
}
Expand description
Specifies the resource, the hook, and the hook version to be invoked.
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.invocation_point: Option<HookInvocationPoint>
Specifies the points in provisioning logic where a hook is invoked.
failure_mode: Option<HookFailureMode>
Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAIL
Stops provisioning resources. -
WARN
Allows provisioning to continue with a warning message.
type_name: Option<String>
The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of Organization::Service::Hook
.
The following organization namespaces are reserved and can't be used in your hook type names:
-
Alexa
-
AMZN
-
Amazon
-
ASK
-
AWS
-
Custom
-
Dev
type_version_id: Option<String>
The version ID of the type specified.
type_configuration_version_id: Option<String>
The version ID of the type configuration.
target_details: Option<ChangeSetHookTargetDetails>
Specifies details about the target that the hook will run against.
Implementations
sourceimpl ChangeSetHook
impl ChangeSetHook
sourcepub fn invocation_point(&self) -> Option<&HookInvocationPoint>
pub fn invocation_point(&self) -> Option<&HookInvocationPoint>
Specifies the points in provisioning logic where a hook is invoked.
sourcepub fn failure_mode(&self) -> Option<&HookFailureMode>
pub fn failure_mode(&self) -> Option<&HookFailureMode>
Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAIL
Stops provisioning resources. -
WARN
Allows provisioning to continue with a warning message.
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of Organization::Service::Hook
.
The following organization namespaces are reserved and can't be used in your hook type names:
-
Alexa
-
AMZN
-
Amazon
-
ASK
-
AWS
-
Custom
-
Dev
sourcepub fn type_version_id(&self) -> Option<&str>
pub fn type_version_id(&self) -> Option<&str>
The version ID of the type specified.
sourcepub fn type_configuration_version_id(&self) -> Option<&str>
pub fn type_configuration_version_id(&self) -> Option<&str>
The version ID of the type configuration.
sourcepub fn target_details(&self) -> Option<&ChangeSetHookTargetDetails>
pub fn target_details(&self) -> Option<&ChangeSetHookTargetDetails>
Specifies details about the target that the hook will run against.
sourceimpl ChangeSetHook
impl ChangeSetHook
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ChangeSetHook
.
Trait Implementations
sourceimpl Clone for ChangeSetHook
impl Clone for ChangeSetHook
sourcefn clone(&self) -> ChangeSetHook
fn clone(&self) -> ChangeSetHook
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChangeSetHook
impl Debug for ChangeSetHook
sourceimpl PartialEq<ChangeSetHook> for ChangeSetHook
impl PartialEq<ChangeSetHook> for ChangeSetHook
sourcefn eq(&self, other: &ChangeSetHook) -> bool
fn eq(&self, other: &ChangeSetHook) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChangeSetHook) -> bool
fn ne(&self, other: &ChangeSetHook) -> bool
This method tests for !=
.
impl StructuralPartialEq for ChangeSetHook
Auto Trait Implementations
impl RefUnwindSafe for ChangeSetHook
impl Send for ChangeSetHook
impl Sync for ChangeSetHook
impl Unpin for ChangeSetHook
impl UnwindSafe for ChangeSetHook
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more