CfnIPAMPrefixListResolverTargetProps Struct
Properties for defining a CfnIPAMPrefixListResolverTarget.
| Source | |
|---|---|
| Type last changed |
Example
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
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
// 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();
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"
} }
};
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
desiredVersionoptionalnumberdesired_versionoptionalint | floatdesiredVersionoptionalNumberDesiredVersionoptionaldoubleDesiredVersionoptional*float64 #The desired version of the Prefix List Resolver that this Target should synchronize with.
ipamPrefixListResolverIdstringipam_prefix_list_resolver_idstripamPrefixListResolverIdStringIpamPrefixListResolverIdstringIpamPrefixListResolverId*string required #The Id of the IPAM Prefix List Resolver associated with this Target.
prefixListIdstringprefix_list_idstrprefixListIdStringPrefixListIdstringPrefixListId*string required #The Id of the Managed Prefix List.
prefixListRegionstringprefix_list_regionstrprefixListRegionStringPrefixListRegionstringPrefixListRegion*string required #The region that the Managed Prefix List is located in.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An array of key-value pairs to apply to this resource.
trackLatestVersionboolean | IResolvabletrack_latest_versiontyping.Union[bool, IResolvable]trackLatestVersionBooleanTrackLatestVersionboolTrackLatestVersioninterface{} required #Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.