Struct aws_sdk_imagebuilder::model::systems_manager_agent::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SystemsManagerAgent
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn uninstall_after_build(self, input: bool) -> Self
pub fn uninstall_after_build(self, input: bool) -> Self
Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
sourcepub fn set_uninstall_after_build(self, input: Option<bool>) -> Self
pub fn set_uninstall_after_build(self, input: Option<bool>) -> Self
Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
sourcepub fn build(self) -> SystemsManagerAgent
pub fn build(self) -> SystemsManagerAgent
Consumes the builder and constructs a SystemsManagerAgent
.