// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`createRestrictedSecurityGroups creates the correct resources 1`] = ` { "Mappings": { "DefaultCrNodeVersionMap": { "af-south-1": { "value": "nodejs16.x", }, "ap-east-1": { "value": "nodejs16.x", }, "ap-northeast-1": { "value": "nodejs16.x", }, "ap-northeast-2": { "value": "nodejs16.x", }, "ap-northeast-3": { "value": "nodejs16.x", }, "ap-south-1": { "value": "nodejs16.x", }, "ap-south-2": { "value": "nodejs16.x", }, "ap-southeast-1": { "value": "nodejs16.x", }, "ap-southeast-2": { "value": "nodejs16.x", }, "ap-southeast-3": { "value": "nodejs16.x", }, "ca-central-1": { "value": "nodejs16.x", }, "cn-north-1": { "value": "nodejs16.x", }, "cn-northwest-1": { "value": "nodejs16.x", }, "eu-central-1": { "value": "nodejs16.x", }, "eu-central-2": { "value": "nodejs16.x", }, "eu-north-1": { "value": "nodejs16.x", }, "eu-south-1": { "value": "nodejs16.x", }, "eu-south-2": { "value": "nodejs16.x", }, "eu-west-1": { "value": "nodejs16.x", }, "eu-west-2": { "value": "nodejs16.x", }, "eu-west-3": { "value": "nodejs16.x", }, "me-central-1": { "value": "nodejs16.x", }, "me-south-1": { "value": "nodejs16.x", }, "sa-east-1": { "value": "nodejs16.x", }, "us-east-1": { "value": "nodejs16.x", }, "us-east-2": { "value": "nodejs16.x", }, "us-gov-east-1": { "value": "nodejs16.x", }, "us-gov-west-1": { "value": "nodejs16.x", }, "us-iso-east-1": { "value": "nodejs14.x", }, "us-iso-west-1": { "value": "nodejs14.x", }, "us-isob-east-1": { "value": "nodejs14.x", }, "us-west-1": { "value": "nodejs16.x", }, "us-west-2": { "value": "nodejs16.x", }, }, }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", "Type": "AWS::SSM::Parameter::Value", }, }, "Resources": { "AWS679f53fac002430cb0da5b7982bd22872D164C4C": { "DependsOn": [ "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2", ], "Properties": { "Code": { "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}", }, "S3Key": "f9346b940b724b094a16ca051c017799995fa93df6da38a0539bf7c000fee50a.zip", }, "Handler": "index.handler", "Role": { "Fn::GetAtt": [ "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2", "Arn", ], }, "Runtime": { "Fn::FindInMap": [ "DefaultCrNodeVersionMap", { "Ref": "AWS::Region", }, "value", ], }, "Timeout": 120, }, "Type": "AWS::Lambda::Function", }, "AWS679f53fac002430cb0da5b7982bd2287LogRetentionCE72797A": { "Properties": { "LogGroupName": { "Fn::Join": [ "", [ "/aws/lambda/", { "Ref": "AWS679f53fac002430cb0da5b7982bd22872D164C4C", }, ], ], }, "RetentionInDays": 90, "ServiceToken": { "Fn::GetAtt": [ "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A", "Arn", ], }, }, "Type": "Custom::LogRetention", }, "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2": { "Properties": { "AssumeRolePolicyDocument": { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com", }, }, ], "Version": "2012-10-17", }, "ManagedPolicyArns": [ { "Fn::Join": [ "", [ "arn:", { "Ref": "AWS::Partition", }, ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", ], ], }, ], }, "Type": "AWS::IAM::Role", }, "InternalTraffic7EB8CBFA": { "Properties": { "GroupDescription": "TestStack/SG", "SecurityGroupEgress": [ { "CidrIp": { "Fn::GetAtt": [ "VPCB9E5F0B4", "CidrBlock", ], }, "Description": "to Route53 DNS resolver", "FromPort": 53, "IpProtocol": "tcp", "ToPort": 53, }, { "CidrIp": { "Fn::GetAtt": [ "VPCB9E5F0B4", "CidrBlock", ], }, "Description": "to Route53 DNS resolver", "FromPort": 53, "IpProtocol": "udp", "ToPort": 53, }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::SecurityGroup", }, "InternalTrafficfromTestStackInternalTrafficF42F4713443027AEFD8": { "Properties": { "Description": "Traffic within this SecurityGroup", "FromPort": 443, "GroupId": { "Fn::GetAtt": [ "InternalTraffic7EB8CBFA", "GroupId", ], }, "IpProtocol": "tcp", "SourceSecurityGroupId": { "Fn::GetAtt": [ "InternalTraffic7EB8CBFA", "GroupId", ], }, "ToPort": 443, }, "Type": "AWS::EC2::SecurityGroupIngress", }, "InternalTraffictoAWSS3443CE69D110": { "Properties": { "Description": "to AWS S3", "DestinationPrefixListId": { "Fn::GetAtt": [ "S3PrefixListA52A6956", "PrefixLists.0.PrefixListId", ], }, "FromPort": 443, "GroupId": { "Fn::GetAtt": [ "InternalTraffic7EB8CBFA", "GroupId", ], }, "IpProtocol": "tcp", "ToPort": 443, }, "Type": "AWS::EC2::SecurityGroupEgress", }, "InternalTraffictoTestStackInternalTrafficF42F4713443EAA262C8": { "Properties": { "Description": "Traffic within this SecurityGroup", "DestinationSecurityGroupId": { "Fn::GetAtt": [ "InternalTraffic7EB8CBFA", "GroupId", ], }, "FromPort": 443, "GroupId": { "Fn::GetAtt": [ "InternalTraffic7EB8CBFA", "GroupId", ], }, "IpProtocol": "tcp", "ToPort": 443, }, "Type": "AWS::EC2::SecurityGroupEgress", }, "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A": { "DependsOn": [ "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", ], "Properties": { "Code": { "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}", }, "S3Key": "5fa1330271b8967d9254ba2d4a07144f8acefe8b77e6d6bba38261373a50d5f8.zip", }, "Handler": "index.handler", "Role": { "Fn::GetAtt": [ "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", "Arn", ], }, "Runtime": { "Fn::FindInMap": [ "DefaultCrNodeVersionMap", { "Ref": "AWS::Region", }, "value", ], }, }, "Type": "AWS::Lambda::Function", }, "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB": { "Properties": { "AssumeRolePolicyDocument": { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com", }, }, ], "Version": "2012-10-17", }, "ManagedPolicyArns": [ { "Fn::Join": [ "", [ "arn:", { "Ref": "AWS::Partition", }, ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", ], ], }, ], }, "Type": "AWS::IAM::Role", }, "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB": { "Properties": { "PolicyDocument": { "Statement": [ { "Action": [ "logs:PutRetentionPolicy", "logs:DeleteRetentionPolicy", ], "Effect": "Allow", "Resource": "*", }, ], "Version": "2012-10-17", }, "PolicyName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", "Roles": [ { "Ref": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", }, ], }, "Type": "AWS::IAM::Policy", }, "S3PrefixListA52A6956": { "DeletionPolicy": "Delete", "DependsOn": [ "S3PrefixListCustomResourcePolicy456414A6", ], "Properties": { "Create": { "Fn::Join": [ "", [ "{"action":"describePrefixLists","service":"EC2","parameters":{"Filters":[{"Name":"prefix-list-name","Values":["com.amazonaws.", { "Ref": "AWS::Region", }, ".s3"]}]},"outputPaths":["PrefixLists.0.PrefixListId","PrefixLists.0.PrefixListName"],"physicalResourceId":{"responsePath":"PrefixLists.0.PrefixListId"}}", ], ], }, "InstallLatestAwsSdk": true, "ServiceToken": { "Fn::GetAtt": [ "AWS679f53fac002430cb0da5b7982bd22872D164C4C", "Arn", ], }, "Update": { "Fn::Join": [ "", [ "{"action":"describePrefixLists","service":"EC2","parameters":{"Filters":[{"Name":"prefix-list-name","Values":["com.amazonaws.", { "Ref": "AWS::Region", }, ".s3"]}]},"outputPaths":["PrefixLists.0.PrefixListId","PrefixLists.0.PrefixListName"],"physicalResourceId":{"responsePath":"PrefixLists.0.PrefixListId"}}", ], ], }, }, "Type": "Custom::S3-PrefixList", "UpdateReplacePolicy": "Delete", }, "S3PrefixListCustomResourcePolicy456414A6": { "Properties": { "PolicyDocument": { "Statement": [ { "Action": "ec2:DescribePrefixLists", "Effect": "Allow", "Resource": "*", }, ], "Version": "2012-10-17", }, "PolicyName": "S3PrefixListCustomResourcePolicy456414A6", "Roles": [ { "Ref": "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2", }, ], }, "Type": "AWS::IAM::Policy", }, "VPCB9E5F0B4": { "Properties": { "CidrBlock": "10.0.0.0/16", "EnableDnsHostnames": true, "EnableDnsSupport": true, "InstanceTenancy": "default", "Tags": [ { "Key": "Name", "Value": "TestStack/VPC", }, ], }, "Type": "AWS::EC2::VPC", }, "VPCIGWB7E252D3": { "Properties": { "Tags": [ { "Key": "Name", "Value": "TestStack/VPC", }, ], }, "Type": "AWS::EC2::InternetGateway", }, "VPCPrivateSubnet1DefaultRouteAE1D6490": { "Properties": { "DestinationCidrBlock": "0.0.0.0/0", "NatGatewayId": { "Ref": "VPCPublicSubnet1NATGatewayE0556630", }, "RouteTableId": { "Ref": "VPCPrivateSubnet1RouteTableBE8A6027", }, }, "Type": "AWS::EC2::Route", }, "VPCPrivateSubnet1RouteTableAssociation347902D1": { "Properties": { "RouteTableId": { "Ref": "VPCPrivateSubnet1RouteTableBE8A6027", }, "SubnetId": { "Ref": "VPCPrivateSubnet1Subnet8BCA10E0", }, }, "Type": "AWS::EC2::SubnetRouteTableAssociation", }, "VPCPrivateSubnet1RouteTableBE8A6027": { "Properties": { "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PrivateSubnet1", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::RouteTable", }, "VPCPrivateSubnet1Subnet8BCA10E0": { "Properties": { "AvailabilityZone": { "Fn::Select": [ 0, { "Fn::GetAZs": "", }, ], }, "CidrBlock": "10.0.128.0/18", "MapPublicIpOnLaunch": false, "Tags": [ { "Key": "aws-cdk:subnet-name", "Value": "Private", }, { "Key": "aws-cdk:subnet-type", "Value": "Private", }, { "Key": "Name", "Value": "TestStack/VPC/PrivateSubnet1", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::Subnet", }, "VPCPrivateSubnet2DefaultRouteF4F5CFD2": { "Properties": { "DestinationCidrBlock": "0.0.0.0/0", "NatGatewayId": { "Ref": "VPCPublicSubnet2NATGateway3C070193", }, "RouteTableId": { "Ref": "VPCPrivateSubnet2RouteTable0A19E10E", }, }, "Type": "AWS::EC2::Route", }, "VPCPrivateSubnet2RouteTable0A19E10E": { "Properties": { "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PrivateSubnet2", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::RouteTable", }, "VPCPrivateSubnet2RouteTableAssociation0C73D413": { "Properties": { "RouteTableId": { "Ref": "VPCPrivateSubnet2RouteTable0A19E10E", }, "SubnetId": { "Ref": "VPCPrivateSubnet2SubnetCFCDAA7A", }, }, "Type": "AWS::EC2::SubnetRouteTableAssociation", }, "VPCPrivateSubnet2SubnetCFCDAA7A": { "Properties": { "AvailabilityZone": { "Fn::Select": [ 1, { "Fn::GetAZs": "", }, ], }, "CidrBlock": "10.0.192.0/18", "MapPublicIpOnLaunch": false, "Tags": [ { "Key": "aws-cdk:subnet-name", "Value": "Private", }, { "Key": "aws-cdk:subnet-type", "Value": "Private", }, { "Key": "Name", "Value": "TestStack/VPC/PrivateSubnet2", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::Subnet", }, "VPCPublicSubnet1DefaultRoute91CEF279": { "DependsOn": [ "VPCVPCGW99B986DC", ], "Properties": { "DestinationCidrBlock": "0.0.0.0/0", "GatewayId": { "Ref": "VPCIGWB7E252D3", }, "RouteTableId": { "Ref": "VPCPublicSubnet1RouteTableFEE4B781", }, }, "Type": "AWS::EC2::Route", }, "VPCPublicSubnet1EIP6AD938E8": { "Properties": { "Domain": "vpc", "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet1", }, ], }, "Type": "AWS::EC2::EIP", }, "VPCPublicSubnet1NATGatewayE0556630": { "DependsOn": [ "VPCPublicSubnet1DefaultRoute91CEF279", "VPCPublicSubnet1RouteTableAssociation0B0896DC", ], "Properties": { "AllocationId": { "Fn::GetAtt": [ "VPCPublicSubnet1EIP6AD938E8", "AllocationId", ], }, "SubnetId": { "Ref": "VPCPublicSubnet1SubnetB4246D30", }, "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet1", }, ], }, "Type": "AWS::EC2::NatGateway", }, "VPCPublicSubnet1RouteTableAssociation0B0896DC": { "Properties": { "RouteTableId": { "Ref": "VPCPublicSubnet1RouteTableFEE4B781", }, "SubnetId": { "Ref": "VPCPublicSubnet1SubnetB4246D30", }, }, "Type": "AWS::EC2::SubnetRouteTableAssociation", }, "VPCPublicSubnet1RouteTableFEE4B781": { "Properties": { "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet1", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::RouteTable", }, "VPCPublicSubnet1SubnetB4246D30": { "Properties": { "AvailabilityZone": { "Fn::Select": [ 0, { "Fn::GetAZs": "", }, ], }, "CidrBlock": "10.0.0.0/18", "MapPublicIpOnLaunch": true, "Tags": [ { "Key": "aws-cdk:subnet-name", "Value": "Public", }, { "Key": "aws-cdk:subnet-type", "Value": "Public", }, { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet1", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::Subnet", }, "VPCPublicSubnet2DefaultRouteB7481BBA": { "DependsOn": [ "VPCVPCGW99B986DC", ], "Properties": { "DestinationCidrBlock": "0.0.0.0/0", "GatewayId": { "Ref": "VPCIGWB7E252D3", }, "RouteTableId": { "Ref": "VPCPublicSubnet2RouteTable6F1A15F1", }, }, "Type": "AWS::EC2::Route", }, "VPCPublicSubnet2EIP4947BC00": { "Properties": { "Domain": "vpc", "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet2", }, ], }, "Type": "AWS::EC2::EIP", }, "VPCPublicSubnet2NATGateway3C070193": { "DependsOn": [ "VPCPublicSubnet2DefaultRouteB7481BBA", "VPCPublicSubnet2RouteTableAssociation5A808732", ], "Properties": { "AllocationId": { "Fn::GetAtt": [ "VPCPublicSubnet2EIP4947BC00", "AllocationId", ], }, "SubnetId": { "Ref": "VPCPublicSubnet2Subnet74179F39", }, "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet2", }, ], }, "Type": "AWS::EC2::NatGateway", }, "VPCPublicSubnet2RouteTable6F1A15F1": { "Properties": { "Tags": [ { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet2", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::RouteTable", }, "VPCPublicSubnet2RouteTableAssociation5A808732": { "Properties": { "RouteTableId": { "Ref": "VPCPublicSubnet2RouteTable6F1A15F1", }, "SubnetId": { "Ref": "VPCPublicSubnet2Subnet74179F39", }, }, "Type": "AWS::EC2::SubnetRouteTableAssociation", }, "VPCPublicSubnet2Subnet74179F39": { "Properties": { "AvailabilityZone": { "Fn::Select": [ 1, { "Fn::GetAZs": "", }, ], }, "CidrBlock": "10.0.64.0/18", "MapPublicIpOnLaunch": true, "Tags": [ { "Key": "aws-cdk:subnet-name", "Value": "Public", }, { "Key": "aws-cdk:subnet-type", "Value": "Public", }, { "Key": "Name", "Value": "TestStack/VPC/PublicSubnet2", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::Subnet", }, "VPCVPCGW99B986DC": { "Properties": { "InternetGatewayId": { "Ref": "VPCIGWB7E252D3", }, "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::VPCGatewayAttachment", }, "cloudflareIPv4c2cf61493c41a0c1519c61e5aad250b74ec16388": { "Properties": { "AddressFamily": "IPv4", "Entries": [ { "Cidr": "103.21.244.0/22", }, { "Cidr": "103.22.200.0/22", }, { "Cidr": "103.31.4.0/22", }, { "Cidr": "104.16.0.0/13", }, { "Cidr": "104.24.0.0/14", }, { "Cidr": "108.162.192.0/18", }, { "Cidr": "131.0.72.0/22", }, { "Cidr": "141.101.64.0/18", }, { "Cidr": "162.158.0.0/15", }, { "Cidr": "172.64.0.0/13", }, { "Cidr": "173.245.48.0/20", }, { "Cidr": "188.114.96.0/20", }, { "Cidr": "190.93.240.0/20", }, { "Cidr": "197.234.240.0/22", }, { "Cidr": "198.41.128.0/17", }, ], "MaxEntries": 15, "PrefixListName": "cloudflare.IPv4", }, "Type": "AWS::EC2::PrefixList", }, "cloudflareIPv4c2cf61493c41a0c1519c61e5aad250b74ec16388D0AFA17A": { "Properties": { "GroupDescription": "TestStack/cloudflare-IPv4", "Tags": [ { "Key": "Name", "Value": "cloudflare.IPv4", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::SecurityGroup", }, "cloudflareIPv4c2cf61493c41a0c1519c61e5aad250b74ec16388toTestStackcloudflareIPv4c2cf61493c41a0c1519c61e5aad250b74ec163884432973C5B9": { "Properties": { "Description": "to cloudflare (IPv4)", "DestinationPrefixListId": { "Fn::GetAtt": [ "cloudflareIPv4c2cf61493c41a0c1519c61e5aad250b74ec16388", "PrefixListId", ], }, "FromPort": 443, "GroupId": { "Fn::GetAtt": [ "cloudflareIPv4c2cf61493c41a0c1519c61e5aad250b74ec16388D0AFA17A", "GroupId", ], }, "IpProtocol": "tcp", "ToPort": 443, }, "Type": "AWS::EC2::SecurityGroupEgress", }, "githubapiIPv42bcfd531783c984988cc542ce2ed208477f00f78": { "Properties": { "AddressFamily": "IPv4", "Entries": [ { "Cidr": "140.82.112.0/20", }, { "Cidr": "143.55.64.0/20", }, { "Cidr": "185.199.108.0/22", }, { "Cidr": "192.30.252.0/22", }, { "Cidr": "20.200.245.245/32", }, { "Cidr": "20.201.28.148/32", }, { "Cidr": "20.205.243.168/32", }, { "Cidr": "20.207.73.85/32", }, { "Cidr": "20.233.83.146/32", }, { "Cidr": "20.248.137.49/32", }, { "Cidr": "20.27.177.116/32", }, { "Cidr": "20.87.225.211/32", }, ], "MaxEntries": 12, "PrefixListName": "github.api.IPv4", }, "Type": "AWS::EC2::PrefixList", }, "githubapiIPv42bcfd531783c984988cc542ce2ed208477f00f7806C76177": { "Properties": { "GroupDescription": "TestStack/github.api-IPv4", "Tags": [ { "Key": "Name", "Value": "github.api.IPv4", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::SecurityGroup", }, "githubapiIPv42bcfd531783c984988cc542ce2ed208477f00f78toTestStackgithubapiIPv42bcfd531783c984988cc542ce2ed208477f00f784431A2881EC": { "Properties": { "Description": "to github.api (IPv4)", "DestinationPrefixListId": { "Fn::GetAtt": [ "githubapiIPv42bcfd531783c984988cc542ce2ed208477f00f78", "PrefixListId", ], }, "FromPort": 443, "GroupId": { "Fn::GetAtt": [ "githubapiIPv42bcfd531783c984988cc542ce2ed208477f00f7806C76177", "GroupId", ], }, "IpProtocol": "tcp", "ToPort": 443, }, "Type": "AWS::EC2::SecurityGroupEgress", }, "githubgitIPv40ed5710a6f55ec90ed69aa949b30fed05008db84": { "Properties": { "AddressFamily": "IPv4", "Entries": [ { "Cidr": "140.82.112.0/20", }, { "Cidr": "143.55.64.0/20", }, { "Cidr": "185.199.108.0/22", }, { "Cidr": "192.30.252.0/22", }, { "Cidr": "20.200.245.247/32", }, { "Cidr": "20.200.245.248/32", }, { "Cidr": "20.201.28.151/32", }, { "Cidr": "20.201.28.152/32", }, { "Cidr": "20.205.243.160/32", }, { "Cidr": "20.205.243.166/32", }, { "Cidr": "20.207.73.82/32", }, { "Cidr": "20.207.73.83/32", }, { "Cidr": "20.233.83.145/32", }, { "Cidr": "20.233.83.149/32", }, { "Cidr": "20.248.137.48/32", }, { "Cidr": "20.248.137.50/32", }, { "Cidr": "20.27.177.113/32", }, { "Cidr": "20.27.177.118/32", }, { "Cidr": "20.87.225.212/32", }, { "Cidr": "20.87.225.214/32", }, ], "MaxEntries": 20, "PrefixListName": "github.git.IPv4", }, "Type": "AWS::EC2::PrefixList", }, "githubgitIPv40ed5710a6f55ec90ed69aa949b30fed05008db840E83BACB": { "Properties": { "GroupDescription": "TestStack/github.git-IPv4", "Tags": [ { "Key": "Name", "Value": "github.git.IPv4", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::SecurityGroup", }, "githubgitIPv40ed5710a6f55ec90ed69aa949b30fed05008db84toTestStackgithubgitIPv40ed5710a6f55ec90ed69aa949b30fed05008db8444349D0A5E2": { "Properties": { "Description": "to github.git (IPv4)", "DestinationPrefixListId": { "Fn::GetAtt": [ "githubgitIPv40ed5710a6f55ec90ed69aa949b30fed05008db84", "PrefixListId", ], }, "FromPort": 443, "GroupId": { "Fn::GetAtt": [ "githubgitIPv40ed5710a6f55ec90ed69aa949b30fed05008db840E83BACB", "GroupId", ], }, "IpProtocol": "tcp", "ToPort": 443, }, "Type": "AWS::EC2::SecurityGroupEgress", }, "githubwebIPv4a0899eff367db01ac847004e110219caa9886394": { "Properties": { "AddressFamily": "IPv4", "Entries": [ { "Cidr": "140.82.112.0/20", }, { "Cidr": "143.55.64.0/20", }, { "Cidr": "185.199.108.0/22", }, { "Cidr": "192.30.252.0/22", }, { "Cidr": "20.200.245.247/32", }, { "Cidr": "20.201.28.151/32", }, { "Cidr": "20.205.243.166/32", }, { "Cidr": "20.207.73.82/32", }, { "Cidr": "20.233.83.145/32", }, { "Cidr": "20.248.137.48/32", }, { "Cidr": "20.27.177.113/32", }, { "Cidr": "20.87.225.212/32", }, ], "MaxEntries": 12, "PrefixListName": "github.web.IPv4", }, "Type": "AWS::EC2::PrefixList", }, "githubwebIPv4a0899eff367db01ac847004e110219caa988639425757759": { "Properties": { "GroupDescription": "TestStack/github.web-IPv4", "Tags": [ { "Key": "Name", "Value": "github.web.IPv4", }, ], "VpcId": { "Ref": "VPCB9E5F0B4", }, }, "Type": "AWS::EC2::SecurityGroup", }, "githubwebIPv4a0899eff367db01ac847004e110219caa9886394toTestStackgithubwebIPv4a0899eff367db01ac847004e110219caa98863944436E747390": { "Properties": { "Description": "to github.web (IPv4)", "DestinationPrefixListId": { "Fn::GetAtt": [ "githubwebIPv4a0899eff367db01ac847004e110219caa9886394", "PrefixListId", ], }, "FromPort": 443, "GroupId": { "Fn::GetAtt": [ "githubwebIPv4a0899eff367db01ac847004e110219caa988639425757759", "GroupId", ], }, "IpProtocol": "tcp", "ToPort": 443, }, "Type": "AWS::EC2::SecurityGroupEgress", }, }, "Rules": { "CheckBootstrapVersion": { "Assertions": [ { "Assert": { "Fn::Not": [ { "Fn::Contains": [ [ "1", "2", "3", "4", "5", ], { "Ref": "BootstrapVersion", }, ], }, ], }, "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", }, ], }, }, } `;