TemplateSSMDocumentDetailsProperty Struct
This API allows you to create a conformance pack template with an AWS Systems Manager document (SSM document).
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const templateSSMDocumentDetailsProperty: config.CfnConformancePack.TemplateSSMDocumentDetailsProperty = {
documentName: 'documentName',
documentVersion: 'documentVersion',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_config as config
template_ssm_document_details_property = config.CfnConformancePack.TemplateSSMDocumentDetailsProperty(
document_name="documentName",
document_version="documentVersion"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;
TemplateSSMDocumentDetailsProperty templateSSMDocumentDetailsProperty = TemplateSSMDocumentDetailsProperty.builder()
.documentName("documentName")
.documentVersion("documentVersion")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
templateSSMDocumentDetailsProperty := &TemplateSSMDocumentDetailsProperty{
DocumentName: jsii.String("documentName"),
DocumentVersion: jsii.String("documentVersion"),
}
Properties
documentNameoptionalstringdocument_nameoptionalstrdocumentNameoptionalStringDocumentNameoptionalstringDocumentNameoptional*string #The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack.
If you use the document name, AWS Config checks only your account and AWS Region for the SSM document.
documentVersionoptionalstringdocument_versionoptionalstrdocumentVersionoptionalStringDocumentVersionoptionalstringDocumentVersionoptional*string #The version of the SSM document to use to create a conformance pack.
By default, AWS Config uses the latest version.
This field is optional.