@aws-cdk/aws-route53resolver-alpha 2.3.0-alpha.0 → 2.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +134 -131
- package/.jsii.tabl.json +785 -52
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +17 -4
- package/lib/firewall-domain-list.js +2 -2
- package/lib/firewall-rule-group-association.js +1 -1
- package/lib/firewall-rule-group.js +3 -3
- package/lib/route53resolver-canned-metrics.generated.js +2 -2
- package/package.json +16 -9
- package/rosetta/default.ts-fixture +11 -0
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.7.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -2855,7 +2855,7 @@
|
|
|
2855
2855
|
"stability": "experimental"
|
|
2856
2856
|
},
|
|
2857
2857
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2858
|
-
"jsiiVersion": "1.
|
|
2858
|
+
"jsiiVersion": "1.50.0 (build d1830a4)",
|
|
2859
2859
|
"keywords": [
|
|
2860
2860
|
"aws",
|
|
2861
2861
|
"cdk",
|
|
@@ -2868,12 +2868,15 @@
|
|
|
2868
2868
|
"compiledWithDeprecationWarnings": true,
|
|
2869
2869
|
"pacmak": {
|
|
2870
2870
|
"hasDefaultInterfaces": true
|
|
2871
|
+
},
|
|
2872
|
+
"rosetta": {
|
|
2873
|
+
"strict": true
|
|
2871
2874
|
}
|
|
2872
2875
|
}
|
|
2873
2876
|
},
|
|
2874
2877
|
"name": "@aws-cdk/aws-route53resolver-alpha",
|
|
2875
2878
|
"readme": {
|
|
2876
|
-
"markdown": "# Amazon Route53 Resolver Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n## DNS Firewall\n\nWith Route 53 Resolver DNS Firewall, you can filter and regulate outbound DNS traffic for your\nvirtual private connections (VPCs). To do this, you create reusable collections of filtering rules\nin DNS Firewall rule groups and associate the rule groups to your VPC.\n\nDNS Firewall provides protection for outbound DNS requests from your VPCs. These requests route\nthrough Resolver for domain name resolution. A primary use of DNS Firewall protections is to help\nprevent DNS exfiltration of your data. DNS exfiltration can happen when a bad actor compromises\nan application instance in your VPC and then uses DNS lookup to send data out of the VPC to a domain\nthat they control. With DNS Firewall, you can monitor and control the domains that your applications\ncan query. You can deny access to the domains that you know to be bad and allow all other queries\nto pass through. Alternately, you can deny access to all domains except for the ones that you\nexplicitly trust.\n\n### Domain lists\n\nDomain lists can be created using a list of strings, a text file stored in Amazon S3 or a local\ntext file:\n\n```ts\nconst blockList = new route53resolver.FirewallDomainList(this, 'BlockList', {\n domains: route53resolver.FirewallDomains.fromList(['bad-domain.com', 'bot-domain.net']),\n});\n\nconst s3List = new route53resolver.FirewallDomainList(this, 'S3List', {\n domains: route53resolver.FirewallDomains.fromS3Url('s3://bucket/prefix/object'),\n});\n\nconst assetList = new route53resolver.FirewallDomainList(this, 'AssetList', {\n domains: route53resolver.FirewallDomains.fromAsset('/path/to/domains.txt'),\n});\n```\n\nThe file must be a text file and must contain a single domain per line.\n\nUse `FirewallDomainList.fromFirewallDomainListId()` to import an existing or [AWS managed domain list](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-dns-firewall-managed-domain-lists.html):\n\n```ts\n// AWSManagedDomainsMalwareDomainList in us-east-1\nconst malwareList = route53resolver.FirewallDomainList.fromFirewallDomainListId(this
|
|
2879
|
+
"markdown": "# Amazon Route53 Resolver Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n## DNS Firewall\n\nWith Route 53 Resolver DNS Firewall, you can filter and regulate outbound DNS traffic for your\nvirtual private connections (VPCs). To do this, you create reusable collections of filtering rules\nin DNS Firewall rule groups and associate the rule groups to your VPC.\n\nDNS Firewall provides protection for outbound DNS requests from your VPCs. These requests route\nthrough Resolver for domain name resolution. A primary use of DNS Firewall protections is to help\nprevent DNS exfiltration of your data. DNS exfiltration can happen when a bad actor compromises\nan application instance in your VPC and then uses DNS lookup to send data out of the VPC to a domain\nthat they control. With DNS Firewall, you can monitor and control the domains that your applications\ncan query. You can deny access to the domains that you know to be bad and allow all other queries\nto pass through. Alternately, you can deny access to all domains except for the ones that you\nexplicitly trust.\n\n### Domain lists\n\nDomain lists can be created using a list of strings, a text file stored in Amazon S3 or a local\ntext file:\n\n```ts\nconst blockList = new route53resolver.FirewallDomainList(this, 'BlockList', {\n domains: route53resolver.FirewallDomains.fromList(['bad-domain.com', 'bot-domain.net']),\n});\n\nconst s3List = new route53resolver.FirewallDomainList(this, 'S3List', {\n domains: route53resolver.FirewallDomains.fromS3Url('s3://bucket/prefix/object'),\n});\n\nconst assetList = new route53resolver.FirewallDomainList(this, 'AssetList', {\n domains: route53resolver.FirewallDomains.fromAsset('/path/to/domains.txt'),\n});\n```\n\nThe file must be a text file and must contain a single domain per line.\n\nUse `FirewallDomainList.fromFirewallDomainListId()` to import an existing or [AWS managed domain list](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-dns-firewall-managed-domain-lists.html):\n\n```ts\n// AWSManagedDomainsMalwareDomainList in us-east-1\nconst malwareList = route53resolver.FirewallDomainList.fromFirewallDomainListId(\n this,\n 'Malware',\n 'rslvr-fdl-2c46f2ecbfec4dcc',\n);\n```\n\n### Rule group\n\nCreate a rule group:\n\n```ts\ndeclare const myBlockList: route53resolver.FirewallDomainList;\nnew route53resolver.FirewallRuleGroup(this, 'RuleGroup', {\n rules: [\n {\n priority: 10,\n firewallDomainList: myBlockList,\n // block and reply with NODATA\n action: route53resolver.FirewallRuleAction.block(),\n },\n ],\n});\n```\n\nRules can be added at construction time or using `addRule()`:\n\n```ts\ndeclare const myBlockList: route53resolver.FirewallDomainList;\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\n\nruleGroup.addRule({\n priority: 10,\n firewallDomainList: myBlockList,\n // block and reply with NXDOMAIN\n action: route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.nxDomain()),\n});\n\nruleGroup.addRule({\n priority: 20,\n firewallDomainList: myBlockList,\n // block and override DNS response with a custom domain\n action: route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.override('amazon.com')),\n});\n```\n\nUse `associate()` to associate a rule group with a VPC:\n\n```ts\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\ndeclare const myVpc: ec2.Vpc;\n\nruleGroup.associate('Association', {\n priority: 101,\n vpc: myVpc,\n})\n```\n"
|
|
2877
2880
|
},
|
|
2878
2881
|
"repository": {
|
|
2879
2882
|
"directory": "packages/individual-packages/aws-route53resolver",
|
|
@@ -2915,12 +2918,12 @@
|
|
|
2915
2918
|
"abstract": true,
|
|
2916
2919
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
2917
2920
|
"docs": {
|
|
2918
|
-
"stability": "experimental",
|
|
2919
|
-
"summary": "The way that you want DNS Firewall to block the request.",
|
|
2920
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\nconst dnsBlockResponse = route53resolver_alpha.DnsBlockResponse.noData();",
|
|
2921
2921
|
"custom": {
|
|
2922
|
-
"exampleMetadata": "
|
|
2923
|
-
}
|
|
2922
|
+
"exampleMetadata": "infused"
|
|
2923
|
+
},
|
|
2924
|
+
"example": "declare const myBlockList: route53resolver.FirewallDomainList;\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\n\nruleGroup.addRule({\n priority: 10,\n firewallDomainList: myBlockList,\n // block and reply with NXDOMAIN\n action: route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.nxDomain()),\n});\n\nruleGroup.addRule({\n priority: 20,\n firewallDomainList: myBlockList,\n // block and override DNS response with a custom domain\n action: route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.override('amazon.com')),\n});",
|
|
2925
|
+
"stability": "experimental",
|
|
2926
|
+
"summary": "The way that you want DNS Firewall to block the request."
|
|
2924
2927
|
},
|
|
2925
2928
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse",
|
|
2926
2929
|
"initializer": {
|
|
@@ -3086,7 +3089,7 @@
|
|
|
3086
3089
|
"docs": {
|
|
3087
3090
|
"stability": "experimental",
|
|
3088
3091
|
"summary": "Domains configuration.",
|
|
3089
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\
|
|
3092
|
+
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\nconst domainsConfig: route53resolver_alpha.DomainsConfig = {\n domainFileUrl: 'domainFileUrl',\n domains: ['domains'],\n};",
|
|
3090
3093
|
"custom": {
|
|
3091
3094
|
"exampleMetadata": "fixture=_generated"
|
|
3092
3095
|
}
|
|
@@ -3148,12 +3151,12 @@
|
|
|
3148
3151
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
3149
3152
|
"base": "aws-cdk-lib.Resource",
|
|
3150
3153
|
"docs": {
|
|
3151
|
-
"stability": "experimental",
|
|
3152
|
-
"summary": "A Firewall Domain List.",
|
|
3153
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\ndeclare const firewallDomains: route53resolver_alpha.FirewallDomains;\n\nconst firewallDomainList = new route53resolver_alpha.FirewallDomainList(this, 'MyFirewallDomainList', {\n domains: firewallDomains,\n\n // the properties below are optional\n name: 'name',\n});",
|
|
3154
3154
|
"custom": {
|
|
3155
|
-
"exampleMetadata": "
|
|
3156
|
-
}
|
|
3155
|
+
"exampleMetadata": "infused"
|
|
3156
|
+
},
|
|
3157
|
+
"example": "const blockList = new route53resolver.FirewallDomainList(this, 'BlockList', {\n domains: route53resolver.FirewallDomains.fromList(['bad-domain.com', 'bot-domain.net']),\n});\n\nconst s3List = new route53resolver.FirewallDomainList(this, 'S3List', {\n domains: route53resolver.FirewallDomains.fromS3Url('s3://bucket/prefix/object'),\n});\n\nconst assetList = new route53resolver.FirewallDomainList(this, 'AssetList', {\n domains: route53resolver.FirewallDomains.fromAsset('/path/to/domains.txt'),\n});",
|
|
3158
|
+
"stability": "experimental",
|
|
3159
|
+
"summary": "A Firewall Domain List."
|
|
3157
3160
|
},
|
|
3158
3161
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallDomainList",
|
|
3159
3162
|
"initializer": {
|
|
@@ -3402,12 +3405,12 @@
|
|
|
3402
3405
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
3403
3406
|
"datatype": true,
|
|
3404
3407
|
"docs": {
|
|
3405
|
-
"stability": "experimental",
|
|
3406
|
-
"summary": "Properties for a Firewall Domain List.",
|
|
3407
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\ndeclare const firewallDomains: route53resolver_alpha.FirewallDomains;\n\nconst firewallDomainListProps: route53resolver_alpha.FirewallDomainListProps = {\n domains: firewallDomains,\n\n // the properties below are optional\n name: 'name',\n};",
|
|
3408
3408
|
"custom": {
|
|
3409
|
-
"exampleMetadata": "
|
|
3410
|
-
}
|
|
3409
|
+
"exampleMetadata": "infused"
|
|
3410
|
+
},
|
|
3411
|
+
"example": "const blockList = new route53resolver.FirewallDomainList(this, 'BlockList', {\n domains: route53resolver.FirewallDomains.fromList(['bad-domain.com', 'bot-domain.net']),\n});\n\nconst s3List = new route53resolver.FirewallDomainList(this, 'S3List', {\n domains: route53resolver.FirewallDomains.fromS3Url('s3://bucket/prefix/object'),\n});\n\nconst assetList = new route53resolver.FirewallDomainList(this, 'AssetList', {\n domains: route53resolver.FirewallDomains.fromAsset('/path/to/domains.txt'),\n});",
|
|
3412
|
+
"stability": "experimental",
|
|
3413
|
+
"summary": "Properties for a Firewall Domain List."
|
|
3411
3414
|
},
|
|
3412
3415
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallDomainListProps",
|
|
3413
3416
|
"kind": "interface",
|
|
@@ -3458,12 +3461,12 @@
|
|
|
3458
3461
|
"abstract": true,
|
|
3459
3462
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
3460
3463
|
"docs": {
|
|
3461
|
-
"stability": "experimental",
|
|
3462
|
-
"summary": "A list of domains.",
|
|
3463
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\nconst firewallDomains = route53resolver_alpha.FirewallDomains.fromAsset('assetPath');",
|
|
3464
3464
|
"custom": {
|
|
3465
|
-
"exampleMetadata": "
|
|
3466
|
-
}
|
|
3465
|
+
"exampleMetadata": "infused"
|
|
3466
|
+
},
|
|
3467
|
+
"example": "const blockList = new route53resolver.FirewallDomainList(this, 'BlockList', {\n domains: route53resolver.FirewallDomains.fromList(['bad-domain.com', 'bot-domain.net']),\n});\n\nconst s3List = new route53resolver.FirewallDomainList(this, 'S3List', {\n domains: route53resolver.FirewallDomains.fromS3Url('s3://bucket/prefix/object'),\n});\n\nconst assetList = new route53resolver.FirewallDomainList(this, 'AssetList', {\n domains: route53resolver.FirewallDomains.fromAsset('/path/to/domains.txt'),\n});",
|
|
3468
|
+
"stability": "experimental",
|
|
3469
|
+
"summary": "A list of domains."
|
|
3467
3470
|
},
|
|
3468
3471
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallDomains",
|
|
3469
3472
|
"initializer": {
|
|
@@ -3477,31 +3480,6 @@
|
|
|
3477
3480
|
"line": 40
|
|
3478
3481
|
},
|
|
3479
3482
|
"methods": [
|
|
3480
|
-
{
|
|
3481
|
-
"abstract": true,
|
|
3482
|
-
"docs": {
|
|
3483
|
-
"stability": "experimental",
|
|
3484
|
-
"summary": "Binds the domains to a domain list."
|
|
3485
|
-
},
|
|
3486
|
-
"locationInModule": {
|
|
3487
|
-
"filename": "lib/firewall-domain-list.ts",
|
|
3488
|
-
"line": 120
|
|
3489
|
-
},
|
|
3490
|
-
"name": "bind",
|
|
3491
|
-
"parameters": [
|
|
3492
|
-
{
|
|
3493
|
-
"name": "scope",
|
|
3494
|
-
"type": {
|
|
3495
|
-
"fqn": "constructs.Construct"
|
|
3496
|
-
}
|
|
3497
|
-
}
|
|
3498
|
-
],
|
|
3499
|
-
"returns": {
|
|
3500
|
-
"type": {
|
|
3501
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.DomainsConfig"
|
|
3502
|
-
}
|
|
3503
|
-
}
|
|
3504
|
-
},
|
|
3505
3483
|
{
|
|
3506
3484
|
"docs": {
|
|
3507
3485
|
"remarks": "The file must be a text file (`.txt` extension) and must contain a single\ndomain per line. It will be uploaded to S3.",
|
|
@@ -3630,6 +3608,31 @@
|
|
|
3630
3608
|
}
|
|
3631
3609
|
},
|
|
3632
3610
|
"static": true
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
"abstract": true,
|
|
3614
|
+
"docs": {
|
|
3615
|
+
"stability": "experimental",
|
|
3616
|
+
"summary": "Binds the domains to a domain list."
|
|
3617
|
+
},
|
|
3618
|
+
"locationInModule": {
|
|
3619
|
+
"filename": "lib/firewall-domain-list.ts",
|
|
3620
|
+
"line": 120
|
|
3621
|
+
},
|
|
3622
|
+
"name": "bind",
|
|
3623
|
+
"parameters": [
|
|
3624
|
+
{
|
|
3625
|
+
"name": "scope",
|
|
3626
|
+
"type": {
|
|
3627
|
+
"fqn": "constructs.Construct"
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
],
|
|
3631
|
+
"returns": {
|
|
3632
|
+
"type": {
|
|
3633
|
+
"fqn": "@aws-cdk/aws-route53resolver-alpha.DomainsConfig"
|
|
3634
|
+
}
|
|
3635
|
+
}
|
|
3633
3636
|
}
|
|
3634
3637
|
],
|
|
3635
3638
|
"name": "FirewallDomains",
|
|
@@ -3639,12 +3642,12 @@
|
|
|
3639
3642
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
3640
3643
|
"datatype": true,
|
|
3641
3644
|
"docs": {
|
|
3642
|
-
"stability": "experimental",
|
|
3643
|
-
"summary": "A Firewall Rule.",
|
|
3644
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\ndeclare const firewallDomainList: route53resolver_alpha.FirewallDomainList;\ndeclare const firewallRuleAction: route53resolver_alpha.FirewallRuleAction;\n\nconst firewallRule: route53resolver_alpha.FirewallRule = {\n action: firewallRuleAction,\n firewallDomainList: firewallDomainList,\n priority: 123,\n};",
|
|
3645
3645
|
"custom": {
|
|
3646
|
-
"exampleMetadata": "
|
|
3647
|
-
}
|
|
3646
|
+
"exampleMetadata": "infused"
|
|
3647
|
+
},
|
|
3648
|
+
"example": "declare const myBlockList: route53resolver.FirewallDomainList;\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\n\nruleGroup.addRule({\n priority: 10,\n firewallDomainList: myBlockList,\n // block and reply with NXDOMAIN\n action: route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.nxDomain()),\n});\n\nruleGroup.addRule({\n priority: 20,\n firewallDomainList: myBlockList,\n // block and override DNS response with a custom domain\n action: route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.override('amazon.com')),\n});",
|
|
3649
|
+
"stability": "experimental",
|
|
3650
|
+
"summary": "A Firewall Rule."
|
|
3648
3651
|
},
|
|
3649
3652
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRule",
|
|
3650
3653
|
"kind": "interface",
|
|
@@ -3710,12 +3713,12 @@
|
|
|
3710
3713
|
"abstract": true,
|
|
3711
3714
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
3712
3715
|
"docs": {
|
|
3713
|
-
"stability": "experimental",
|
|
3714
|
-
"summary": "A Firewall Rule.",
|
|
3715
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\nconst firewallRuleAction = route53resolver_alpha.FirewallRuleAction.alert();",
|
|
3716
3716
|
"custom": {
|
|
3717
|
-
"exampleMetadata": "
|
|
3718
|
-
}
|
|
3717
|
+
"exampleMetadata": "infused"
|
|
3718
|
+
},
|
|
3719
|
+
"example": "declare const myBlockList: route53resolver.FirewallDomainList;\nnew route53resolver.FirewallRuleGroup(this, 'RuleGroup', {\n rules: [\n {\n priority: 10,\n firewallDomainList: myBlockList,\n // block and reply with NODATA\n action: route53resolver.FirewallRuleAction.block(),\n },\n ],\n});",
|
|
3720
|
+
"stability": "experimental",
|
|
3721
|
+
"summary": "A Firewall Rule."
|
|
3719
3722
|
},
|
|
3720
3723
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
3721
3724
|
"initializer": {
|
|
@@ -3835,12 +3838,12 @@
|
|
|
3835
3838
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
3836
3839
|
"base": "aws-cdk-lib.Resource",
|
|
3837
3840
|
"docs": {
|
|
3838
|
-
"stability": "experimental",
|
|
3839
|
-
"summary": "A Firewall Rule Group.",
|
|
3840
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\ndeclare const firewallDomainList: route53resolver_alpha.FirewallDomainList;\ndeclare const firewallRuleAction: route53resolver_alpha.FirewallRuleAction;\n\nconst firewallRuleGroup = new route53resolver_alpha.FirewallRuleGroup(this, 'MyFirewallRuleGroup', /* all optional props */ {\n name: 'name',\n rules: [{\n action: firewallRuleAction,\n firewallDomainList: firewallDomainList,\n priority: 123,\n }],\n});",
|
|
3841
3841
|
"custom": {
|
|
3842
|
-
"exampleMetadata": "
|
|
3843
|
-
}
|
|
3842
|
+
"exampleMetadata": "infused"
|
|
3843
|
+
},
|
|
3844
|
+
"example": "declare const myBlockList: route53resolver.FirewallDomainList;\nnew route53resolver.FirewallRuleGroup(this, 'RuleGroup', {\n rules: [\n {\n priority: 10,\n firewallDomainList: myBlockList,\n // block and reply with NODATA\n action: route53resolver.FirewallRuleAction.block(),\n },\n ],\n});",
|
|
3845
|
+
"stability": "experimental",
|
|
3846
|
+
"summary": "A Firewall Rule Group."
|
|
3844
3847
|
},
|
|
3845
3848
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup",
|
|
3846
3849
|
"initializer": {
|
|
@@ -3885,74 +3888,75 @@
|
|
|
3885
3888
|
{
|
|
3886
3889
|
"docs": {
|
|
3887
3890
|
"stability": "experimental",
|
|
3888
|
-
"summary": "
|
|
3891
|
+
"summary": "Import an existing Firewall Rule Group."
|
|
3889
3892
|
},
|
|
3890
3893
|
"locationInModule": {
|
|
3891
3894
|
"filename": "lib/firewall-rule-group.ts",
|
|
3892
|
-
"line":
|
|
3895
|
+
"line": 160
|
|
3893
3896
|
},
|
|
3894
|
-
"name": "
|
|
3897
|
+
"name": "fromFirewallRuleGroupId",
|
|
3895
3898
|
"parameters": [
|
|
3896
3899
|
{
|
|
3897
|
-
"name": "
|
|
3900
|
+
"name": "scope",
|
|
3898
3901
|
"type": {
|
|
3899
|
-
"fqn": "
|
|
3902
|
+
"fqn": "constructs.Construct"
|
|
3903
|
+
}
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"name": "id",
|
|
3907
|
+
"type": {
|
|
3908
|
+
"primitive": "string"
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"name": "firewallRuleGroupId",
|
|
3913
|
+
"type": {
|
|
3914
|
+
"primitive": "string"
|
|
3900
3915
|
}
|
|
3901
3916
|
}
|
|
3902
3917
|
],
|
|
3903
3918
|
"returns": {
|
|
3904
3919
|
"type": {
|
|
3905
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.
|
|
3920
|
+
"fqn": "@aws-cdk/aws-route53resolver-alpha.IFirewallRuleGroup"
|
|
3906
3921
|
}
|
|
3907
|
-
}
|
|
3922
|
+
},
|
|
3923
|
+
"static": true
|
|
3908
3924
|
},
|
|
3909
3925
|
{
|
|
3910
3926
|
"docs": {
|
|
3911
3927
|
"stability": "experimental",
|
|
3912
|
-
"summary": "
|
|
3928
|
+
"summary": "Adds a rule to this group."
|
|
3913
3929
|
},
|
|
3914
3930
|
"locationInModule": {
|
|
3915
3931
|
"filename": "lib/firewall-rule-group.ts",
|
|
3916
|
-
"line":
|
|
3932
|
+
"line": 251
|
|
3917
3933
|
},
|
|
3918
|
-
"name": "
|
|
3934
|
+
"name": "addRule",
|
|
3919
3935
|
"parameters": [
|
|
3920
3936
|
{
|
|
3921
|
-
"name": "
|
|
3922
|
-
"type": {
|
|
3923
|
-
"primitive": "string"
|
|
3924
|
-
}
|
|
3925
|
-
},
|
|
3926
|
-
{
|
|
3927
|
-
"name": "props",
|
|
3937
|
+
"name": "rule",
|
|
3928
3938
|
"type": {
|
|
3929
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.
|
|
3939
|
+
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRule"
|
|
3930
3940
|
}
|
|
3931
3941
|
}
|
|
3932
3942
|
],
|
|
3933
3943
|
"returns": {
|
|
3934
3944
|
"type": {
|
|
3935
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.
|
|
3945
|
+
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup"
|
|
3936
3946
|
}
|
|
3937
3947
|
}
|
|
3938
3948
|
},
|
|
3939
3949
|
{
|
|
3940
3950
|
"docs": {
|
|
3941
3951
|
"stability": "experimental",
|
|
3942
|
-
"summary": "
|
|
3952
|
+
"summary": "Associates this Firewall Rule Group with a VPC."
|
|
3943
3953
|
},
|
|
3944
3954
|
"locationInModule": {
|
|
3945
3955
|
"filename": "lib/firewall-rule-group.ts",
|
|
3946
|
-
"line":
|
|
3956
|
+
"line": 259
|
|
3947
3957
|
},
|
|
3948
|
-
"name": "
|
|
3958
|
+
"name": "associate",
|
|
3949
3959
|
"parameters": [
|
|
3950
|
-
{
|
|
3951
|
-
"name": "scope",
|
|
3952
|
-
"type": {
|
|
3953
|
-
"fqn": "constructs.Construct"
|
|
3954
|
-
}
|
|
3955
|
-
},
|
|
3956
3960
|
{
|
|
3957
3961
|
"name": "id",
|
|
3958
3962
|
"type": {
|
|
@@ -3960,18 +3964,17 @@
|
|
|
3960
3964
|
}
|
|
3961
3965
|
},
|
|
3962
3966
|
{
|
|
3963
|
-
"name": "
|
|
3967
|
+
"name": "props",
|
|
3964
3968
|
"type": {
|
|
3965
|
-
"
|
|
3969
|
+
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationOptions"
|
|
3966
3970
|
}
|
|
3967
3971
|
}
|
|
3968
3972
|
],
|
|
3969
3973
|
"returns": {
|
|
3970
3974
|
"type": {
|
|
3971
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.
|
|
3975
|
+
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociation"
|
|
3972
3976
|
}
|
|
3973
|
-
}
|
|
3974
|
-
"static": true
|
|
3977
|
+
}
|
|
3975
3978
|
}
|
|
3976
3979
|
],
|
|
3977
3980
|
"name": "FirewallRuleGroup",
|
|
@@ -4163,7 +4166,7 @@
|
|
|
4163
4166
|
"docs": {
|
|
4164
4167
|
"stability": "experimental",
|
|
4165
4168
|
"summary": "A Firewall Rule Group Association.",
|
|
4166
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const firewallRuleGroup: route53resolver_alpha.FirewallRuleGroup;\ndeclare const vpc: ec2.Vpc;\
|
|
4169
|
+
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const firewallRuleGroup: route53resolver_alpha.FirewallRuleGroup;\ndeclare const vpc: ec2.Vpc;\nconst firewallRuleGroupAssociation = new route53resolver_alpha.FirewallRuleGroupAssociation(this, 'MyFirewallRuleGroupAssociation', {\n firewallRuleGroup: firewallRuleGroup,\n priority: 123,\n vpc: vpc,\n\n // the properties below are optional\n mutationProtection: false,\n name: 'name',\n});",
|
|
4167
4170
|
"custom": {
|
|
4168
4171
|
"exampleMetadata": "fixture=_generated"
|
|
4169
4172
|
}
|
|
@@ -4357,12 +4360,12 @@
|
|
|
4357
4360
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
4358
4361
|
"datatype": true,
|
|
4359
4362
|
"docs": {
|
|
4360
|
-
"stability": "experimental",
|
|
4361
|
-
"summary": "Options for a Firewall Rule Group Association.",
|
|
4362
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const vpc: ec2.Vpc;\n\nconst firewallRuleGroupAssociationOptions: route53resolver_alpha.FirewallRuleGroupAssociationOptions = {\n priority: 123,\n vpc: vpc,\n\n // the properties below are optional\n mutationProtection: false,\n name: 'name',\n};",
|
|
4363
4363
|
"custom": {
|
|
4364
|
-
"exampleMetadata": "
|
|
4365
|
-
}
|
|
4364
|
+
"exampleMetadata": "infused"
|
|
4365
|
+
},
|
|
4366
|
+
"example": "import * as ec2 from 'aws-cdk-lib/aws-ec2';\n\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\ndeclare const myVpc: ec2.Vpc;\n\nruleGroup.associate('Association', {\n priority: 101,\n vpc: myVpc,\n})",
|
|
4367
|
+
"stability": "experimental",
|
|
4368
|
+
"summary": "Options for a Firewall Rule Group Association."
|
|
4366
4369
|
},
|
|
4367
4370
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationOptions",
|
|
4368
4371
|
"kind": "interface",
|
|
@@ -4375,70 +4378,70 @@
|
|
|
4375
4378
|
{
|
|
4376
4379
|
"abstract": true,
|
|
4377
4380
|
"docs": {
|
|
4378
|
-
"
|
|
4381
|
+
"remarks": "DNS Firewall filters VPC\ntraffic starting from rule group with the lowest numeric priority setting.\n\nThis value must be greater than 100 and less than 9,000",
|
|
4379
4382
|
"stability": "experimental",
|
|
4380
|
-
"summary": "
|
|
4383
|
+
"summary": "The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC."
|
|
4381
4384
|
},
|
|
4382
4385
|
"immutable": true,
|
|
4383
4386
|
"locationInModule": {
|
|
4384
4387
|
"filename": "lib/firewall-rule-group-association.ts",
|
|
4385
|
-
"line":
|
|
4388
|
+
"line": 34
|
|
4386
4389
|
},
|
|
4387
|
-
"name": "
|
|
4388
|
-
"optional": true,
|
|
4390
|
+
"name": "priority",
|
|
4389
4391
|
"type": {
|
|
4390
|
-
"primitive": "
|
|
4392
|
+
"primitive": "number"
|
|
4391
4393
|
}
|
|
4392
4394
|
},
|
|
4393
4395
|
{
|
|
4394
4396
|
"abstract": true,
|
|
4395
4397
|
"docs": {
|
|
4396
|
-
"default": "- a CloudFormation generated name",
|
|
4397
4398
|
"stability": "experimental",
|
|
4398
|
-
"summary": "The
|
|
4399
|
+
"summary": "The VPC that to associate with the rule group."
|
|
4399
4400
|
},
|
|
4400
4401
|
"immutable": true,
|
|
4401
4402
|
"locationInModule": {
|
|
4402
4403
|
"filename": "lib/firewall-rule-group-association.ts",
|
|
4403
|
-
"line":
|
|
4404
|
+
"line": 39
|
|
4404
4405
|
},
|
|
4405
|
-
"name": "
|
|
4406
|
-
"optional": true,
|
|
4406
|
+
"name": "vpc",
|
|
4407
4407
|
"type": {
|
|
4408
|
-
"
|
|
4408
|
+
"fqn": "aws-cdk-lib.aws_ec2.IVpc"
|
|
4409
4409
|
}
|
|
4410
4410
|
},
|
|
4411
4411
|
{
|
|
4412
4412
|
"abstract": true,
|
|
4413
4413
|
"docs": {
|
|
4414
|
-
"
|
|
4414
|
+
"default": "true",
|
|
4415
4415
|
"stability": "experimental",
|
|
4416
|
-
"summary": "
|
|
4416
|
+
"summary": "If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections."
|
|
4417
4417
|
},
|
|
4418
4418
|
"immutable": true,
|
|
4419
4419
|
"locationInModule": {
|
|
4420
4420
|
"filename": "lib/firewall-rule-group-association.ts",
|
|
4421
|
-
"line":
|
|
4421
|
+
"line": 18
|
|
4422
4422
|
},
|
|
4423
|
-
"name": "
|
|
4423
|
+
"name": "mutationProtection",
|
|
4424
|
+
"optional": true,
|
|
4424
4425
|
"type": {
|
|
4425
|
-
"primitive": "
|
|
4426
|
+
"primitive": "boolean"
|
|
4426
4427
|
}
|
|
4427
4428
|
},
|
|
4428
4429
|
{
|
|
4429
4430
|
"abstract": true,
|
|
4430
4431
|
"docs": {
|
|
4432
|
+
"default": "- a CloudFormation generated name",
|
|
4431
4433
|
"stability": "experimental",
|
|
4432
|
-
"summary": "The
|
|
4434
|
+
"summary": "The name of the association."
|
|
4433
4435
|
},
|
|
4434
4436
|
"immutable": true,
|
|
4435
4437
|
"locationInModule": {
|
|
4436
4438
|
"filename": "lib/firewall-rule-group-association.ts",
|
|
4437
|
-
"line":
|
|
4439
|
+
"line": 25
|
|
4438
4440
|
},
|
|
4439
|
-
"name": "
|
|
4441
|
+
"name": "name",
|
|
4442
|
+
"optional": true,
|
|
4440
4443
|
"type": {
|
|
4441
|
-
"
|
|
4444
|
+
"primitive": "string"
|
|
4442
4445
|
}
|
|
4443
4446
|
}
|
|
4444
4447
|
],
|
|
@@ -4450,7 +4453,7 @@
|
|
|
4450
4453
|
"docs": {
|
|
4451
4454
|
"stability": "experimental",
|
|
4452
4455
|
"summary": "Properties for a Firewall Rule Group Association.",
|
|
4453
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const firewallRuleGroup: route53resolver_alpha.FirewallRuleGroup;\ndeclare const vpc: ec2.Vpc;\
|
|
4456
|
+
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const firewallRuleGroup: route53resolver_alpha.FirewallRuleGroup;\ndeclare const vpc: ec2.Vpc;\nconst firewallRuleGroupAssociationProps: route53resolver_alpha.FirewallRuleGroupAssociationProps = {\n firewallRuleGroup: firewallRuleGroup,\n priority: 123,\n vpc: vpc,\n\n // the properties below are optional\n mutationProtection: false,\n name: 'name',\n};",
|
|
4454
4457
|
"custom": {
|
|
4455
4458
|
"exampleMetadata": "fixture=_generated"
|
|
4456
4459
|
}
|
|
@@ -4489,12 +4492,12 @@
|
|
|
4489
4492
|
"assembly": "@aws-cdk/aws-route53resolver-alpha",
|
|
4490
4493
|
"datatype": true,
|
|
4491
4494
|
"docs": {
|
|
4492
|
-
"stability": "experimental",
|
|
4493
|
-
"summary": "Properties for a Firewall Rule Group.",
|
|
4494
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';\n\ndeclare const firewallDomainList: route53resolver_alpha.FirewallDomainList;\ndeclare const firewallRuleAction: route53resolver_alpha.FirewallRuleAction;\n\nconst firewallRuleGroupProps: route53resolver_alpha.FirewallRuleGroupProps = {\n name: 'name',\n rules: [{\n action: firewallRuleAction,\n firewallDomainList: firewallDomainList,\n priority: 123,\n }],\n};",
|
|
4495
4495
|
"custom": {
|
|
4496
|
-
"exampleMetadata": "
|
|
4497
|
-
}
|
|
4496
|
+
"exampleMetadata": "infused"
|
|
4497
|
+
},
|
|
4498
|
+
"example": "declare const myBlockList: route53resolver.FirewallDomainList;\nnew route53resolver.FirewallRuleGroup(this, 'RuleGroup', {\n rules: [\n {\n priority: 10,\n firewallDomainList: myBlockList,\n // block and reply with NODATA\n action: route53resolver.FirewallRuleAction.block(),\n },\n ],\n});",
|
|
4499
|
+
"stability": "experimental",
|
|
4500
|
+
"summary": "Properties for a Firewall Rule Group."
|
|
4498
4501
|
},
|
|
4499
4502
|
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupProps",
|
|
4500
4503
|
"kind": "interface",
|
|
@@ -4627,6 +4630,6 @@
|
|
|
4627
4630
|
"symbolId": "lib/firewall-rule-group:IFirewallRuleGroup"
|
|
4628
4631
|
}
|
|
4629
4632
|
},
|
|
4630
|
-
"version": "2.
|
|
4633
|
+
"version": "2.7.0-alpha.0",
|
|
4631
4634
|
"fingerprint": "**********"
|
|
4632
4635
|
}
|