ImageSourceIdentifier - Amazon WorkSpaces Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: