Skip to content

SystemsManagerAgent

Source code in docs_src/capo_imagebuilder/types/systems_manager_agent.py
class SystemsManagerAgent(TypedDict, closed=True):
    uninstall_after_build: NotRequired[
        "capo_imagebuilder.types.nullable_boolean.NullableBoolean"
    ]
    """<p>Specifies whether the Systems Manager agent is removed from your final build image before Image Builder creates the new AMI. If <code>true</code>, the agent is removed. If <code>false</code>, 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.</p>"""

uninstall_after_build instance-attribute

uninstall_after_build: NotRequired[NullableBoolean]

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. If false, 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.