interface CfnCidrCollectionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.CfnCidrCollectionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#CfnCidrCollectionProps |
Java | software.amazon.awscdk.services.route53.CfnCidrCollectionProps |
Python | aws_cdk.aws_route53.CfnCidrCollectionProps |
TypeScript | aws-cdk-lib » aws_route53 » CfnCidrCollectionProps |
Properties for defining a CfnCidrCollection.
Example
declare const myZone: route53.HostedZone;
const cidrCollection = new route53.CfnCidrCollection(this, 'CidrCollection', {
name: 'test-collection',
locations: [{
cidrList: ['192.168.1.0/24'],
locationName: 'my_location',
}]
});
new route53.ARecord(this, 'CidrRoutingConfig', {
zone: myZone,
target: route53.RecordTarget.fromIpAddresses('1.2.3.4'),
setIdentifier: 'test',
cidrRoutingConfig: route53.CidrRoutingConfig.create({
collectionId: cidrCollection.attrId,
locationName: 'test_location'
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of a CIDR collection. |
| locations? | IResolvable | (IResolvable | Location)[] | A complex type that contains information about the list of CIDR locations. |
name
Type:
string
The name of a CIDR collection.
locations?
Type:
IResolvable | (IResolvable | Location)[]
(optional)
A complex type that contains information about the list of CIDR locations.

.NET
Go
Java
Python
TypeScript