RuleConfig Struct
Common configuration properties shared by ingress and egress security group rules.
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 ruleConfig: ec2.RuleConfig = {
cidrIp: 'cidrIp',
cidrIpv6: 'cidrIpv6',
};