class Aws::Imagebuilder::Types::AdditionalInstanceConfiguration
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 SSM 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.
@note When making an API call, you may pass AdditionalInstanceConfiguration
data as a hash: { systems_manager_agent: { uninstall_after_build: false, }, user_data_override: "UserDataOverride", }
@!attribute [rw] systems_manager_agent
Contains settings for the SSM agent on your build instance. @return [Types::SystemsManagerAgent]
@!attribute [rw] user_data_override
Use this property to provide commands or a command script to run when you launch your build instance. <note markdown="1"> The userDataOverride property replaces any commands that Image Builder might have added to ensure that SSM is installed on your Linux build instance. If you override the user data, make sure that you add commands to install SSM, if it is not pre-installed on your source image. </note> @return [String]
@see docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/AdditionalInstanceConfiguration AWS API Documentation
Constants
- SENSITIVE