Class CfnConformancePack.TemplateSSMDocumentDetailsProperty
This API allows you to create a conformance pack template with an AWS Systems Manager document (SSM document).
Inheritance
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TemplateSSMDocumentDetailsProperty : Object, CfnConformancePack.ITemplateSSMDocumentDetailsProperty
Syntax (vb)
Public Class TemplateSSMDocumentDetailsProperty
Inherits Object
Implements CfnConformancePack.ITemplateSSMDocumentDetailsProperty
Remarks
To deploy a conformance pack using an SSM document, first create an SSM document with conformance pack content, and then provide the DocumentName
in the PutConformancePack API . You can also provide the DocumentVersion
.
The TemplateSSMDocumentDetails
object contains the name of the SSM document and the version of the SSM document.
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.Config;
var templateSSMDocumentDetailsProperty = new TemplateSSMDocumentDetailsProperty {
DocumentName = "documentName",
DocumentVersion = "documentVersion"
};
Synopsis
Constructors
TemplateSSMDocumentDetailsProperty() |
Properties
DocumentName | The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. |
DocumentVersion | The version of the SSM document to use to create a conformance pack. |
Constructors
TemplateSSMDocumentDetailsProperty()
public TemplateSSMDocumentDetailsProperty()
Properties
DocumentName
The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack.
public string DocumentName { get; set; }
Property Value
System.String
Remarks
If you use the document name, AWS Config checks only your account and AWS Region for the SSM document.
DocumentVersion
The version of the SSM document to use to create a conformance pack.
public string DocumentVersion { get; set; }
Property Value
System.String
Remarks
By default, AWS Config uses the latest version.
This field is optional.