# ConformancePackReference

A reference to a ConformancePack resource.

- 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 interfaces_config } from 'aws-cdk-lib/interfaces';
const conformancePackReference: interfaces_config.ConformancePackReference = {
  conformancePackArn: 'conformancePackArn',
  conformancePackName: 'conformancePackName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_config as interfaces_config

conformance_pack_reference = interfaces_config.ConformancePackReference(
    conformance_pack_arn="conformancePackArn",
    conformance_pack_name="conformancePackName"
)
```

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

ConformancePackReference conformancePackReference = ConformancePackReference.builder()
        .conformancePackArn("conformancePackArn")
        .conformancePackName("conformancePackName")
        .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.Interfaces.Config;

var conformancePackReference = new ConformancePackReference {
    ConformancePackArn = "conformancePackArn",
    ConformancePackName = "conformancePackName"
};
```

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"

conformancePackReference := &ConformancePackReference{
	ConformancePackArn: jsii.String("conformancePackArn"),
	ConformancePackName: jsii.String("conformancePackName"),
}
```

## Properties

- `conformancePackArn`: string (required) — The ARN of the ConformancePack resource.

- `conformancePackName`: string (required) — The ConformancePackName of the ConformancePack resource.
