ImageSourceIdentifier

Describes the image import source.

Inheritors

Types

Link copied to clipboard
data class Ec2ImageId(val value: String) : ImageSourceIdentifier

The identifier of the EC2 image.

Link copied to clipboard

The EC2 import task ID to import the image from the Amazon EC2 VM import process.

Link copied to clipboard

The ARN of the EC2 Image Builder image.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ImageSourceIdentifier as a Ec2ImageId and retrieves its kotlin.String value. Throws an exception if the ImageSourceIdentifier is not a Ec2ImageId.

Link copied to clipboard

Casts this ImageSourceIdentifier as a Ec2ImageId and retrieves its kotlin.String value. Returns null if the ImageSourceIdentifier is not a Ec2ImageId.

Link copied to clipboard

Casts this ImageSourceIdentifier as a Ec2ImportTaskId and retrieves its kotlin.String value. Throws an exception if the ImageSourceIdentifier is not a Ec2ImportTaskId.

Link copied to clipboard

Casts this ImageSourceIdentifier as a Ec2ImportTaskId and retrieves its kotlin.String value. Returns null if the ImageSourceIdentifier is not a Ec2ImportTaskId.

Link copied to clipboard

Casts this ImageSourceIdentifier as a ImageBuildVersionArn and retrieves its kotlin.String value. Throws an exception if the ImageSourceIdentifier is not a ImageBuildVersionArn.

Link copied to clipboard