CreateInfrastructureConfigurationRequest

Struct CreateInfrastructureConfigurationRequest 

Source
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.

§resource_tags: Option<HashMap<String, String>>

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.

§tags: Option<HashMap<String, String>>

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

Source§

fn clone(&self) -> CreateInfrastructureConfigurationRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreateInfrastructureConfigurationRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CreateInfrastructureConfigurationRequest

Source§

fn default() -> CreateInfrastructureConfigurationRequest

Returns the “default value” for a type. Read more
Source§

impl PartialEq for CreateInfrastructureConfigurationRequest

Source§

fn eq(&self, other: &CreateInfrastructureConfigurationRequest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CreateInfrastructureConfigurationRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CreateInfrastructureConfigurationRequest

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more