CidrMappingProperty Struct
A single CIDR range to label mapping.
| Source |
|---|
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 cidrMappingProperty: ec2.CfnFcaPolicy.CidrMappingProperty = {
cidrLabel: 'cidrLabel',
cidrRange: 'cidrRange',
};
python
# 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
cidr_mapping_property = ec2.CfnFcaPolicy.CidrMappingProperty(
cidr_label="cidrLabel",
cidr_range="cidrRange"
)
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.*;
CidrMappingProperty cidrMappingProperty = CidrMappingProperty.builder()
.cidrLabel("cidrLabel")
.cidrRange("cidrRange")
.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 cidrMappingProperty = new CidrMappingProperty {
CidrLabel = "cidrLabel",
CidrRange = "cidrRange"
};
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"
cidrMappingProperty := &CidrMappingProperty{
CidrLabel: jsii.String("cidrLabel"),
CidrRange: jsii.String("cidrRange"),
}