Class CfnConformancePackPropsMixin.TemplateSSMDocumentDetailsProperty
This API allows you to create a conformance pack template with an AWS Systems Manager document (SSM document).
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Config
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnConformancePackPropsMixin.TemplateSSMDocumentDetailsProperty : CfnConformancePackPropsMixin.ITemplateSSMDocumentDetailsProperty
Syntax (vb)
Public Class CfnConformancePackPropsMixin.TemplateSSMDocumentDetailsProperty Implements CfnConformancePackPropsMixin.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.CfnPropertyMixins.AWS.Config;
var templateSSMDocumentDetailsProperty = new TemplateSSMDocumentDetailsProperty {
DocumentName = "documentName",
DocumentVersion = "documentVersion"
};
Synopsis
Constructors
| TemplateSSMDocumentDetailsProperty() | This API allows you to create a conformance pack template with an AWS Systems Manager document (SSM document). |
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()
This API allows you to create a conformance pack template with an AWS Systems Manager document (SSM document).
public TemplateSSMDocumentDetailsProperty()
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.CfnPropertyMixins.AWS.Config;
var templateSSMDocumentDetailsProperty = new TemplateSSMDocumentDetailsProperty {
DocumentName = "documentName",
DocumentVersion = "documentVersion"
};
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
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
Remarks
By default, AWS Config uses the latest version.
This field is optional.