# StackSetConstraintReference

A reference to a StackSetConstraint resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicecatalog as interfaces_servicecatalog } from 'aws-cdk-lib/interfaces';
const stackSetConstraintReference: interfaces_servicecatalog.StackSetConstraintReference = {
  stackSetConstraintId: 'stackSetConstraintId',
};
```

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_servicecatalog as interfaces_servicecatalog

stack_set_constraint_reference = interfaces_servicecatalog.StackSetConstraintReference(
    stack_set_constraint_id="stackSetConstraintId"
)
```

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

StackSetConstraintReference stackSetConstraintReference = StackSetConstraintReference.builder()
        .stackSetConstraintId("stackSetConstraintId")
        .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.Servicecatalog;

var stackSetConstraintReference = new StackSetConstraintReference {
    StackSetConstraintId = "stackSetConstraintId"
};
```

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"

stackSetConstraintReference := &StackSetConstraintReference{
	StackSetConstraintId: jsii.String("stackSetConstraintId"),
}
```

## Properties

- `stackSetConstraintId`: string (required) — The Id of the StackSetConstraint resource.
