Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AdditionalInstanceConfiguration = AdditionalInstanceConfiguration' {}
- newAdditionalInstanceConfiguration :: AdditionalInstanceConfiguration
- additionalInstanceConfiguration_systemsManagerAgent :: Lens' AdditionalInstanceConfiguration (Maybe SystemsManagerAgent)
- additionalInstanceConfiguration_userDataOverride :: Lens' AdditionalInstanceConfiguration (Maybe Text)
Documentation
data AdditionalInstanceConfiguration Source #
In addition to your infrastruction configuration, these settings provide an extra layer of control over your build instances. For instances where Image Builder installs the Systems Manager agent, you can choose whether to keep it for the AMI that you create. You can also specify commands to run on launch for all of your build instances.
See: newAdditionalInstanceConfiguration
smart constructor.
AdditionalInstanceConfiguration' | |
|
Instances
newAdditionalInstanceConfiguration :: AdditionalInstanceConfiguration Source #
Create a value of AdditionalInstanceConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:systemsManagerAgent:AdditionalInstanceConfiguration'
, additionalInstanceConfiguration_systemsManagerAgent
- Contains settings for the Systems Manager agent on your build instance.
$sel:userDataOverride:AdditionalInstanceConfiguration'
, additionalInstanceConfiguration_userDataOverride
- 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.
additionalInstanceConfiguration_systemsManagerAgent :: Lens' AdditionalInstanceConfiguration (Maybe SystemsManagerAgent) Source #
Contains settings for the Systems Manager agent on your build instance.
additionalInstanceConfiguration_userDataOverride :: Lens' AdditionalInstanceConfiguration (Maybe Text) Source #
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.