aws-cdk-lib.aws_imagebuilder.CfnImageRecipe.SystemsManagerAgentProperty

interface SystemsManagerAgentProperty

LanguageType name
.NETAmazon.CDK.AWS.ImageBuilder.CfnImageRecipe.SystemsManagerAgentProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnImageRecipe_SystemsManagerAgentProperty
Javasoftware.amazon.awscdk.services.imagebuilder.CfnImageRecipe.SystemsManagerAgentProperty
Pythonaws_cdk.aws_imagebuilder.CfnImageRecipe.SystemsManagerAgentProperty
TypeScript aws-cdk-lib » aws_imagebuilder » CfnImageRecipe » SystemsManagerAgentProperty

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

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const systemsManagerAgentProperty: imagebuilder.CfnImageRecipe.SystemsManagerAgentProperty = {
  uninstallAfterBuild: false,
};

Properties

NameTypeDescription
uninstallAfterBuild?boolean | IResolvableControls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI.

uninstallAfterBuild?

Type: boolean | IResolvable (optional)

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. The default value is false.