# TemplateSSMDocumentDetailsProperty

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](https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html) . You can also provide the `DocumentVersion` .

The `TemplateSSMDocumentDetails` object contains the name of the SSM document and the version of the SSM document.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `documentName`: 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.

- `documentVersion`: 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.
