Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.
pcluster get-image-stack-events
Ambil peristiwa yang terkait dengan tumpukan untuk build gambar yang ditentukan.
pcluster get-image-stack-events [-h] --image-idIMAGE_ID[--debug] [--next-tokenNEXT_TOKEN] [--queryQUERY] [--regionREGION]
Argumen bernama
-h, --help-
Menampilkan teks bantuan untuk
pcluster get-image-stack-events. --image-id, -iIMAGE_ID-
Menentukan ID gambar.
--debug-
Mengaktifkan logging debug.
--next-tokenNEXT_TOKEN-
Token untuk set hasil berikutnya.
--queryQUERY-
Menentukan JMESPath query untuk melakukan pada output.
--region, -rREGION-
Menentukan Wilayah AWS untuk menggunakan. Wilayah AWS Harus ditentukan, menggunakan variabel
AWS_DEFAULT_REGIONlingkungan,regionpengaturan di[default]bagian~/.aws/configfile, atau--regionparameter.
Contoh menggunakan AWS ParallelCluster versi 3.1.2:
$pcluster get-image-stack-events --image-idcustom-alinux2-image--regionus-east-1--query"events[0]"{ "eventId": "ParallelClusterImage-CREATE_IN_PROGRESS-2022-04-05T21:39:24.725Z", "physicalResourceId": "arn:aws:imagebuilder:us-east-1:123456789012:image/parallelclusterimage-custom-alinux2-image/3.1.2/1", "resourceStatus": "CREATE_IN_PROGRESS", "resourceStatusReason": "Resource creation Initiated", "resourceProperties": "{\"InfrastructureConfigurationArn\":\"arn:aws:imagebuilder:us-east-1:123456789012:infrastructure-configuration/parallelclusterimage-1234abcd-56ef-78gh-90ij-abcd1234efgh\",\"ImageRecipeArn\":\"arn:aws:imagebuilder:us-east-1:123456789012:image-recipe/parallelclusterimage-custom-alinux2-image/3.1.2\",\"DistributionConfigurationArn\":\"arn:aws:imagebuilder:us-east-1:123456789012:distribution-configuration/parallelclusterimage-1234abcd-56ef-78gh-90ij-abcd1234efgh\",\"EnhancedImageMetadataEnabled\":\"false\",\"Tags\":{\"parallelcluster:image_name\":\"custom-alinux2-image\",\"parallelcluster:image_id\":\"custom-alinux2-image\"}}", "stackId": "arn:aws:cloudformation:us-east-1:123456789012:stack/custom-alinux2-image/1234abcd-56ef-78gh-90ij-abcd1234efgh", "stackName": "custom-alinux2-image", "logicalResourceId": "ParallelClusterImage", "resourceType": "AWS::ImageBuilder::Image", "timestamp": "2022-04-05T21:39:24.725Z" }