本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
Image 區段
(選用) 定義映像建置的映像屬性。
Image: Name:stringRootVolume: Size:integerEncrypted:booleanKmsKeyId:stringTags: - Key:stringValue:string
Image 屬性
Name(選用,String)-
指定 AMI 的名稱。如果未指定,則會使用呼叫 pcluster build-image命令時使用的名稱。
Tags
Tags 屬性
(選用) 指定影像的鍵/值對。
Tags: - Key:stringValue:string
Key(選用,String)-
定義標籤的名稱。
Value(選用,String)-
定義標籤的值。
RootVolume
RootVolume 屬性
(選用) 指定映像根磁碟區的屬性。
RootVolume: Size:integerEncrypted:booleanKmsKeyId:string
Size(選用,Integer)-
指定映像根磁碟區的大小,以 GiB 為單位。預設大小為ParentImage加 27 GiB 的大小。
Encrypted(選用,Boolean)-
指定磁碟區是否已加密。預設值為
false。 KmsKeyId(選用,String)-
指定用於加密磁碟區的 AWS KMS 金鑰 ARN。格式為「
arn:。Partition:kms:Region:Account:key/KeyId