# LifecyclePolicyReference

A reference to a LifecyclePolicy resource.

- Source: Generated at build time
- Type last changed: v2.270.0 · 17 Sep 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_dlm as interfaces_dlm } from 'aws-cdk-lib/interfaces';
const lifecyclePolicyReference: interfaces_dlm.LifecyclePolicyReference = {
  lifecyclePolicyArn: 'lifecyclePolicyArn',
  policyId: 'policyId',
};
```

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_dlm as interfaces_dlm

lifecycle_policy_reference = interfaces_dlm.LifecyclePolicyReference(
    lifecycle_policy_arn="lifecyclePolicyArn",
    policy_id="policyId"
)
```

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

LifecyclePolicyReference lifecyclePolicyReference = LifecyclePolicyReference.builder()
        .lifecyclePolicyArn("lifecyclePolicyArn")
        .policyId("policyId")
        .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.DLM;

var lifecyclePolicyReference = new LifecyclePolicyReference {
    LifecyclePolicyArn = "lifecyclePolicyArn",
    PolicyId = "policyId"
};
```

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"

lifecyclePolicyReference := &LifecyclePolicyReference{
	LifecyclePolicyArn: jsii.String("lifecyclePolicyArn"),
	PolicyId: jsii.String("policyId"),
}
```

## Properties

- `lifecyclePolicyArn`: string (required) — The ARN of the LifecyclePolicy resource.

- `policyId`: string (required) — The PolicyId of the LifecyclePolicy resource.
