amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFormation.Types.ChangeSetHook

Description

 
Synopsis

Documentation

data ChangeSetHook Source #

Specifies the resource, the hook, and the hook version to be invoked.

See: newChangeSetHook smart constructor.

Constructors

ChangeSetHook' 

Fields

Instances

Instances details
FromXML ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

Generic ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

Associated Types

type Rep ChangeSetHook :: Type -> Type #

Read ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

Show ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

NFData ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

Methods

rnf :: ChangeSetHook -> () #

Eq ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

Hashable ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

type Rep ChangeSetHook Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ChangeSetHook

type Rep ChangeSetHook = D1 ('MetaData "ChangeSetHook" "Amazonka.CloudFormation.Types.ChangeSetHook" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "ChangeSetHook'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failureMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HookFailureMode)) :*: (S1 ('MetaSel ('Just "invocationPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HookInvocationPoint)) :*: S1 ('MetaSel ('Just "targetDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeSetHookTargetDetails)))) :*: (S1 ('MetaSel ('Just "typeConfigurationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "typeVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newChangeSetHook :: ChangeSetHook Source #

Create a value of ChangeSetHook with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:failureMode:ChangeSetHook', changeSetHook_failureMode - 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.

$sel:invocationPoint:ChangeSetHook', changeSetHook_invocationPoint - Specifies the points in provisioning logic where a hook is invoked.

$sel:targetDetails:ChangeSetHook', changeSetHook_targetDetails - Specifies details about the target that the hook will run against.

$sel:typeConfigurationVersionId:ChangeSetHook', changeSetHook_typeConfigurationVersionId - The version ID of the type configuration.

$sel:typeName:ChangeSetHook', changeSetHook_typeName - 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

$sel:typeVersionId:ChangeSetHook', changeSetHook_typeVersionId - The version ID of the type specified.

changeSetHook_failureMode :: Lens' ChangeSetHook (Maybe HookFailureMode) Source #

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.

changeSetHook_invocationPoint :: Lens' ChangeSetHook (Maybe HookInvocationPoint) Source #

Specifies the points in provisioning logic where a hook is invoked.

changeSetHook_targetDetails :: Lens' ChangeSetHook (Maybe ChangeSetHookTargetDetails) Source #

Specifies details about the target that the hook will run against.

changeSetHook_typeConfigurationVersionId :: Lens' ChangeSetHook (Maybe Text) Source #

The version ID of the type configuration.

changeSetHook_typeName :: Lens' ChangeSetHook (Maybe Text) Source #

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

changeSetHook_typeVersionId :: Lens' ChangeSetHook (Maybe Text) Source #

The version ID of the type specified.