CmdID / aws / aws imagebuilder
aws imagebuilder create-infrastructure-configuration
Creates a new infrastructure configuration. AWS CLI reference
18 options Its page in the AWS CLI reference
Options
--client-tokenA unique, case-sensitive identifier you provide to ensure that the operation runs no more than one time.--descriptionThe description of the infrastructure configuration.--dry-runValidates the required permissions and request parameters without performing the operation.--instance-metadata-optionsThe instance metadata service (IMDS) settings that Image Builder applies to the EC2 build and test instances it launches during image creation.--instance-profile-nameThe instance profile to associate with the instance used to customize your Amazon EC2 AMI.--instance-typesThe instance types of the infrastructure configuration.--key-pairThe key pair of the infrastructure configuration.--loggingThe logging configuration of the infrastructure configuration.--nameThe name of the infrastructure configuration.--parent-instanceThe Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance.--placementThe instance placement settings that define where the build and test instances that Image Builder launches during image creation run.--resource-tagsThe metadata tags to assign to the Amazon EC2 instance that Image Builder launches during the build process.--security-group-idsThe security group IDs to associate with the instance used to customize your Amazon EC2 AMI.--sns-topic-arnThe Amazon Resource Name (ARN) of the SNS topic to which Image Builder sends image build event notifications.--subnet-idThe subnet ID in which to place the instance used to customize your Amazon EC2 AMI.--tagsThe metadata tags to assign to the infrastructure configuration resource that Image Builder creates as output.--terminate-instance-on-completionSpecifies whether Image Builder terminates build and test instances when image creation ends without a failure (success, cancellation, or expiration).--terminate-instance-on-failureSpecifies whether to terminate the instance on failure.