You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Imagebuilder::Types::CreateInfrastructureConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::CreateInfrastructureConfigurationRequest
- Defined in:
- (unknown)
Overview
When passing CreateInfrastructureConfigurationRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "ResourceName", # required
description: "NonEmptyString",
instance_types: ["InstanceType"],
instance_profile_name: "NonEmptyString", # 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
}
Instance Attribute Summary collapse
-
#client_token ⇒ String
The idempotency token used to make this request idempotent.
-
#description ⇒ String
The description of the infrastructure configuration.
-
#instance_profile_name ⇒ String
The instance profile to associate with the instance used to customize your EC2 AMI.
-
#instance_types ⇒ Array<String>
The instance types of the infrastructure configuration.
-
#key_pair ⇒ String
The key pair of the infrastructure configuration.
-
#logging ⇒ Types::Logging
The logging configuration of the infrastructure configuration.
-
#name ⇒ String
The name of the infrastructure configuration.
-
#resource_tags ⇒ Hash<String,String>
The tags attached to the resource created by Image Builder.
-
#security_group_ids ⇒ Array<String>
The security group IDs to associate with the instance used to customize your EC2 AMI.
-
#sns_topic_arn ⇒ String
The SNS topic on which to send image build events.
-
#subnet_id ⇒ String
The subnet ID in which to place the instance used to customize your EC2 AMI.
-
#tags ⇒ Hash<String,String>
The tags of the infrastructure configuration.
-
#terminate_instance_on_failure ⇒ Boolean
The terminate instance on failure setting of the infrastructure configuration.
Instance Attribute Details
#client_token ⇒ String
The idempotency token used to make this request idempotent.
#description ⇒ String
The description of the infrastructure configuration.
#instance_profile_name ⇒ String
The instance profile to associate with the instance used to customize your EC2 AMI.
#instance_types ⇒ Array<String>
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.
#key_pair ⇒ String
The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.
#logging ⇒ Types::Logging
The logging configuration of the infrastructure configuration.
#name ⇒ String
The name of the infrastructure configuration.
#resource_tags ⇒ Hash<String,String>
The tags attached to the resource created by Image Builder.
#security_group_ids ⇒ Array<String>
The security group IDs to associate with the instance used to customize your EC2 AMI.
#sns_topic_arn ⇒ String
The SNS topic on which to send image build events.
#subnet_id ⇒ String
The subnet ID in which to place the instance used to customize your EC2 AMI.
#tags ⇒ Hash<String,String>
The tags of the infrastructure configuration.
#terminate_instance_on_failure ⇒ Boolean
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.