pub struct CreateInfrastructureConfigurationRequest {Show 13 fields
pub client_token: String,
pub description: Option<String>,
pub instance_profile_name: String,
pub instance_types: Option<Vec<String>>,
pub key_pair: Option<String>,
pub logging: Option<Logging>,
pub name: String,
pub resource_tags: Option<HashMap<String, String>>,
pub security_group_ids: Option<Vec<String>>,
pub sns_topic_arn: Option<String>,
pub subnet_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub terminate_instance_on_failure: Option<bool>,
}
Fields§
§client_token: String
The idempotency token used to make this request idempotent.
description: Option<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: Option<Vec<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: Option<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: Option<Logging>
The logging configuration of the infrastructure configuration.
name: String
The name of the infrastructure configuration.
The tags attached to the resource created by Image Builder.
security_group_ids: Option<Vec<String>>
The security group IDs to associate with the instance used to customize your EC2 AMI.
sns_topic_arn: Option<String>
The SNS topic on which to send image build events.
subnet_id: Option<String>
The subnet ID in which to place the instance used to customize your EC2 AMI.
The tags of the infrastructure configuration.
terminate_instance_on_failure: Option<bool>
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.
Trait Implementations§
Source§impl Clone for CreateInfrastructureConfigurationRequest
impl Clone for CreateInfrastructureConfigurationRequest
Source§fn clone(&self) -> CreateInfrastructureConfigurationRequest
fn clone(&self) -> CreateInfrastructureConfigurationRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for CreateInfrastructureConfigurationRequest
impl Default for CreateInfrastructureConfigurationRequest
Source§fn default() -> CreateInfrastructureConfigurationRequest
fn default() -> CreateInfrastructureConfigurationRequest
Source§impl PartialEq for CreateInfrastructureConfigurationRequest
impl PartialEq for CreateInfrastructureConfigurationRequest
Source§fn eq(&self, other: &CreateInfrastructureConfigurationRequest) -> bool
fn eq(&self, other: &CreateInfrastructureConfigurationRequest) -> bool
self
and other
values to be equal, and is used by ==
.