AWS::CloudFormation::ResourceDefaultVersionThe `AWS::CloudFormation::ResourceDefaultVersion` resource specifies the default version of a resource. The default version of a resource will be used in CloudFormation operations. For information about the CloudFormation registry, see [Managing extensions with the CloudFormation registry](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html) in the *CloudFormation User Guide* .
import { CfnResourceDefaultVersion } from 'aws-cdk-lib/aws-cloudformation';Or use the module namespace:
import * as cloudformation from 'aws-cdk-lib/aws-cloudformation';
// cloudformation.CfnResourceDefaultVersionConfiguration passed to the constructor as CfnResourceDefaultVersionProps.
typeNameOptionalstringThe name of the resource. Conditional: You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
typeVersionArnOptionalstring | IResourceVersionRefThe Amazon Resource Name (ARN) of the resource version. Conditional: You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
versionIdOptionalstringThe 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` .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-cloudformationAWS::CloudFormation::ResourceDefaultVersion