# SegmentDefinitionReference

A reference to a SegmentDefinition 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_customerprofiles as interfaces_customerprofiles } from 'aws-cdk-lib/interfaces';
const segmentDefinitionReference: interfaces_customerprofiles.SegmentDefinitionReference = {
  domainName: 'domainName',
  segmentDefinitionArn: 'segmentDefinitionArn',
  segmentDefinitionName: 'segmentDefinitionName',
};
```

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_customerprofiles as interfaces_customerprofiles

segment_definition_reference = interfaces_customerprofiles.SegmentDefinitionReference(
    domain_name="domainName",
    segment_definition_arn="segmentDefinitionArn",
    segment_definition_name="segmentDefinitionName"
)
```

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

SegmentDefinitionReference segmentDefinitionReference = SegmentDefinitionReference.builder()
        .domainName("domainName")
        .segmentDefinitionArn("segmentDefinitionArn")
        .segmentDefinitionName("segmentDefinitionName")
        .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.CustomerProfiles;

var segmentDefinitionReference = new SegmentDefinitionReference {
    DomainName = "domainName",
    SegmentDefinitionArn = "segmentDefinitionArn",
    SegmentDefinitionName = "segmentDefinitionName"
};
```

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"

segmentDefinitionReference := &SegmentDefinitionReference{
	DomainName: jsii.String("domainName"),
	SegmentDefinitionArn: jsii.String("segmentDefinitionArn"),
	SegmentDefinitionName: jsii.String("segmentDefinitionName"),
}
```

## Properties

- `domainName`: string (required) — The DomainName of the SegmentDefinition resource.

- `segmentDefinitionArn`: string (required) — The ARN of the SegmentDefinition resource.

- `segmentDefinitionName`: string (required) — The SegmentDefinitionName of the SegmentDefinition resource.
