Class CfnImageRecipe.SystemsManagerAgentProperty
Contains settings for the Systems Manager agent on your build instance.
Inheritance
System.Object
CfnImageRecipe.SystemsManagerAgentProperty
Implements
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.AWS.ImageBuilder.dll
Syntax (csharp)
public class SystemsManagerAgentProperty : Object, CfnImageRecipe.ISystemsManagerAgentProperty
Syntax (vb)
Public Class SystemsManagerAgentProperty
Inherits Object
Implements CfnImageRecipe.ISystemsManagerAgentProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder;
var systemsManagerAgentProperty = new SystemsManagerAgentProperty {
UninstallAfterBuild = false
};
Synopsis
Constructors
SystemsManagerAgentProperty() |
Properties
UninstallAfterBuild | Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. |
Constructors
SystemsManagerAgentProperty()
public SystemsManagerAgentProperty()
Properties
UninstallAfterBuild
Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI.
public object UninstallAfterBuild { get; set; }
Property Value
System.Object
Remarks
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.