Skip to content
v2.273.0

CfnResourceDefaultVersionProps Struct ​

Properties for defining a CfnResourceDefaultVersion.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnResourceDefaultVersionProps: cdk.CfnResourceDefaultVersionProps = {
  typeName: 'typeName',
  typeVersionArn: 'typeVersionArn',
  versionId: 'versionId',
};

Properties ​

typeNamestringtype_namestrtypeNameStringTypeNamestringTypeName*string#
The name of the resource.

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

typeVersionArnstring | IResourceVersionReftype_version_arntyping.Union[str, IResourceVersionRef]typeVersionArnStringTypeVersionArnstringTypeVersionArninterface{}#
The Amazon Resource Name (ARN) of the resource version.

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

versionIdstringversion_idstrversionIdStringVersionIdstringVersionId*string#
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 .

Used as props by ​