ImageSourceIdentifier - Amazon WorkSpaces Service

ImageSourceIdentifier

Describes the image import source.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

Ec2ImageId

The identifier of the EC2 image.

Type: String

Pattern: ^ami\-([a-f0-9]{8}|[a-f0-9]{17})$

Required: No

Ec2ImportTaskId

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

Type: String

Length Constraints: Minimum length of 19. Maximum length of 28.

Pattern: ^import-ami\-([a-zA-Z0-9]{8}|[a-zA-Z0-9]{17})$

Required: No

ImageBuildVersionArn

The ARN of the EC2 Image Builder image.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: ^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws(?:-[a-z-]+)?):image/[a-z0-9-_]+/(?:(?:([0-9]+|x)\.([0-9]+|x)\.([0-9]+|x))|(?:[0-9]+\.[0-9]+\.[0-9]+/[0-9]+))$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: