interface LatestVersionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.CfnImage.LatestVersionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnImage_LatestVersionProperty |
Java | software.amazon.awscdk.services.imagebuilder.CfnImage.LatestVersionProperty |
Python | aws_cdk.aws_imagebuilder.CfnImage.LatestVersionProperty |
TypeScript | aws-cdk-lib » aws_imagebuilder » CfnImage » LatestVersionProperty |
The latest version references of the image.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const latestVersionProperty: imagebuilder.CfnImage.LatestVersionProperty = {
arn: 'arn',
major: 'major',
minor: 'minor',
patch: 'patch',
};
Properties
| Name | Type | Description |
|---|---|---|
| arn? | string | The Amazon Resource Name (ARN) of the image. |
| major? | string | The latest version ARN of the created image, with the same major version. |
| minor? | string | The latest version ARN of the created image, with the same minor version. |
| patch? | string | The latest version ARN of the created image, with the same patch version. |
arn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the image.
Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:
- Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.
- Version ARNs have only the first three nodes: <major>.<minor>.<patch>
- Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
major?
Type:
string
(optional)
The latest version ARN of the created image, with the same major version.
minor?
Type:
string
(optional)
The latest version ARN of the created image, with the same minor version.
patch?
Type:
string
(optional)
The latest version ARN of the created image, with the same patch version.

.NET
Go
Java
Python
TypeScript