Image 部分 - Amazon ParallelCluster
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Image 部分

(可选)定义映像构建的图像属性。

Image: Name: string RootVolume: Size: integer Encrypted: boolean KmsKeyId: string Tags: - Key: string Value: string

Image 属性

Name可选String

指定 AMI 的名称。如果未指定,则使用调用pcluster build-image命令时使用的名称。

Tags

Tags 属性

可选)为图像指定键值对。

Tags: - Key: string Value: string
Key可选String

定义标签的名称。

Value可选String

定义标签的值。

RootVolume

RootVolume 属性

可选)指定图像根卷的属性。

RootVolume: Size: integer Encrypted: boolean KmsKeyId: string
Size可选Integer

指定图像根卷的大小,以 GiB 为单位。默认大小是ParentImage加上 27 GiB 的大小。

Encrypted可选Boolean

指定卷是否加密。默认值为 false

KmsKeyId可选String

指定用于加密卷的Amazon KMS密钥的 ARN。格式为 “arn:Partition:kms:Region:Account:key/KeyId