CfnResourceDefaultVersionProps

class aws_cdk.aws_cloudformation.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 either TypeVersionArn , or TypeName and VersionId .

  • type_version_arn (Optional[str]) – The Amazon Resource Name (ARN) of the resource version. Conditional: You must specify either TypeVersionArn , or TypeName and VersionId .

  • 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 either TypeVersionArn , or TypeName and VersionId .

Link

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

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.aws_cloudformation as cloudformation

cfn_resource_default_version_props = cloudformation.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 , or TypeName and VersionId .

Link

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

Return type

Optional[str]

type_version_arn

The Amazon Resource Name (ARN) of the resource version.

Conditional: You must specify either TypeVersionArn , or TypeName and VersionId .

Link

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

Return type

Optional[str]

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 , or TypeName and VersionId .

Link

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

Return type

Optional[str]