CfnHookProps

class aws_cdk.core.CfnHookProps(*, type, properties=None)

Bases: object

Construction properties of {@link CfnHook}.

Parameters:
  • type (str) – The type of the hook (for example, “AWS::CodeDeploy::BlueGreen”).

  • properties (Optional[Mapping[str, Any]]) – The properties of the hook. Default: - no properties

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.core as cdk

# properties: Any

cfn_hook_props = cdk.CfnHookProps(
    type="type",

    # the properties below are optional
    properties={
        "properties_key": properties
    }
)

Attributes

properties

The properties of the hook.

Default:
  • no properties

type

The type of the hook (for example, “AWS::CodeDeploy::BlueGreen”).