# CfnOrganizationConformancePackProps

Struct · External

Properties for defining a `CfnOrganizationConformancePack`.

Used as props by: [CfnOrganizationConformancePack](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_config.CfnOrganizationConformancePack.html)

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## 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 cfnOrganizationConformancePackProps: config.CfnOrganizationConformancePackProps = {
  organizationConformancePackName: 'organizationConformancePackName',

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

Python:

```python
from aws_cdk import CfnTag
# 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

cfn_organization_conformance_pack_props = config.CfnOrganizationConformancePackProps(
    organization_conformance_pack_name="organizationConformancePackName",

    # the properties below are optional
    conformance_pack_input_parameters=[config.CfnOrganizationConformancePack.ConformancePackInputParameterProperty(
        parameter_name="parameterName",
        parameter_value="parameterValue"
    )],
    delivery_s3_bucket="deliveryS3Bucket",
    delivery_s3_key_prefix="deliveryS3KeyPrefix",
    excluded_accounts=["excludedAccounts"],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    template_body="templateBody",
    template_s3_uri="templateS3Uri"
)
```

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.*;

CfnOrganizationConformancePackProps cfnOrganizationConformancePackProps = CfnOrganizationConformancePackProps.builder()
        .organizationConformancePackName("organizationConformancePackName")

        // the properties below are optional
        .conformancePackInputParameters(List.of(ConformancePackInputParameterProperty.builder()
                .parameterName("parameterName")
                .parameterValue("parameterValue")
                .build()))
        .deliveryS3Bucket("deliveryS3Bucket")
        .deliveryS3KeyPrefix("deliveryS3KeyPrefix")
        .excludedAccounts(List.of("excludedAccounts"))
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .templateBody("templateBody")
        .templateS3Uri("templateS3Uri")
        .build();
```

C#:

```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 cfnOrganizationConformancePackProps = new CfnOrganizationConformancePackProps {
    OrganizationConformancePackName = "organizationConformancePackName",

    // the properties below are optional
    ConformancePackInputParameters = new [] { new ConformancePackInputParameterProperty {
        ParameterName = "parameterName",
        ParameterValue = "parameterValue"
    } },
    DeliveryS3Bucket = "deliveryS3Bucket",
    DeliveryS3KeyPrefix = "deliveryS3KeyPrefix",
    ExcludedAccounts = new [] { "excludedAccounts" },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    TemplateBody = "templateBody",
    TemplateS3Uri = "templateS3Uri"
};
```

Go:

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

cfnOrganizationConformancePackProps := &CfnOrganizationConformancePackProps{
	OrganizationConformancePackName: jsii.String("organizationConformancePackName"),

	// the properties below are optional
	ConformancePackInputParameters: []interface{}{
		&ConformancePackInputParameterProperty{
			ParameterName: jsii.String("parameterName"),
			ParameterValue: jsii.String("parameterValue"),
		},
	},
	DeliveryS3Bucket: jsii.String("deliveryS3Bucket"),
	DeliveryS3KeyPrefix: jsii.String("deliveryS3KeyPrefix"),
	ExcludedAccounts: []*string{
		jsii.String("excludedAccounts"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	TemplateBody: jsii.String("templateBody"),
	TemplateS3Uri: jsii.String("templateS3Uri"),
}
```

## Properties

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

- `deliveryS3Bucket`: string — The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.

  > This field is optional.

- `deliveryS3KeyPrefix`: string — Any folder structure you want to add to an Amazon S3 bucket.

  > This field is optional.

- `excludedAccounts`: string[] — A comma-separated list of accounts excluded from organization conformance pack.

- `organizationConformancePackName`: string (required) — The name you assign to an organization conformance pack.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags for the organization 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.

- `templateS3Uri`: string — Location of file containing the template body.

  The uri must point to the conformance pack template (max size: 300 KB).
