interface CfnResourceDefaultVersionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnResourceDefaultVersionProps |
Java | software.amazon.awscdk.core.CfnResourceDefaultVersionProps |
Python | aws_cdk.core.CfnResourceDefaultVersionProps |
TypeScript | @aws-cdk/core » CfnResourceDefaultVersionProps |
Properties for defining a CfnResourceDefaultVersion
.
Example
// 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/core';
const cfnResourceDefaultVersionProps: cdk.CfnResourceDefaultVersionProps = {
typeName: 'typeName',
typeVersionArn: 'typeVersionArn',
versionId: 'versionId',
};
Properties
Name | Type | Description |
---|---|---|
type | string | The name of the resource. |
type | string | The Amazon Resource Name (ARN) of the resource version. |
version | string | The ID of a specific version of the resource. |
typeName?
Type:
string
(optional)
The name of the resource.
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.
typeVersionArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the resource version.
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.
versionId?
Type:
string
(optional)
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
.