# SourceProperty

The source of a managed conformance pack.

Specifying Source creates a managed conformance pack, whose Config rules are managed by AWS. You can only specify one of Source or the template body or template S3Uri fields.

- Source: Generated at build time
- Type last changed: v2.278.0 · 20 Nov 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 sourceProperty: config.CfnConformancePack.SourceProperty = {
  sourceIdentifier: 'sourceIdentifier',
};
```

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

source_property = config.CfnConformancePack.SourceProperty(
    source_identifier="sourceIdentifier"
)
```

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

SourceProperty sourceProperty = SourceProperty.builder()
        .sourceIdentifier("sourceIdentifier")
        .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 sourceProperty = new SourceProperty {
    SourceIdentifier = "sourceIdentifier"
};
```

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"

sourceProperty := &SourceProperty{
	SourceIdentifier: jsii.String("sourceIdentifier"),
}
```

## Properties

- `sourceIdentifier`: string (required) — The identifier specifying which managed conformance pack is being deployed.
