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 eitherTypeVersionArn
, orTypeName
andVersionId
.type_version_arn (
Optional
[str
]) – The version ID of the type configuration. You must specify eitherTypeVersionArn
, orTypeName
andVersionId
.version_id (
Optional
[str
]) – The version ID of the type specified. You must specify eitherTypeVersionArn
, orTypeName
andVersionId
.
- See:
- 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
, orTypeName
andVersionId
.
- type_version_arn
The version ID of the type configuration.
You must specify either
TypeVersionArn
, orTypeName
andVersionId
.
- version_id
The version ID of the type specified.
You must specify either
TypeVersionArn
, orTypeName
andVersionId
.