# CfnConformancePackProps

Properties for defining a `CfnConformancePack`.

Extends: CfnConformancePackProps
Used as props by: CfnConformancePack

- Source: Generated code
- Type last changed: v2.264.0 · 10 Aug 2026

## 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';

declare const templateSsmDocumentDetails: any;
const cfnConformancePackProps: config.CfnConformancePackProps = {
  conformancePackName: 'conformancePackName',

  // the properties below are optional
  conformancePackInputParameters: [{
    parameterName: 'parameterName',
    parameterValue: 'parameterValue',
  }],
  deliveryS3Bucket: 'deliveryS3Bucket',
  deliveryS3KeyPrefix: 'deliveryS3KeyPrefix',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  templateBody: 'templateBody',
  templateS3Uri: 'templateS3Uri',
  templateSsmDocumentDetails: templateSsmDocumentDetails,
};
```

## Properties

- `conformancePackInputParameters`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConformancePack.ConformancePackInputParameterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_config.CfnConformancePack.ConformancePackInputParameterProperty.html)[] — A list of ConformancePackInputParameter objects.

- `conformancePackName`: string (required) — Name of the conformance pack you want to create.

- `deliveryS3Bucket`: string | [IBucketRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_s3.IBucketRef.html) — The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.

- `deliveryS3KeyPrefix`: string — The prefix for the Amazon S3 bucket.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags for the conformance pack.

- `templateBody`: string — A string containing full conformance pack template body.

  Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

  > You can only use a YAML template with two resource types: config rule ( `AWS::Config::ConfigRule` ) and a remediation action ( `AWS::Config::RemediationConfiguration` ).

- `templateS3Uri`: string — Location of file containing the template body (s3://bucketname/prefix).

  The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket.

  > You must have access to read Amazon S3 bucket.

- `templateSsmDocumentDetails`: any — An object that contains the name or Amazon Resource Name (ARN) of the AWS Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.
