# AgreementReference

A reference to a Agreement 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_transfer as interfaces_transfer } from 'aws-cdk-lib/interfaces';
const agreementReference: interfaces_transfer.AgreementReference = {
  agreementArn: 'agreementArn',
  agreementId: 'agreementId',
  serverId: 'serverId',
};
```

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_transfer as interfaces_transfer

agreement_reference = interfaces_transfer.AgreementReference(
    agreement_arn="agreementArn",
    agreement_id="agreementId",
    server_id="serverId"
)
```

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

AgreementReference agreementReference = AgreementReference.builder()
        .agreementArn("agreementArn")
        .agreementId("agreementId")
        .serverId("serverId")
        .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.Transfer;

var agreementReference = new AgreementReference {
    AgreementArn = "agreementArn",
    AgreementId = "agreementId",
    ServerId = "serverId"
};
```

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"

agreementReference := &AgreementReference{
	AgreementArn: jsii.String("agreementArn"),
	AgreementId: jsii.String("agreementId"),
	ServerId: jsii.String("serverId"),
}
```

## Properties

- `agreementArn`: string (required) — The ARN of the Agreement resource.

- `agreementId`: string (required) — The AgreementId of the Agreement resource.

- `serverId`: string (required) — The ServerId of the Agreement resource.
