/AWS1/CL_IMGSYSTEMSMANAGERAG00¶
Contains settings for the Systems Manager agent on your build instance.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_uninstallafterbuild
TYPE /AWS1/IMGNULLABLEBOOLEAN
/AWS1/IMGNULLABLEBOOLEAN
¶
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. default value is false.
The default behavior of uninstallAfterBuild is to remove the SSM Agent if it was installed by EC2 Image Builder
Queryable Attributes¶
uninstallAfterBuild¶
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. default value is false.
The default behavior of uninstallAfterBuild is to remove the SSM Agent if it was installed by EC2 Image Builder
Accessible with the following methods¶
Method | Description |
---|---|
GET_UNINSTALLAFTERBUILD() |
Getter for UNINSTALLAFTERBUILD, with configurable default |
ASK_UNINSTALLAFTERBUILD() |
Getter for UNINSTALLAFTERBUILD w/ exceptions if field has no |
HAS_UNINSTALLAFTERBUILD() |
Determine if UNINSTALLAFTERBUILD has a value |