Struct aws_sdk_cloudformation::types::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§
source§impl 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.
source§impl ChangeSetHook
impl ChangeSetHook
sourcepub fn builder() -> ChangeSetHookBuilder
pub fn builder() -> ChangeSetHookBuilder
Creates a new builder-style object to manufacture ChangeSetHook
.
Trait Implementations§
source§impl Clone for ChangeSetHook
impl Clone for ChangeSetHook
source§fn clone(&self) -> ChangeSetHook
fn clone(&self) -> ChangeSetHook
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChangeSetHook
impl Debug for ChangeSetHook
source§impl PartialEq for ChangeSetHook
impl PartialEq for ChangeSetHook
source§fn eq(&self, other: &ChangeSetHook) -> bool
fn eq(&self, other: &ChangeSetHook) -> bool
self
and other
values to be equal, and is used
by ==
.