# CfnResourceDefaultVersionProps

Properties for defining a `CfnResourceDefaultVersion`.

Extends: CfnResourceDefaultVersionProps
Used as props by: CfnResourceDefaultVersion

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## 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

- `typeName`: string — The name of the resource.

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

- `typeVersionArn`: string | [IResourceVersionRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_cloudformation.IResourceVersionRef.html) — The Amazon Resource Name (ARN) of the resource version.

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

- `versionId`: 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` .
