libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

Description

 
Synopsis

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.

Constructors

AdditionalInstanceConfiguration' 

Fields

  • systemsManagerAgent :: Maybe SystemsManagerAgent

    Contains settings for the Systems Manager agent on your build instance.

  • userDataOverride :: Maybe Text

    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.

Instances

Instances details
Eq AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

Read AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

Show AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

Generic AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

Associated Types

type Rep AdditionalInstanceConfiguration :: Type -> Type #

NFData AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

Hashable AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

ToJSON AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

FromJSON AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

type Rep AdditionalInstanceConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration

type Rep AdditionalInstanceConfiguration = D1 ('MetaData "AdditionalInstanceConfiguration" "Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "AdditionalInstanceConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "systemsManagerAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SystemsManagerAgent)) :*: S1 ('MetaSel ('Just "userDataOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.