/AWS1/CL_IMGSYSTEMSMANAGERAG00¶
Contains settings for the Systems Manager agent on your build instance. This setting applies to Linux and macOS build instances only. Requests that set it for a recipe with a Windows base image are rejected.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_uninstallafterbuild TYPE /AWS1/IMGNULLABLEBOOLEAN /AWS1/IMGNULLABLEBOOLEAN¶
Specifies whether the Systems Manager agent is removed from your final build image before Image Builder creates the new AMI. If
true, the agent is removed. Iffalse, the agent is kept, so that it's included in the AMI. If you don't set this property, Image Builder removes the agent only if Image Builder installed the agent during the build. An agent that was pre-installed on the base image is kept.
Queryable Attributes¶
uninstallAfterBuild¶
Specifies whether the Systems Manager agent is removed from your final build image before Image Builder creates the new AMI. If
true, the agent is removed. Iffalse, the agent is kept, so that it's included in the AMI. If you don't set this property, Image Builder removes the agent only if Image Builder installed the agent during the build. An agent that was pre-installed on the base image is kept.
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 |