# CfnIPAMPrefixListResolverTargetProps

Properties for defining a `CfnIPAMPrefixListResolverTarget`.

Used as props by: [CfnIPAMPrefixListResolverTarget](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnIPAMPrefixListResolverTarget.html)

- Source: Generated at build time
- Type last changed: v2.245.0 · 27 Mar 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_ec2 as ec2 } from 'aws-cdk-lib';
const cfnIPAMPrefixListResolverTargetProps: ec2.CfnIPAMPrefixListResolverTargetProps = {
  ipamPrefixListResolverId: 'ipamPrefixListResolverId',
  prefixListId: 'prefixListId',
  prefixListRegion: 'prefixListRegion',
  trackLatestVersion: false,

  // the properties below are optional
  desiredVersion: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_ipam_prefix_list_resolver_target_props = ec2.CfnIPAMPrefixListResolverTargetProps(
    ipam_prefix_list_resolver_id="ipamPrefixListResolverId",
    prefix_list_id="prefixListId",
    prefix_list_region="prefixListRegion",
    track_latest_version=False,

    # the properties below are optional
    desired_version=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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

CfnIPAMPrefixListResolverTargetProps cfnIPAMPrefixListResolverTargetProps = CfnIPAMPrefixListResolverTargetProps.builder()
        .ipamPrefixListResolverId("ipamPrefixListResolverId")
        .prefixListId("prefixListId")
        .prefixListRegion("prefixListRegion")
        .trackLatestVersion(false)

        // the properties below are optional
        .desiredVersion(123)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.EC2;

var cfnIPAMPrefixListResolverTargetProps = new CfnIPAMPrefixListResolverTargetProps {
    IpamPrefixListResolverId = "ipamPrefixListResolverId",
    PrefixListId = "prefixListId",
    PrefixListRegion = "prefixListRegion",
    TrackLatestVersion = false,

    // the properties below are optional
    DesiredVersion = 123,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnIPAMPrefixListResolverTargetProps := &CfnIPAMPrefixListResolverTargetProps{
	IpamPrefixListResolverId: jsii.String("ipamPrefixListResolverId"),
	PrefixListId: jsii.String("prefixListId"),
	PrefixListRegion: jsii.String("prefixListRegion"),
	TrackLatestVersion: jsii.Boolean(false),

	// the properties below are optional
	DesiredVersion: jsii.Number(123),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `desiredVersion`: number — The desired version of the Prefix List Resolver that this Target should synchronize with.

- `ipamPrefixListResolverId`: string (required) — The Id of the IPAM Prefix List Resolver associated with this Target.

- `prefixListId`: string (required) — The Id of the Managed Prefix List.

- `prefixListRegion`: string (required) — The region that the Managed Prefix List is located in.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

- `trackLatestVersion`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.
