CfnHookDefaultVersionProps
- class aws_cdk.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. import aws_cdk as cdk cfn_hook_default_version_props = cdk.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
.