pub struct UpdateInfrastructureConfigurationRequest {
pub client_token: String,
pub description: Option<String>,
pub infrastructure_configuration_arn: String,
pub instance_profile_name: String,
pub instance_types: Option<Vec<String>>,
pub key_pair: Option<String>,
pub logging: Option<Logging>,
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 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.
infrastructure_configuration_arn: String
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
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.
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 to place the instance used to customize your EC2 AMI in.
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
sourceimpl Clone for UpdateInfrastructureConfigurationRequest
impl Clone for UpdateInfrastructureConfigurationRequest
sourcefn clone(&self) -> UpdateInfrastructureConfigurationRequest
fn clone(&self) -> UpdateInfrastructureConfigurationRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for UpdateInfrastructureConfigurationRequest
impl Default for UpdateInfrastructureConfigurationRequest
sourcefn default() -> UpdateInfrastructureConfigurationRequest
fn default() -> UpdateInfrastructureConfigurationRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateInfrastructureConfigurationRequest> for UpdateInfrastructureConfigurationRequest
impl PartialEq<UpdateInfrastructureConfigurationRequest> for UpdateInfrastructureConfigurationRequest
sourcefn eq(&self, other: &UpdateInfrastructureConfigurationRequest) -> bool
fn eq(&self, other: &UpdateInfrastructureConfigurationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateInfrastructureConfigurationRequest) -> bool
fn ne(&self, other: &UpdateInfrastructureConfigurationRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateInfrastructureConfigurationRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateInfrastructureConfigurationRequest
impl Send for UpdateInfrastructureConfigurationRequest
impl Sync for UpdateInfrastructureConfigurationRequest
impl Unpin for UpdateInfrastructureConfigurationRequest
impl UnwindSafe for UpdateInfrastructureConfigurationRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more