Interface CfnImage.LatestVersionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnImage.LatestVersionProperty.Jsii$Proxy
- Enclosing class:
CfnImage
@Stability(Stable)
public static interface CfnImage.LatestVersionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.imagebuilder.*;
LatestVersionProperty latestVersionProperty = LatestVersionProperty.builder()
.arn("arn")
.major("major")
.minor("minor")
.patch("patch")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnImage.LatestVersionPropertystatic final classAn implementation forCfnImage.LatestVersionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetArn()The Amazon Resource Name (ARN) of the image.default StringgetMajor()The latest version ARN of the created image, with the same major version.default StringgetMinor()The latest version ARN of the created image, with the same minor version.default StringgetPatch()The latest version ARN of the created image, with the same patch version.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
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:
. . - Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
- See Also:
-
getMajor
The latest version ARN of the created image, with the same major version.- See Also:
-
getMinor
The latest version ARN of the created image, with the same minor version.- See Also:
-
getPatch
The latest version ARN of the created image, with the same patch version.- See Also:
-
builder
-