CfnHookDefaultVersionProps

class aws_cdk.aws_cloudformation.CfnHookDefaultVersionProps(*, type_name=None, type_version_arn=None, version_id=None)

Bases: object

Properties for defining a CfnHookDefaultVersion.

Parameters:
  • type_name (Optional[str]) – The name of the hook. You must specify either TypeVersionArn , or TypeName and VersionId .

  • type_version_arn (Optional[str]) – The version ID of the type configuration. You must specify either TypeVersionArn , or TypeName and VersionId .

  • version_id (Optional[str]) – The version ID of the type specified. You must specify either TypeVersionArn , or TypeName and VersionId .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html

ExampleMetadata:

fixture=_generated

Example:

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

cfn_hook_default_version_props = cloudformation.CfnHookDefaultVersionProps(
    type_name="typeName",
    type_version_arn="typeVersionArn",
    version_id="versionId"
)

Attributes

type_name

The name of the hook.

You must specify either TypeVersionArn , or TypeName and VersionId .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-typename

type_version_arn

The version ID of the type configuration.

You must specify either TypeVersionArn , or TypeName and VersionId .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-typeversionarn

version_id

The version ID of the type specified.

You must specify either TypeVersionArn , or TypeName and VersionId .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-versionid