CfnResourceDefaultVersionProps
- class aws_cdk.CfnResourceDefaultVersionProps(*, type_name=None, type_version_arn=None, version_id=None)
Bases:
object
Properties for defining a
CfnResourceDefaultVersion
.- Parameters:
type_name (
Optional
[str
]) – The name of the resource. Conditional: You must specify eitherTypeVersionArn
, orTypeName
andVersionId
.type_version_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of the resource version. Conditional: You must specify eitherTypeVersionArn
, orTypeName
andVersionId
.version_id (
Optional
[str
]) – The ID of a specific version of the resource. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the resource version when it’s registered. Conditional: 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_resource_default_version_props = cdk.CfnResourceDefaultVersionProps( type_name="typeName", type_version_arn="typeVersionArn", version_id="versionId" )
Attributes
- type_name
The name of the resource.
Conditional: You must specify either
TypeVersionArn
, orTypeName
andVersionId
.
- type_version_arn
The Amazon Resource Name (ARN) of the resource version.
Conditional: You must specify either
TypeVersionArn
, orTypeName
andVersionId
.
- version_id
The ID of a specific version of the resource.
The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the resource version when it’s registered.
Conditional: You must specify either
TypeVersionArn
, orTypeName
andVersionId
.