|
44 | 44 | "PrivateSubnetBTag3", |
45 | 45 | "VPCTenancy" |
46 | 46 | ] |
47 | | - }, |
48 | | - { |
49 | | - "Label": { |
50 | | - "default": "Deprecated: NAT Instance Configuration" |
51 | | - }, |
52 | | - "Parameters": [ |
53 | | - "KeyPairName", |
54 | | - "NATInstanceType" |
55 | | - ] |
56 | 47 | } |
57 | 48 | ], |
58 | 49 | "ParameterLabels": { |
|
65 | 56 | "CreatePrivateSubnets": { |
66 | 57 | "default": "Create private subnets" |
67 | 58 | }, |
68 | | - "KeyPairName": { |
69 | | - "default": "Deprecated: Key pair name" |
70 | | - }, |
71 | | - "NATInstanceType": { |
72 | | - "default": "Deprecated: NAT instance type" |
73 | | - }, |
74 | 59 | "NumberOfAZs": { |
75 | 60 | "default": "Number of Availability Zones" |
76 | 61 | }, |
|
169 | 154 | "Description": "Set to false to create only public subnets. If false, the CIDR parameters for ALL private subnets will be ignored.", |
170 | 155 | "Type": "String" |
171 | 156 | }, |
172 | | - "KeyPairName": { |
173 | | - "Description": "Deprecated. NAT gateways are now supported in all regions.", |
174 | | - "Type": "String", |
175 | | - "Default": "deprecated" |
176 | | - }, |
177 | | - "NATInstanceType": { |
178 | | - "Default": "deprecated", |
179 | | - "Description": "Deprecated. NAT gateways are now supported in all regions.", |
180 | | - "Type": "String" |
181 | | - }, |
182 | 157 | "NumberOfAZs": { |
183 | 158 | "AllowedValues": [ |
184 | 159 | "2", |
|
597 | 572 | "InstanceTenancy": { |
598 | 573 | "Ref": "VPCTenancy" |
599 | 574 | }, |
600 | | - "EnableDnsSupport": "true", |
601 | | - "EnableDnsHostnames": "true", |
| 575 | + "EnableDnsSupport": true, |
| 576 | + "EnableDnsHostnames": true, |
602 | 577 | "Tags": [ |
603 | 578 | { |
604 | 579 | "Key": "Name", |
|
2498 | 2473 | "Type": "AWS::EC2::NetworkAclEntry", |
2499 | 2474 | "Properties": { |
2500 | 2475 | "CidrBlock": "0.0.0.0/0", |
2501 | | - "Egress": "false", |
| 2476 | + "Egress": false, |
2502 | 2477 | "NetworkAclId": { |
2503 | 2478 | "Ref": "PrivateSubnet1BNetworkAcl" |
2504 | 2479 | }, |
2505 | | - "Protocol": "-1", |
| 2480 | + "Protocol": -1, |
2506 | 2481 | "RuleAction": "allow", |
2507 | | - "RuleNumber": "100" |
| 2482 | + "RuleNumber": 100 |
2508 | 2483 | } |
2509 | 2484 | }, |
2510 | 2485 | "PrivateSubnet1BNetworkAclEntryOutbound": { |
2511 | 2486 | "Condition": "AdditionalPrivateSubnetsCondition", |
2512 | 2487 | "Type": "AWS::EC2::NetworkAclEntry", |
2513 | 2488 | "Properties": { |
2514 | 2489 | "CidrBlock": "0.0.0.0/0", |
2515 | | - "Egress": "true", |
| 2490 | + "Egress": true, |
2516 | 2491 | "NetworkAclId": { |
2517 | 2492 | "Ref": "PrivateSubnet1BNetworkAcl" |
2518 | 2493 | }, |
2519 | | - "Protocol": "-1", |
| 2494 | + "Protocol": -1, |
2520 | 2495 | "RuleAction": "allow", |
2521 | | - "RuleNumber": "100" |
| 2496 | + "RuleNumber": 100 |
2522 | 2497 | } |
2523 | 2498 | }, |
2524 | 2499 | "PrivateSubnet1BNetworkAclAssociation": { |
|
2601 | 2576 | "Type": "AWS::EC2::NetworkAclEntry", |
2602 | 2577 | "Properties": { |
2603 | 2578 | "CidrBlock": "0.0.0.0/0", |
2604 | | - "Egress": "false", |
| 2579 | + "Egress": false, |
2605 | 2580 | "NetworkAclId": { |
2606 | 2581 | "Ref": "PrivateSubnet2BNetworkAcl" |
2607 | 2582 | }, |
2608 | | - "Protocol": "-1", |
| 2583 | + "Protocol": -1, |
2609 | 2584 | "RuleAction": "allow", |
2610 | | - "RuleNumber": "100" |
| 2585 | + "RuleNumber": 100 |
2611 | 2586 | } |
2612 | 2587 | }, |
2613 | 2588 | "PrivateSubnet2BNetworkAclEntryOutbound": { |
2614 | 2589 | "Condition": "AdditionalPrivateSubnetsCondition", |
2615 | 2590 | "Type": "AWS::EC2::NetworkAclEntry", |
2616 | 2591 | "Properties": { |
2617 | 2592 | "CidrBlock": "0.0.0.0/0", |
2618 | | - "Egress": "true", |
| 2593 | + "Egress": true, |
2619 | 2594 | "NetworkAclId": { |
2620 | 2595 | "Ref": "PrivateSubnet2BNetworkAcl" |
2621 | 2596 | }, |
2622 | | - "Protocol": "-1", |
| 2597 | + "Protocol": -1, |
2623 | 2598 | "RuleAction": "allow", |
2624 | | - "RuleNumber": "100" |
| 2599 | + "RuleNumber": 100 |
2625 | 2600 | } |
2626 | 2601 | }, |
2627 | 2602 | "PrivateSubnet2BNetworkAclAssociation": { |
|
2704 | 2679 | "Type": "AWS::EC2::NetworkAclEntry", |
2705 | 2680 | "Properties": { |
2706 | 2681 | "CidrBlock": "0.0.0.0/0", |
2707 | | - "Egress": "false", |
| 2682 | + "Egress": false, |
2708 | 2683 | "NetworkAclId": { |
2709 | 2684 | "Ref": "PrivateSubnet3BNetworkAcl" |
2710 | 2685 | }, |
2711 | | - "Protocol": "-1", |
| 2686 | + "Protocol": -1, |
2712 | 2687 | "RuleAction": "allow", |
2713 | | - "RuleNumber": "100" |
| 2688 | + "RuleNumber": 100 |
2714 | 2689 | } |
2715 | 2690 | }, |
2716 | 2691 | "PrivateSubnet3BNetworkAclEntryOutbound": { |
2717 | 2692 | "Condition": "AdditionalPrivateSubnets&3AZCondition", |
2718 | 2693 | "Type": "AWS::EC2::NetworkAclEntry", |
2719 | 2694 | "Properties": { |
2720 | 2695 | "CidrBlock": "0.0.0.0/0", |
2721 | | - "Egress": "true", |
| 2696 | + "Egress": true, |
2722 | 2697 | "NetworkAclId": { |
2723 | 2698 | "Ref": "PrivateSubnet3BNetworkAcl" |
2724 | 2699 | }, |
2725 | | - "Protocol": "-1", |
| 2700 | + "Protocol": -1, |
2726 | 2701 | "RuleAction": "allow", |
2727 | | - "RuleNumber": "100" |
| 2702 | + "RuleNumber": 100 |
2728 | 2703 | } |
2729 | 2704 | }, |
2730 | 2705 | "PrivateSubnet3BNetworkAclAssociation": { |
|
2807 | 2782 | "Type": "AWS::EC2::NetworkAclEntry", |
2808 | 2783 | "Properties": { |
2809 | 2784 | "CidrBlock": "0.0.0.0/0", |
2810 | | - "Egress": "false", |
| 2785 | + "Egress": false, |
2811 | 2786 | "NetworkAclId": { |
2812 | 2787 | "Ref": "PrivateSubnet4BNetworkAcl" |
2813 | 2788 | }, |
2814 | | - "Protocol": "-1", |
| 2789 | + "Protocol": -1, |
2815 | 2790 | "RuleAction": "allow", |
2816 | | - "RuleNumber": "100" |
| 2791 | + "RuleNumber": 100 |
2817 | 2792 | } |
2818 | 2793 | }, |
2819 | 2794 | "PrivateSubnet4BNetworkAclEntryOutbound": { |
2820 | 2795 | "Condition": "AdditionalPrivateSubnets&4AZCondition", |
2821 | 2796 | "Type": "AWS::EC2::NetworkAclEntry", |
2822 | 2797 | "Properties": { |
2823 | 2798 | "CidrBlock": "0.0.0.0/0", |
2824 | | - "Egress": "true", |
| 2799 | + "Egress": true, |
2825 | 2800 | "NetworkAclId": { |
2826 | 2801 | "Ref": "PrivateSubnet4BNetworkAcl" |
2827 | 2802 | }, |
2828 | | - "Protocol": "-1", |
| 2803 | + "Protocol": -1, |
2829 | 2804 | "RuleAction": "allow", |
2830 | | - "RuleNumber": "100" |
| 2805 | + "RuleNumber": 100 |
2831 | 2806 | } |
2832 | 2807 | }, |
2833 | 2808 | "PrivateSubnet4BNetworkAclAssociation": { |
|
3016 | 2991 | } |
3017 | 2992 | }, |
3018 | 2993 | "S3VPCEndpoint": { |
| 2994 | + "Condition": "PrivateSubnetsCondition", |
3019 | 2995 | "Type": "AWS::EC2::VPCEndpoint", |
3020 | 2996 | "Properties": { |
3021 | 2997 | "PolicyDocument": { |
|
3446 | 3422 | } |
3447 | 3423 | }, |
3448 | 3424 | "S3VPCEndpoint": { |
| 3425 | + "Condition": "PrivateSubnetsCondition", |
3449 | 3426 | "Description": "S3 VPC Endpoint", |
3450 | 3427 | "Value": { |
3451 | 3428 | "Ref": "S3VPCEndpoint" |
|
0 commit comments