CfnHookProps

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

Bases: object

Construction properties of 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 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”).