#[non_exhaustive]pub struct AdditionalInstanceConfigurationBuilder { /* private fields */ }
Expand description
A builder for AdditionalInstanceConfiguration
.
Implementations§
source§impl AdditionalInstanceConfigurationBuilder
impl AdditionalInstanceConfigurationBuilder
sourcepub fn systems_manager_agent(self, input: SystemsManagerAgent) -> Self
pub fn systems_manager_agent(self, input: SystemsManagerAgent) -> Self
Contains settings for the Systems Manager agent on your build instance.
sourcepub fn set_systems_manager_agent(
self,
input: Option<SystemsManagerAgent>
) -> Self
pub fn set_systems_manager_agent( self, input: Option<SystemsManagerAgent> ) -> Self
Contains settings for the Systems Manager agent on your build instance.
sourcepub fn get_systems_manager_agent(&self) -> &Option<SystemsManagerAgent>
pub fn get_systems_manager_agent(&self) -> &Option<SystemsManagerAgent>
Contains settings for the Systems Manager agent on your build instance.
sourcepub fn user_data_override(self, input: impl Into<String>) -> Self
pub fn user_data_override(self, input: impl Into<String>) -> Self
Use this property to provide commands or a command script to run when you launch your build instance.
The userDataOverride property replaces any commands that Image Builder might have added to ensure that Systems Manager is installed on your Linux build instance. If you override the user data, make sure that you add commands to install Systems Manager, if it is not pre-installed on your base image.
The user data is always base 64 encoded. For example, the following commands are encoded as IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$
:
#!/bin/bash
mkdir -p /var/bb/
touch /var
sourcepub fn set_user_data_override(self, input: Option<String>) -> Self
pub fn set_user_data_override(self, input: Option<String>) -> Self
Use this property to provide commands or a command script to run when you launch your build instance.
The userDataOverride property replaces any commands that Image Builder might have added to ensure that Systems Manager is installed on your Linux build instance. If you override the user data, make sure that you add commands to install Systems Manager, if it is not pre-installed on your base image.
The user data is always base 64 encoded. For example, the following commands are encoded as IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$
:
#!/bin/bash
mkdir -p /var/bb/
touch /var
sourcepub fn get_user_data_override(&self) -> &Option<String>
pub fn get_user_data_override(&self) -> &Option<String>
Use this property to provide commands or a command script to run when you launch your build instance.
The userDataOverride property replaces any commands that Image Builder might have added to ensure that Systems Manager is installed on your Linux build instance. If you override the user data, make sure that you add commands to install Systems Manager, if it is not pre-installed on your base image.
The user data is always base 64 encoded. For example, the following commands are encoded as IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$
:
#!/bin/bash
mkdir -p /var/bb/
touch /var
sourcepub fn build(self) -> AdditionalInstanceConfiguration
pub fn build(self) -> AdditionalInstanceConfiguration
Consumes the builder and constructs a AdditionalInstanceConfiguration
.
Trait Implementations§
source§impl Clone for AdditionalInstanceConfigurationBuilder
impl Clone for AdditionalInstanceConfigurationBuilder
source§fn clone(&self) -> AdditionalInstanceConfigurationBuilder
fn clone(&self) -> AdditionalInstanceConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AdditionalInstanceConfigurationBuilder
impl Default for AdditionalInstanceConfigurationBuilder
source§fn default() -> AdditionalInstanceConfigurationBuilder
fn default() -> AdditionalInstanceConfigurationBuilder
source§impl PartialEq for AdditionalInstanceConfigurationBuilder
impl PartialEq for AdditionalInstanceConfigurationBuilder
source§fn eq(&self, other: &AdditionalInstanceConfigurationBuilder) -> bool
fn eq(&self, other: &AdditionalInstanceConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdditionalInstanceConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AdditionalInstanceConfigurationBuilder
impl RefUnwindSafe for AdditionalInstanceConfigurationBuilder
impl Send for AdditionalInstanceConfigurationBuilder
impl Sync for AdditionalInstanceConfigurationBuilder
impl Unpin for AdditionalInstanceConfigurationBuilder
impl UnwindSafe for AdditionalInstanceConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more