AclCidrConfig
Struct Stable
Acl Configuration for CIDR.
| Source | aws-ec2/lib/network-acl-types.ts |
|---|
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 aclCidrConfig: ec2.AclCidrConfig = {
cidrBlock: 'cidrBlock',
ipv6CidrBlock: 'ipv6CidrBlock',
};
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
acl_cidr_config = ec2.AclCidrConfig(
cidr_block="cidrBlock",
ipv6_cidr_block="ipv6CidrBlock"
)
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.*;
AclCidrConfig aclCidrConfig = AclCidrConfig.builder()
.cidrBlock("cidrBlock")
.ipv6CidrBlock("ipv6CidrBlock")
.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 aclCidrConfig = new AclCidrConfig {
CidrBlock = "cidrBlock",
Ipv6CidrBlock = "ipv6CidrBlock"
};
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"
aclCidrConfig := &AclCidrConfig{
CidrBlock: jsii.String("cidrBlock"),
Ipv6CidrBlock: jsii.String("ipv6CidrBlock"),
}