class Aws::Imagebuilder::Types::CreateInfrastructureConfigurationRequest
@note When making an API call, you may pass CreateInfrastructureConfigurationRequest
data as a hash: { name: "ResourceName", # required description: "NonEmptyString", instance_types: ["InstanceType"], instance_profile_name: "InstanceProfileNameType", # required security_group_ids: ["NonEmptyString"], subnet_id: "NonEmptyString", logging: { s3_logs: { s3_bucket_name: "NonEmptyString", s3_key_prefix: "NonEmptyString", }, }, key_pair: "NonEmptyString", terminate_instance_on_failure: false, sns_topic_arn: "SnsTopicArn", resource_tags: { "TagKey" => "TagValue", }, tags: { "TagKey" => "TagValue", }, client_token: "ClientToken", # required }
@!attribute [rw] name
The name of the infrastructure configuration. @return [String]
@!attribute [rw] description
The description of the infrastructure configuration. @return [String]
@!attribute [rw] instance_types
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability. @return [Array<String>]
@!attribute [rw] instance_profile_name
The instance profile to associate with the instance used to customize your Amazon EC2 AMI. @return [String]
@!attribute [rw] security_group_ids
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI. @return [Array<String>]
@!attribute [rw] subnet_id
The subnet ID in which to place the instance used to customize your Amazon EC2 AMI. @return [String]
@!attribute [rw] logging
The logging configuration of the infrastructure configuration. @return [Types::Logging]
@!attribute [rw] key_pair
The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image. @return [String]
@!attribute [rw] terminate_instance_on_failure
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails. @return [Boolean]
@!attribute [rw] sns_topic_arn
The SNS topic on which to send image build events. @return [String]
@!attribute [rw] resource_tags
The tags attached to the resource created by Image Builder. @return [Hash<String,String>]
@!attribute [rw] tags
The tags of the infrastructure configuration. @return [Hash<String,String>]
@!attribute [rw] client_token
The idempotency token used to make this request idempotent. **A suitable default value is auto-generated.** You should normally not need to pass this option. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateInfrastructureConfigurationRequest AWS API Documentation
Constants
- SENSITIVE