CfnHookProps

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

Bases: object

Construction properties of {@link CfnHook}.

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

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

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 is of type object

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

Return type

Optional[Mapping[str, Any]]

type

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

Return type

str