@aws-cdk/aws-route53resolver-alpha 2.39.0-alpha.0 → 2.41.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 +3 -3
- package/.jsii.tabl.json.gz +0 -0
- 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/package.json +7 -7
- package/.jsii.tabl.json +0 -1048
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.41.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -3024,7 +3024,7 @@
|
|
|
3024
3024
|
"stability": "experimental"
|
|
3025
3025
|
},
|
|
3026
3026
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
3027
|
-
"jsiiVersion": "1.
|
|
3027
|
+
"jsiiVersion": "1.67.0 (build 2c027f5)",
|
|
3028
3028
|
"keywords": [
|
|
3029
3029
|
"aws",
|
|
3030
3030
|
"cdk",
|
|
@@ -4799,6 +4799,6 @@
|
|
|
4799
4799
|
"symbolId": "lib/firewall-rule-group:IFirewallRuleGroup"
|
|
4800
4800
|
}
|
|
4801
4801
|
},
|
|
4802
|
-
"version": "2.
|
|
4802
|
+
"version": "2.41.0-alpha.0",
|
|
4803
4803
|
"fingerprint": "**********"
|
|
4804
4804
|
}
|
|
Binary file
|
|
@@ -83,7 +83,7 @@ class FirewallDomains {
|
|
|
83
83
|
}
|
|
84
84
|
exports.FirewallDomains = FirewallDomains;
|
|
85
85
|
_a = JSII_RTTI_SYMBOL_1;
|
|
86
|
-
FirewallDomains[_a] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallDomains", version: "2.
|
|
86
|
+
FirewallDomains[_a] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallDomains", version: "2.41.0-alpha.0" };
|
|
87
87
|
/**
|
|
88
88
|
* A Firewall Domain List
|
|
89
89
|
*/
|
|
@@ -133,5 +133,5 @@ class FirewallDomainList extends aws_cdk_lib_1.Resource {
|
|
|
133
133
|
}
|
|
134
134
|
exports.FirewallDomainList = FirewallDomainList;
|
|
135
135
|
_b = JSII_RTTI_SYMBOL_1;
|
|
136
|
-
FirewallDomainList[_b] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallDomainList", version: "2.
|
|
136
|
+
FirewallDomainList[_b] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallDomainList", version: "2.41.0-alpha.0" };
|
|
137
137
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyZXdhbGwtZG9tYWluLWxpc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmaXJld2FsbC1kb21haW4tbGlzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSw2QkFBNkI7QUFFN0IsNkRBQWtEO0FBQ2xELDZDQUF5RDtBQUV6RCx5RUFBd0U7QUErQnhFOztHQUVHO0FBQ0gsTUFBc0IsZUFBZTtJQUNuQzs7OztPQUlHO0lBQ0ksTUFBTSxDQUFDLFFBQVEsQ0FBQyxJQUFjO1FBQ25DLEtBQUssTUFBTSxNQUFNLElBQUksSUFBSSxFQUFFO1lBQ3pCLElBQUksQ0FBQyxtQ0FBbUMsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEVBQUU7Z0JBQ3JELE1BQU0sSUFBSSxLQUFLLENBQUMsbUJBQW1CLE1BQU0sbUdBQW1HLENBQUMsQ0FBQzthQUMvSTtTQUNGO1FBRUQsT0FBTztZQUNMLElBQUksQ0FBQyxNQUFpQjtnQkFDcEIsT0FBTyxFQUFFLE9BQU8sRUFBRSx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IGRvbWFpbkxpc3QuYXR0ckNyZWF0aW9uVGltZTtcbiAgICB0aGlzLmZpcmV3YWxsRG9tYWluTGlzdENyZWF0b3JSZXF1ZXN0SWQgPSBkb21haW5MaXN0LmF0dHJDcmVhdG9yUmVxdWVzdElkO1xuICAgIHRoaXMuZmlyZXdhbGxEb21haW5MaXN0RG9tYWluQ291bnQgPSBkb21haW5MaXN0LmF0dHJEb21haW5Db3VudDtcbiAgICB0aGlzLmZpcmV3YWxsRG9tYWluTGlzdE1hbmFnZWRPd25lck5hbWUgPSBkb21haW5MaXN0LmF0dHJNYW5hZ2VkT3duZXJOYW1lO1xuICAgIHRoaXMuZmlyZXdhbGxEb21haW5MaXN0TW9kaWZpY2F0aW9uVGltZSA9IGRvbWFpbkxpc3QuYXR0ck1vZGlmaWNhdGlvblRpbWU7XG4gICAgdGhpcy5maXJld2FsbERvbWFpbkxpc3RTdGF0dXMgPSBkb21haW5MaXN0LmF0dHJTdGF0dXM7XG4gICAgdGhpcy5maXJld2FsbERvbWFpbkxpc3RTdGF0dXNNZXNzYWdlID0gZG9tYWluTGlzdC5hdHRyU3RhdHVzTWVzc2FnZTtcbiAgfVxufVxuIl19
|
|
@@ -41,5 +41,5 @@ class FirewallRuleGroupAssociation extends aws_cdk_lib_1.Resource {
|
|
|
41
41
|
}
|
|
42
42
|
exports.FirewallRuleGroupAssociation = FirewallRuleGroupAssociation;
|
|
43
43
|
_a = JSII_RTTI_SYMBOL_1;
|
|
44
|
-
FirewallRuleGroupAssociation[_a] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociation", version: "2.
|
|
44
|
+
FirewallRuleGroupAssociation[_a] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociation", version: "2.41.0-alpha.0" };
|
|
45
45
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyZXdhbGwtcnVsZS1ncm91cC1hc3NvY2lhdGlvbi5qcyIsIn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iAgICB0aGlzLmZpcmV3YWxsUnVsZUdyb3VwQXNzb2NpYXRpb25DcmVhdG9yUmVxdWVzdElkID0gYXNzb2NpYXRpb24uYXR0ckNyZWF0b3JSZXF1ZXN0SWQ7XG4gICAgdGhpcy5maXJld2FsbFJ1bGVHcm91cEFzc29jaWF0aW9uSWQgPSBhc3NvY2lhdGlvbi5hdHRySWQ7XG4gICAgdGhpcy5maXJld2FsbFJ1bGVHcm91cEFzc29jaWF0aW9uTWFuYWdlZE93bmVyTmFtZSA9IGFzc29jaWF0aW9uLmF0dHJNYW5hZ2VkT3duZXJOYW1lO1xuICAgIHRoaXMuZmlyZXdhbGxSdWxlR3JvdXBBc3NvY2lhdGlvbk1vZGlmaWNhdGlvblRpbWUgPSBhc3NvY2lhdGlvbi5hdHRyTW9kaWZpY2F0aW9uVGltZTtcbiAgICB0aGlzLmZpcmV3YWxsUnVsZUdyb3VwQXNzb2NpYXRpb25TdGF0dXMgPSBhc3NvY2lhdGlvbi5hdHRyU3RhdHVzO1xuICAgIHRoaXMuZmlyZXdhbGxSdWxlR3JvdXBBc3NvY2lhdGlvblN0YXR1c01lc3NhZ2UgPSBhc3NvY2lhdGlvbi5hdHRyU3RhdHVzTWVzc2FnZTtcbiAgfVxufVxuIl19
|
|
@@ -46,7 +46,7 @@ class FirewallRuleAction {
|
|
|
46
46
|
}
|
|
47
47
|
exports.FirewallRuleAction = FirewallRuleAction;
|
|
48
48
|
_a = JSII_RTTI_SYMBOL_1;
|
|
49
|
-
FirewallRuleAction[_a] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction", version: "2.
|
|
49
|
+
FirewallRuleAction[_a] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction", version: "2.41.0-alpha.0" };
|
|
50
50
|
/**
|
|
51
51
|
* The way that you want DNS Firewall to block the request
|
|
52
52
|
*/
|
|
@@ -83,7 +83,7 @@ class DnsBlockResponse {
|
|
|
83
83
|
}
|
|
84
84
|
exports.DnsBlockResponse = DnsBlockResponse;
|
|
85
85
|
_b = JSII_RTTI_SYMBOL_1;
|
|
86
|
-
DnsBlockResponse[_b] = { fqn: "@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse", version: "2.
|
|
86
|
+
DnsBlockResponse[_b] = { fqn: "@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse", version: "2.41.0-alpha.0" };
|
|
87
87
|
/**
|
|
88
88
|
* A Firewall Rule Group
|
|
89
89
|
*/
|
|
@@ -164,7 +164,7 @@ class FirewallRuleGroup extends aws_cdk_lib_1.Resource {
|
|
|
164
164
|
}
|
|
165
165
|
exports.FirewallRuleGroup = FirewallRuleGroup;
|
|
166
166
|
_c = JSII_RTTI_SYMBOL_1;
|
|
167
|
-
FirewallRuleGroup[_c] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup", version: "2.
|
|
167
|
+
FirewallRuleGroup[_c] = { fqn: "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup", version: "2.41.0-alpha.0" };
|
|
168
168
|
function renderRule(rule) {
|
|
169
169
|
return {
|
|
170
170
|
action: rule.action.action,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-route53resolver-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.41.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for AWS::Route53Resolver",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -82,17 +82,17 @@
|
|
|
82
82
|
},
|
|
83
83
|
"license": "Apache-2.0",
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
86
|
-
"@aws-cdk/integ-runner": "2.
|
|
87
|
-
"@aws-cdk/cfn2ts": "2.
|
|
88
|
-
"@aws-cdk/pkglint": "2.
|
|
85
|
+
"@aws-cdk/cdk-build-tools": "2.41.0",
|
|
86
|
+
"@aws-cdk/integ-runner": "2.41.0",
|
|
87
|
+
"@aws-cdk/cfn2ts": "2.41.0",
|
|
88
|
+
"@aws-cdk/pkglint": "2.41.0",
|
|
89
89
|
"@types/jest": "^27.5.2",
|
|
90
|
-
"aws-cdk-lib": "2.
|
|
90
|
+
"aws-cdk-lib": "2.41.0",
|
|
91
91
|
"constructs": "^10.0.0"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"aws-cdk-lib": "^2.
|
|
95
|
+
"aws-cdk-lib": "^2.41.0",
|
|
96
96
|
"constructs": "^10.0.0"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
package/.jsii.tabl.json
DELETED
|
@@ -1,1048 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "2",
|
|
3
|
-
"toolVersion": "1.65.0",
|
|
4
|
-
"snippets": {
|
|
5
|
-
"d9d20fb2cd4f9edf6f596ff6f54acd6ff014b4b6eebbc1cec92e5d1801f32328": {
|
|
6
|
-
"translations": {
|
|
7
|
-
"python": {
|
|
8
|
-
"source": "block_list = route53resolver.FirewallDomainList(self, \"BlockList\",\n domains=route53resolver.FirewallDomains.from_list([\"bad-domain.com\", \"bot-domain.net\"])\n)\n\ns3_list = route53resolver.FirewallDomainList(self, \"S3List\",\n domains=route53resolver.FirewallDomains.from_s3_url(\"s3://bucket/prefix/object\")\n)\n\nasset_list = route53resolver.FirewallDomainList(self, \"AssetList\",\n domains=route53resolver.FirewallDomains.from_asset(\"/path/to/domains.txt\")\n)",
|
|
9
|
-
"version": "2"
|
|
10
|
-
},
|
|
11
|
-
"csharp": {
|
|
12
|
-
"source": "FirewallDomainList blockList = new FirewallDomainList(this, \"BlockList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromList(new [] { \"bad-domain.com\", \"bot-domain.net\" })\n});\n\nFirewallDomainList s3List = new FirewallDomainList(this, \"S3List\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromS3Url(\"s3://bucket/prefix/object\")\n});\n\nFirewallDomainList assetList = new FirewallDomainList(this, \"AssetList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromAsset(\"/path/to/domains.txt\")\n});",
|
|
13
|
-
"version": "1"
|
|
14
|
-
},
|
|
15
|
-
"java": {
|
|
16
|
-
"source": "FirewallDomainList blockList = FirewallDomainList.Builder.create(this, \"BlockList\")\n .domains(FirewallDomains.fromList(List.of(\"bad-domain.com\", \"bot-domain.net\")))\n .build();\n\nFirewallDomainList s3List = FirewallDomainList.Builder.create(this, \"S3List\")\n .domains(FirewallDomains.fromS3Url(\"s3://bucket/prefix/object\"))\n .build();\n\nFirewallDomainList assetList = FirewallDomainList.Builder.create(this, \"AssetList\")\n .domains(FirewallDomains.fromAsset(\"/path/to/domains.txt\"))\n .build();",
|
|
17
|
-
"version": "1"
|
|
18
|
-
},
|
|
19
|
-
"go": {
|
|
20
|
-
"source": "blockList := route53resolver.NewFirewallDomainList(this, jsii.String(\"BlockList\"), &firewallDomainListProps{\n\tdomains: route53resolver.firewallDomains.fromList([]*string{\n\t\tjsii.String(\"bad-domain.com\"),\n\t\tjsii.String(\"bot-domain.net\"),\n\t}),\n})\n\ns3List := route53resolver.NewFirewallDomainList(this, jsii.String(\"S3List\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromS3Url(jsii.String(\"s3://bucket/prefix/object\")),\n})\n\nassetList := route53resolver.NewFirewallDomainList(this, jsii.String(\"AssetList\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromAsset(jsii.String(\"/path/to/domains.txt\")),\n})",
|
|
21
|
-
"version": "1"
|
|
22
|
-
},
|
|
23
|
-
"$": {
|
|
24
|
-
"source": "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});",
|
|
25
|
-
"version": "0"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"location": {
|
|
29
|
-
"api": {
|
|
30
|
-
"api": "moduleReadme",
|
|
31
|
-
"moduleFqn": "@aws-cdk/aws-route53resolver-alpha"
|
|
32
|
-
},
|
|
33
|
-
"field": {
|
|
34
|
-
"field": "markdown",
|
|
35
|
-
"line": 38
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"didCompile": true,
|
|
39
|
-
"fqnsReferenced": [
|
|
40
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainList",
|
|
41
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainListProps",
|
|
42
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains",
|
|
43
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromAsset",
|
|
44
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromList",
|
|
45
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromS3Url",
|
|
46
|
-
"constructs.Construct"
|
|
47
|
-
],
|
|
48
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
49
|
-
"syntaxKindCounter": {
|
|
50
|
-
"10": 7,
|
|
51
|
-
"75": 21,
|
|
52
|
-
"104": 3,
|
|
53
|
-
"192": 1,
|
|
54
|
-
"193": 3,
|
|
55
|
-
"194": 9,
|
|
56
|
-
"196": 3,
|
|
57
|
-
"197": 3,
|
|
58
|
-
"225": 3,
|
|
59
|
-
"242": 3,
|
|
60
|
-
"243": 3,
|
|
61
|
-
"281": 3
|
|
62
|
-
},
|
|
63
|
-
"fqnsFingerprint": "66584781280b36c15c04281c2a6d29dbec9b14602bc97c797c737c9a1436c6a5"
|
|
64
|
-
},
|
|
65
|
-
"6b0a16cd9bf41aa5fffaeff3e18077602accdaeb66aebd3b704653646dbe4152": {
|
|
66
|
-
"translations": {
|
|
67
|
-
"python": {
|
|
68
|
-
"source": "# AWSManagedDomainsMalwareDomainList in us-east-1\nmalware_list = route53resolver.FirewallDomainList.from_firewall_domain_list_id(self, \"Malware\", \"rslvr-fdl-2c46f2ecbfec4dcc\")",
|
|
69
|
-
"version": "2"
|
|
70
|
-
},
|
|
71
|
-
"csharp": {
|
|
72
|
-
"source": "// AWSManagedDomainsMalwareDomainList in us-east-1\nIFirewallDomainList malwareList = FirewallDomainList.FromFirewallDomainListId(this, \"Malware\", \"rslvr-fdl-2c46f2ecbfec4dcc\");",
|
|
73
|
-
"version": "1"
|
|
74
|
-
},
|
|
75
|
-
"java": {
|
|
76
|
-
"source": "// AWSManagedDomainsMalwareDomainList in us-east-1\nIFirewallDomainList malwareList = FirewallDomainList.fromFirewallDomainListId(this, \"Malware\", \"rslvr-fdl-2c46f2ecbfec4dcc\");",
|
|
77
|
-
"version": "1"
|
|
78
|
-
},
|
|
79
|
-
"go": {
|
|
80
|
-
"source": "// AWSManagedDomainsMalwareDomainList in us-east-1\nmalwareList := route53resolver.firewallDomainList.fromFirewallDomainListId(this, jsii.String(\"Malware\"), jsii.String(\"rslvr-fdl-2c46f2ecbfec4dcc\"))",
|
|
81
|
-
"version": "1"
|
|
82
|
-
},
|
|
83
|
-
"$": {
|
|
84
|
-
"source": "// AWSManagedDomainsMalwareDomainList in us-east-1\nconst malwareList = route53resolver.FirewallDomainList.fromFirewallDomainListId(\n this,\n 'Malware',\n 'rslvr-fdl-2c46f2ecbfec4dcc',\n);",
|
|
85
|
-
"version": "0"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"location": {
|
|
89
|
-
"api": {
|
|
90
|
-
"api": "moduleReadme",
|
|
91
|
-
"moduleFqn": "@aws-cdk/aws-route53resolver-alpha"
|
|
92
|
-
},
|
|
93
|
-
"field": {
|
|
94
|
-
"field": "markdown",
|
|
95
|
-
"line": 56
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"didCompile": true,
|
|
99
|
-
"fqnsReferenced": [
|
|
100
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainList",
|
|
101
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainList#fromFirewallDomainListId",
|
|
102
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList",
|
|
103
|
-
"constructs.Construct"
|
|
104
|
-
],
|
|
105
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n// AWSManagedDomainsMalwareDomainList in us-east-1\nconst malwareList = route53resolver.FirewallDomainList.fromFirewallDomainListId(\n this,\n 'Malware',\n 'rslvr-fdl-2c46f2ecbfec4dcc',\n);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
106
|
-
"syntaxKindCounter": {
|
|
107
|
-
"10": 2,
|
|
108
|
-
"75": 4,
|
|
109
|
-
"104": 1,
|
|
110
|
-
"194": 2,
|
|
111
|
-
"196": 1,
|
|
112
|
-
"225": 1,
|
|
113
|
-
"242": 1,
|
|
114
|
-
"243": 1
|
|
115
|
-
},
|
|
116
|
-
"fqnsFingerprint": "79e04a49c1889e469f81ce52d5c64ce3edb73f462bd54a3b8dc2aa3ff47318e5"
|
|
117
|
-
},
|
|
118
|
-
"f9f104d3d6062f1efd58177a774ed0ea2d2cf2de08be50fe678d03f9817b1e1f": {
|
|
119
|
-
"translations": {
|
|
120
|
-
"python": {
|
|
121
|
-
"source": "# my_block_list: route53resolver.FirewallDomainList\n\nroute53resolver.FirewallRuleGroup(self, \"RuleGroup\",\n rules=[route53resolver.FirewallRule(\n priority=10,\n firewall_domain_list=my_block_list,\n # block and reply with NODATA\n action=route53resolver.FirewallRuleAction.block()\n )\n ]\n)",
|
|
122
|
-
"version": "2"
|
|
123
|
-
},
|
|
124
|
-
"csharp": {
|
|
125
|
-
"source": "FirewallDomainList myBlockList;\n\nnew FirewallRuleGroup(this, \"RuleGroup\", new FirewallRuleGroupProps {\n Rules = new [] { new FirewallRule {\n Priority = 10,\n FirewallDomainList = myBlockList,\n // block and reply with NODATA\n Action = FirewallRuleAction.Block()\n } }\n});",
|
|
126
|
-
"version": "1"
|
|
127
|
-
},
|
|
128
|
-
"java": {
|
|
129
|
-
"source": "FirewallDomainList myBlockList;\n\nFirewallRuleGroup.Builder.create(this, \"RuleGroup\")\n .rules(List.of(FirewallRule.builder()\n .priority(10)\n .firewallDomainList(myBlockList)\n // block and reply with NODATA\n .action(FirewallRuleAction.block())\n .build()))\n .build();",
|
|
130
|
-
"version": "1"
|
|
131
|
-
},
|
|
132
|
-
"go": {
|
|
133
|
-
"source": "var myBlockList firewallDomainList\n\nroute53resolver.NewFirewallRuleGroup(this, jsii.String(\"RuleGroup\"), &firewallRuleGroupProps{\n\trules: []firewallRule{\n\t\t&firewallRule{\n\t\t\tpriority: jsii.Number(10),\n\t\t\tfirewallDomainList: myBlockList,\n\t\t\t// block and reply with NODATA\n\t\t\taction: route53resolver.firewallRuleAction.block(),\n\t\t},\n\t},\n})",
|
|
134
|
-
"version": "1"
|
|
135
|
-
},
|
|
136
|
-
"$": {
|
|
137
|
-
"source": "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});",
|
|
138
|
-
"version": "0"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"location": {
|
|
142
|
-
"api": {
|
|
143
|
-
"api": "moduleReadme",
|
|
144
|
-
"moduleFqn": "@aws-cdk/aws-route53resolver-alpha"
|
|
145
|
-
},
|
|
146
|
-
"field": {
|
|
147
|
-
"field": "markdown",
|
|
148
|
-
"line": 69
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"didCompile": true,
|
|
152
|
-
"fqnsReferenced": [
|
|
153
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
154
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction#block",
|
|
155
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup",
|
|
156
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupProps",
|
|
157
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList",
|
|
158
|
-
"constructs.Construct"
|
|
159
|
-
],
|
|
160
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBlockList: route53resolver.FirewallDomainList;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
161
|
-
"syntaxKindCounter": {
|
|
162
|
-
"8": 1,
|
|
163
|
-
"10": 1,
|
|
164
|
-
"75": 13,
|
|
165
|
-
"104": 1,
|
|
166
|
-
"130": 1,
|
|
167
|
-
"153": 1,
|
|
168
|
-
"169": 1,
|
|
169
|
-
"192": 1,
|
|
170
|
-
"193": 2,
|
|
171
|
-
"194": 3,
|
|
172
|
-
"196": 1,
|
|
173
|
-
"197": 1,
|
|
174
|
-
"225": 1,
|
|
175
|
-
"226": 1,
|
|
176
|
-
"242": 1,
|
|
177
|
-
"243": 1,
|
|
178
|
-
"281": 4,
|
|
179
|
-
"290": 1
|
|
180
|
-
},
|
|
181
|
-
"fqnsFingerprint": "15a7d42a24bb31f54b629182890da0e01182d6e4d2e4ef1da4cbd51704b1dc30"
|
|
182
|
-
},
|
|
183
|
-
"5ccfc007b3c2d64526211bfdf5fbae7c467360328f3a38aee3081135a4310be8": {
|
|
184
|
-
"translations": {
|
|
185
|
-
"python": {
|
|
186
|
-
"source": "# my_block_list: route53resolver.FirewallDomainList\n# rule_group: route53resolver.FirewallRuleGroup\n\n\nrule_group.add_rule(\n priority=10,\n firewall_domain_list=my_block_list,\n # block and reply with NXDOMAIN\n action=route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.nx_domain())\n)\n\nrule_group.add_rule(\n priority=20,\n firewall_domain_list=my_block_list,\n # block and override DNS response with a custom domain\n action=route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.override(\"amazon.com\"))\n)",
|
|
187
|
-
"version": "2"
|
|
188
|
-
},
|
|
189
|
-
"csharp": {
|
|
190
|
-
"source": "FirewallDomainList myBlockList;\nFirewallRuleGroup ruleGroup;\n\n\nruleGroup.AddRule(new FirewallRule {\n Priority = 10,\n FirewallDomainList = myBlockList,\n // block and reply with NXDOMAIN\n Action = FirewallRuleAction.Block(DnsBlockResponse.NxDomain())\n});\n\nruleGroup.AddRule(new FirewallRule {\n Priority = 20,\n FirewallDomainList = myBlockList,\n // block and override DNS response with a custom domain\n Action = FirewallRuleAction.Block(DnsBlockResponse.Override(\"amazon.com\"))\n});",
|
|
191
|
-
"version": "1"
|
|
192
|
-
},
|
|
193
|
-
"java": {
|
|
194
|
-
"source": "FirewallDomainList myBlockList;\nFirewallRuleGroup ruleGroup;\n\n\nruleGroup.addRule(FirewallRule.builder()\n .priority(10)\n .firewallDomainList(myBlockList)\n // block and reply with NXDOMAIN\n .action(FirewallRuleAction.block(DnsBlockResponse.nxDomain()))\n .build());\n\nruleGroup.addRule(FirewallRule.builder()\n .priority(20)\n .firewallDomainList(myBlockList)\n // block and override DNS response with a custom domain\n .action(FirewallRuleAction.block(DnsBlockResponse.override(\"amazon.com\")))\n .build());",
|
|
195
|
-
"version": "1"
|
|
196
|
-
},
|
|
197
|
-
"go": {
|
|
198
|
-
"source": "var myBlockList firewallDomainList\nvar ruleGroup firewallRuleGroup\n\n\nruleGroup.addRule(&firewallRule{\n\tpriority: jsii.Number(10),\n\tfirewallDomainList: myBlockList,\n\t// block and reply with NXDOMAIN\n\taction: route53resolver.firewallRuleAction.block(route53resolver.dnsBlockResponse.nxDomain()),\n})\n\nruleGroup.addRule(&firewallRule{\n\tpriority: jsii.Number(20),\n\tfirewallDomainList: myBlockList,\n\t// block and override DNS response with a custom domain\n\taction: route53resolver.*firewallRuleAction.block(route53resolver.*dnsBlockResponse.override(jsii.String(\"amazon.com\"))),\n})",
|
|
199
|
-
"version": "1"
|
|
200
|
-
},
|
|
201
|
-
"$": {
|
|
202
|
-
"source": "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});",
|
|
203
|
-
"version": "0"
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
"location": {
|
|
207
|
-
"api": {
|
|
208
|
-
"api": "moduleReadme",
|
|
209
|
-
"moduleFqn": "@aws-cdk/aws-route53resolver-alpha"
|
|
210
|
-
},
|
|
211
|
-
"field": {
|
|
212
|
-
"field": "markdown",
|
|
213
|
-
"line": 85
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"didCompile": true,
|
|
217
|
-
"fqnsReferenced": [
|
|
218
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse",
|
|
219
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse#nxDomain",
|
|
220
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse#override",
|
|
221
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRule",
|
|
222
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
223
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction#block",
|
|
224
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup#addRule",
|
|
225
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList"
|
|
226
|
-
],
|
|
227
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBlockList: route53resolver.FirewallDomainList;\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
228
|
-
"syntaxKindCounter": {
|
|
229
|
-
"8": 2,
|
|
230
|
-
"10": 1,
|
|
231
|
-
"75": 30,
|
|
232
|
-
"130": 2,
|
|
233
|
-
"153": 2,
|
|
234
|
-
"169": 2,
|
|
235
|
-
"193": 2,
|
|
236
|
-
"194": 10,
|
|
237
|
-
"196": 6,
|
|
238
|
-
"225": 2,
|
|
239
|
-
"226": 2,
|
|
240
|
-
"242": 2,
|
|
241
|
-
"243": 2,
|
|
242
|
-
"281": 6,
|
|
243
|
-
"290": 1
|
|
244
|
-
},
|
|
245
|
-
"fqnsFingerprint": "ea8ec2898118dae2935dd89918c1855699ae3aa4b0c15a8dea1b2a83388e43ff"
|
|
246
|
-
},
|
|
247
|
-
"3799639b8da4891f24cf7a9ab4eb8d91674ace7c28f405cefd4efde6e17a7e78": {
|
|
248
|
-
"translations": {
|
|
249
|
-
"python": {
|
|
250
|
-
"source": "import aws_cdk.aws_ec2 as ec2\n\n# rule_group: route53resolver.FirewallRuleGroup\n# my_vpc: ec2.Vpc\n\n\nrule_group.associate(\"Association\",\n priority=101,\n vpc=my_vpc\n)",
|
|
251
|
-
"version": "2"
|
|
252
|
-
},
|
|
253
|
-
"csharp": {
|
|
254
|
-
"source": "using Amazon.CDK.AWS.EC2;\n\nFirewallRuleGroup ruleGroup;\nVpc myVpc;\n\n\nruleGroup.Associate(\"Association\", new FirewallRuleGroupAssociationOptions {\n Priority = 101,\n Vpc = myVpc\n});",
|
|
255
|
-
"version": "1"
|
|
256
|
-
},
|
|
257
|
-
"java": {
|
|
258
|
-
"source": "import software.amazon.awscdk.services.ec2.*;\n\nFirewallRuleGroup ruleGroup;\nVpc myVpc;\n\n\nruleGroup.associate(\"Association\", FirewallRuleGroupAssociationOptions.builder()\n .priority(101)\n .vpc(myVpc)\n .build());",
|
|
259
|
-
"version": "1"
|
|
260
|
-
},
|
|
261
|
-
"go": {
|
|
262
|
-
"source": "import ec2 \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar ruleGroup firewallRuleGroup\nvar myVpc vpc\n\n\nruleGroup.associate(jsii.String(\"Association\"), &firewallRuleGroupAssociationOptions{\n\tpriority: jsii.Number(101),\n\tvpc: myVpc,\n})",
|
|
263
|
-
"version": "1"
|
|
264
|
-
},
|
|
265
|
-
"$": {
|
|
266
|
-
"source": "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})",
|
|
267
|
-
"version": "0"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
"location": {
|
|
271
|
-
"api": {
|
|
272
|
-
"api": "moduleReadme",
|
|
273
|
-
"moduleFqn": "@aws-cdk/aws-route53resolver-alpha"
|
|
274
|
-
},
|
|
275
|
-
"field": {
|
|
276
|
-
"field": "markdown",
|
|
277
|
-
"line": 106
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
"didCompile": true,
|
|
281
|
-
"fqnsReferenced": [
|
|
282
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup#associate",
|
|
283
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationOptions",
|
|
284
|
-
"aws-cdk-lib.aws_ec2.IVpc"
|
|
285
|
-
],
|
|
286
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\ndeclare const myVpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nruleGroup.associate('Association', {\n priority: 101,\n vpc: myVpc,\n})\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
287
|
-
"syntaxKindCounter": {
|
|
288
|
-
"8": 1,
|
|
289
|
-
"10": 2,
|
|
290
|
-
"75": 12,
|
|
291
|
-
"130": 2,
|
|
292
|
-
"153": 2,
|
|
293
|
-
"169": 2,
|
|
294
|
-
"193": 1,
|
|
295
|
-
"194": 1,
|
|
296
|
-
"196": 1,
|
|
297
|
-
"225": 2,
|
|
298
|
-
"226": 1,
|
|
299
|
-
"242": 2,
|
|
300
|
-
"243": 2,
|
|
301
|
-
"254": 1,
|
|
302
|
-
"255": 1,
|
|
303
|
-
"256": 1,
|
|
304
|
-
"281": 2,
|
|
305
|
-
"290": 1
|
|
306
|
-
},
|
|
307
|
-
"fqnsFingerprint": "6d6682cf331eed285724822ed47d922ea995c04d080903ec1bb061620f47e47a"
|
|
308
|
-
},
|
|
309
|
-
"10d6a1687a53bba718c5efa242f91777edbd4cd78fc48e299641d9c66af93ecf": {
|
|
310
|
-
"translations": {
|
|
311
|
-
"python": {
|
|
312
|
-
"source": "# my_block_list: route53resolver.FirewallDomainList\n# rule_group: route53resolver.FirewallRuleGroup\n\n\nrule_group.add_rule(\n priority=10,\n firewall_domain_list=my_block_list,\n # block and reply with NXDOMAIN\n action=route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.nx_domain())\n)\n\nrule_group.add_rule(\n priority=20,\n firewall_domain_list=my_block_list,\n # block and override DNS response with a custom domain\n action=route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.override(\"amazon.com\"))\n)",
|
|
313
|
-
"version": "2"
|
|
314
|
-
},
|
|
315
|
-
"csharp": {
|
|
316
|
-
"source": "FirewallDomainList myBlockList;\nFirewallRuleGroup ruleGroup;\n\n\nruleGroup.AddRule(new FirewallRule {\n Priority = 10,\n FirewallDomainList = myBlockList,\n // block and reply with NXDOMAIN\n Action = FirewallRuleAction.Block(DnsBlockResponse.NxDomain())\n});\n\nruleGroup.AddRule(new FirewallRule {\n Priority = 20,\n FirewallDomainList = myBlockList,\n // block and override DNS response with a custom domain\n Action = FirewallRuleAction.Block(DnsBlockResponse.Override(\"amazon.com\"))\n});",
|
|
317
|
-
"version": "1"
|
|
318
|
-
},
|
|
319
|
-
"java": {
|
|
320
|
-
"source": "FirewallDomainList myBlockList;\nFirewallRuleGroup ruleGroup;\n\n\nruleGroup.addRule(FirewallRule.builder()\n .priority(10)\n .firewallDomainList(myBlockList)\n // block and reply with NXDOMAIN\n .action(FirewallRuleAction.block(DnsBlockResponse.nxDomain()))\n .build());\n\nruleGroup.addRule(FirewallRule.builder()\n .priority(20)\n .firewallDomainList(myBlockList)\n // block and override DNS response with a custom domain\n .action(FirewallRuleAction.block(DnsBlockResponse.override(\"amazon.com\")))\n .build());",
|
|
321
|
-
"version": "1"
|
|
322
|
-
},
|
|
323
|
-
"go": {
|
|
324
|
-
"source": "var myBlockList firewallDomainList\nvar ruleGroup firewallRuleGroup\n\n\nruleGroup.addRule(&firewallRule{\n\tpriority: jsii.Number(10),\n\tfirewallDomainList: myBlockList,\n\t// block and reply with NXDOMAIN\n\taction: route53resolver.firewallRuleAction.block(route53resolver.dnsBlockResponse.nxDomain()),\n})\n\nruleGroup.addRule(&firewallRule{\n\tpriority: jsii.Number(20),\n\tfirewallDomainList: myBlockList,\n\t// block and override DNS response with a custom domain\n\taction: route53resolver.*firewallRuleAction.block(route53resolver.*dnsBlockResponse.override(jsii.String(\"amazon.com\"))),\n})",
|
|
325
|
-
"version": "1"
|
|
326
|
-
},
|
|
327
|
-
"$": {
|
|
328
|
-
"source": "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});",
|
|
329
|
-
"version": "0"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
"location": {
|
|
333
|
-
"api": {
|
|
334
|
-
"api": "type",
|
|
335
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse"
|
|
336
|
-
},
|
|
337
|
-
"field": {
|
|
338
|
-
"field": "example"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
"didCompile": true,
|
|
342
|
-
"fqnsReferenced": [
|
|
343
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse",
|
|
344
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse#nxDomain",
|
|
345
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse#override",
|
|
346
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRule",
|
|
347
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
348
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction#block",
|
|
349
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup#addRule",
|
|
350
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList"
|
|
351
|
-
],
|
|
352
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBlockList: route53resolver.FirewallDomainList;\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
353
|
-
"syntaxKindCounter": {
|
|
354
|
-
"8": 2,
|
|
355
|
-
"10": 1,
|
|
356
|
-
"75": 30,
|
|
357
|
-
"130": 2,
|
|
358
|
-
"153": 2,
|
|
359
|
-
"169": 2,
|
|
360
|
-
"193": 2,
|
|
361
|
-
"194": 10,
|
|
362
|
-
"196": 6,
|
|
363
|
-
"225": 2,
|
|
364
|
-
"226": 2,
|
|
365
|
-
"242": 2,
|
|
366
|
-
"243": 2,
|
|
367
|
-
"281": 6,
|
|
368
|
-
"290": 1
|
|
369
|
-
},
|
|
370
|
-
"fqnsFingerprint": "ea8ec2898118dae2935dd89918c1855699ae3aa4b0c15a8dea1b2a83388e43ff"
|
|
371
|
-
},
|
|
372
|
-
"aedd91f2fb1b4d3b05d0dfabc0d6603f48d323fc74c6c25b4082e76c2c1f755e": {
|
|
373
|
-
"translations": {
|
|
374
|
-
"python": {
|
|
375
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_route53resolver_alpha as route53resolver_alpha\n\ndomains_config = route53resolver_alpha.DomainsConfig(\n domain_file_url=\"domainFileUrl\",\n domains=[\"domains\"]\n)",
|
|
376
|
-
"version": "2"
|
|
377
|
-
},
|
|
378
|
-
"csharp": {
|
|
379
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Route53Resolver.Alpha;\n\nDomainsConfig domainsConfig = new DomainsConfig {\n DomainFileUrl = \"domainFileUrl\",\n Domains = new [] { \"domains\" }\n};",
|
|
380
|
-
"version": "1"
|
|
381
|
-
},
|
|
382
|
-
"java": {
|
|
383
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.route53resolver.alpha.*;\n\nDomainsConfig domainsConfig = DomainsConfig.builder()\n .domainFileUrl(\"domainFileUrl\")\n .domains(List.of(\"domains\"))\n .build();",
|
|
384
|
-
"version": "1"
|
|
385
|
-
},
|
|
386
|
-
"go": {
|
|
387
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport route53resolver_alpha \"github.com/aws/aws-cdk-go/awscdkroute53resolveralpha\"\n\ndomainsConfig := &domainsConfig{\n\tdomainFileUrl: jsii.String(\"domainFileUrl\"),\n\tdomains: []*string{\n\t\tjsii.String(\"domains\"),\n\t},\n}",
|
|
388
|
-
"version": "1"
|
|
389
|
-
},
|
|
390
|
-
"$": {
|
|
391
|
-
"source": "// 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};",
|
|
392
|
-
"version": "0"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
"location": {
|
|
396
|
-
"api": {
|
|
397
|
-
"api": "type",
|
|
398
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.DomainsConfig"
|
|
399
|
-
},
|
|
400
|
-
"field": {
|
|
401
|
-
"field": "example"
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
"didCompile": true,
|
|
405
|
-
"fqnsReferenced": [
|
|
406
|
-
"@aws-cdk/aws-route53resolver-alpha.DomainsConfig"
|
|
407
|
-
],
|
|
408
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst domainsConfig: route53resolver_alpha.DomainsConfig = {\n domainFileUrl: 'domainFileUrl',\n domains: ['domains'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
409
|
-
"syntaxKindCounter": {
|
|
410
|
-
"10": 3,
|
|
411
|
-
"75": 6,
|
|
412
|
-
"153": 1,
|
|
413
|
-
"169": 1,
|
|
414
|
-
"192": 1,
|
|
415
|
-
"193": 1,
|
|
416
|
-
"225": 1,
|
|
417
|
-
"242": 1,
|
|
418
|
-
"243": 1,
|
|
419
|
-
"254": 1,
|
|
420
|
-
"255": 1,
|
|
421
|
-
"256": 1,
|
|
422
|
-
"281": 2,
|
|
423
|
-
"290": 1
|
|
424
|
-
},
|
|
425
|
-
"fqnsFingerprint": "446f74b4660e26b04865626dd9d32c3914822b520a988d65138a0bef4da862da"
|
|
426
|
-
},
|
|
427
|
-
"f6c8846bf5635fe51504f860bd7b351b528be4ad17df486749615eeddd00bc8b": {
|
|
428
|
-
"translations": {
|
|
429
|
-
"python": {
|
|
430
|
-
"source": "block_list = route53resolver.FirewallDomainList(self, \"BlockList\",\n domains=route53resolver.FirewallDomains.from_list([\"bad-domain.com\", \"bot-domain.net\"])\n)\n\ns3_list = route53resolver.FirewallDomainList(self, \"S3List\",\n domains=route53resolver.FirewallDomains.from_s3_url(\"s3://bucket/prefix/object\")\n)\n\nasset_list = route53resolver.FirewallDomainList(self, \"AssetList\",\n domains=route53resolver.FirewallDomains.from_asset(\"/path/to/domains.txt\")\n)",
|
|
431
|
-
"version": "2"
|
|
432
|
-
},
|
|
433
|
-
"csharp": {
|
|
434
|
-
"source": "FirewallDomainList blockList = new FirewallDomainList(this, \"BlockList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromList(new [] { \"bad-domain.com\", \"bot-domain.net\" })\n});\n\nFirewallDomainList s3List = new FirewallDomainList(this, \"S3List\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromS3Url(\"s3://bucket/prefix/object\")\n});\n\nFirewallDomainList assetList = new FirewallDomainList(this, \"AssetList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromAsset(\"/path/to/domains.txt\")\n});",
|
|
435
|
-
"version": "1"
|
|
436
|
-
},
|
|
437
|
-
"java": {
|
|
438
|
-
"source": "FirewallDomainList blockList = FirewallDomainList.Builder.create(this, \"BlockList\")\n .domains(FirewallDomains.fromList(List.of(\"bad-domain.com\", \"bot-domain.net\")))\n .build();\n\nFirewallDomainList s3List = FirewallDomainList.Builder.create(this, \"S3List\")\n .domains(FirewallDomains.fromS3Url(\"s3://bucket/prefix/object\"))\n .build();\n\nFirewallDomainList assetList = FirewallDomainList.Builder.create(this, \"AssetList\")\n .domains(FirewallDomains.fromAsset(\"/path/to/domains.txt\"))\n .build();",
|
|
439
|
-
"version": "1"
|
|
440
|
-
},
|
|
441
|
-
"go": {
|
|
442
|
-
"source": "blockList := route53resolver.NewFirewallDomainList(this, jsii.String(\"BlockList\"), &firewallDomainListProps{\n\tdomains: route53resolver.firewallDomains.fromList([]*string{\n\t\tjsii.String(\"bad-domain.com\"),\n\t\tjsii.String(\"bot-domain.net\"),\n\t}),\n})\n\ns3List := route53resolver.NewFirewallDomainList(this, jsii.String(\"S3List\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromS3Url(jsii.String(\"s3://bucket/prefix/object\")),\n})\n\nassetList := route53resolver.NewFirewallDomainList(this, jsii.String(\"AssetList\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromAsset(jsii.String(\"/path/to/domains.txt\")),\n})",
|
|
443
|
-
"version": "1"
|
|
444
|
-
},
|
|
445
|
-
"$": {
|
|
446
|
-
"source": "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});",
|
|
447
|
-
"version": "0"
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
"location": {
|
|
451
|
-
"api": {
|
|
452
|
-
"api": "type",
|
|
453
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallDomainList"
|
|
454
|
-
},
|
|
455
|
-
"field": {
|
|
456
|
-
"field": "example"
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
"didCompile": true,
|
|
460
|
-
"fqnsReferenced": [
|
|
461
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainList",
|
|
462
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainListProps",
|
|
463
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains",
|
|
464
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromAsset",
|
|
465
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromList",
|
|
466
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromS3Url",
|
|
467
|
-
"constructs.Construct"
|
|
468
|
-
],
|
|
469
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
470
|
-
"syntaxKindCounter": {
|
|
471
|
-
"10": 7,
|
|
472
|
-
"75": 21,
|
|
473
|
-
"104": 3,
|
|
474
|
-
"192": 1,
|
|
475
|
-
"193": 3,
|
|
476
|
-
"194": 9,
|
|
477
|
-
"196": 3,
|
|
478
|
-
"197": 3,
|
|
479
|
-
"225": 3,
|
|
480
|
-
"242": 3,
|
|
481
|
-
"243": 3,
|
|
482
|
-
"281": 3
|
|
483
|
-
},
|
|
484
|
-
"fqnsFingerprint": "66584781280b36c15c04281c2a6d29dbec9b14602bc97c797c737c9a1436c6a5"
|
|
485
|
-
},
|
|
486
|
-
"2bd2080fa37a0efa2e2378b00ad9a2e1dc817ba7009627f85e6ae0e3ef4a894d": {
|
|
487
|
-
"translations": {
|
|
488
|
-
"python": {
|
|
489
|
-
"source": "block_list = route53resolver.FirewallDomainList(self, \"BlockList\",\n domains=route53resolver.FirewallDomains.from_list([\"bad-domain.com\", \"bot-domain.net\"])\n)\n\ns3_list = route53resolver.FirewallDomainList(self, \"S3List\",\n domains=route53resolver.FirewallDomains.from_s3_url(\"s3://bucket/prefix/object\")\n)\n\nasset_list = route53resolver.FirewallDomainList(self, \"AssetList\",\n domains=route53resolver.FirewallDomains.from_asset(\"/path/to/domains.txt\")\n)",
|
|
490
|
-
"version": "2"
|
|
491
|
-
},
|
|
492
|
-
"csharp": {
|
|
493
|
-
"source": "FirewallDomainList blockList = new FirewallDomainList(this, \"BlockList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromList(new [] { \"bad-domain.com\", \"bot-domain.net\" })\n});\n\nFirewallDomainList s3List = new FirewallDomainList(this, \"S3List\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromS3Url(\"s3://bucket/prefix/object\")\n});\n\nFirewallDomainList assetList = new FirewallDomainList(this, \"AssetList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromAsset(\"/path/to/domains.txt\")\n});",
|
|
494
|
-
"version": "1"
|
|
495
|
-
},
|
|
496
|
-
"java": {
|
|
497
|
-
"source": "FirewallDomainList blockList = FirewallDomainList.Builder.create(this, \"BlockList\")\n .domains(FirewallDomains.fromList(List.of(\"bad-domain.com\", \"bot-domain.net\")))\n .build();\n\nFirewallDomainList s3List = FirewallDomainList.Builder.create(this, \"S3List\")\n .domains(FirewallDomains.fromS3Url(\"s3://bucket/prefix/object\"))\n .build();\n\nFirewallDomainList assetList = FirewallDomainList.Builder.create(this, \"AssetList\")\n .domains(FirewallDomains.fromAsset(\"/path/to/domains.txt\"))\n .build();",
|
|
498
|
-
"version": "1"
|
|
499
|
-
},
|
|
500
|
-
"go": {
|
|
501
|
-
"source": "blockList := route53resolver.NewFirewallDomainList(this, jsii.String(\"BlockList\"), &firewallDomainListProps{\n\tdomains: route53resolver.firewallDomains.fromList([]*string{\n\t\tjsii.String(\"bad-domain.com\"),\n\t\tjsii.String(\"bot-domain.net\"),\n\t}),\n})\n\ns3List := route53resolver.NewFirewallDomainList(this, jsii.String(\"S3List\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromS3Url(jsii.String(\"s3://bucket/prefix/object\")),\n})\n\nassetList := route53resolver.NewFirewallDomainList(this, jsii.String(\"AssetList\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromAsset(jsii.String(\"/path/to/domains.txt\")),\n})",
|
|
502
|
-
"version": "1"
|
|
503
|
-
},
|
|
504
|
-
"$": {
|
|
505
|
-
"source": "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});",
|
|
506
|
-
"version": "0"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
"location": {
|
|
510
|
-
"api": {
|
|
511
|
-
"api": "type",
|
|
512
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallDomainListProps"
|
|
513
|
-
},
|
|
514
|
-
"field": {
|
|
515
|
-
"field": "example"
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
"didCompile": true,
|
|
519
|
-
"fqnsReferenced": [
|
|
520
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainList",
|
|
521
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainListProps",
|
|
522
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains",
|
|
523
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromAsset",
|
|
524
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromList",
|
|
525
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromS3Url",
|
|
526
|
-
"constructs.Construct"
|
|
527
|
-
],
|
|
528
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
529
|
-
"syntaxKindCounter": {
|
|
530
|
-
"10": 7,
|
|
531
|
-
"75": 21,
|
|
532
|
-
"104": 3,
|
|
533
|
-
"192": 1,
|
|
534
|
-
"193": 3,
|
|
535
|
-
"194": 9,
|
|
536
|
-
"196": 3,
|
|
537
|
-
"197": 3,
|
|
538
|
-
"225": 3,
|
|
539
|
-
"242": 3,
|
|
540
|
-
"243": 3,
|
|
541
|
-
"281": 3
|
|
542
|
-
},
|
|
543
|
-
"fqnsFingerprint": "66584781280b36c15c04281c2a6d29dbec9b14602bc97c797c737c9a1436c6a5"
|
|
544
|
-
},
|
|
545
|
-
"6a4fbc94f8282a2eedb98be63b676f957e6192552ef1e94078a46514207d5f0b": {
|
|
546
|
-
"translations": {
|
|
547
|
-
"python": {
|
|
548
|
-
"source": "block_list = route53resolver.FirewallDomainList(self, \"BlockList\",\n domains=route53resolver.FirewallDomains.from_list([\"bad-domain.com\", \"bot-domain.net\"])\n)\n\ns3_list = route53resolver.FirewallDomainList(self, \"S3List\",\n domains=route53resolver.FirewallDomains.from_s3_url(\"s3://bucket/prefix/object\")\n)\n\nasset_list = route53resolver.FirewallDomainList(self, \"AssetList\",\n domains=route53resolver.FirewallDomains.from_asset(\"/path/to/domains.txt\")\n)",
|
|
549
|
-
"version": "2"
|
|
550
|
-
},
|
|
551
|
-
"csharp": {
|
|
552
|
-
"source": "FirewallDomainList blockList = new FirewallDomainList(this, \"BlockList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromList(new [] { \"bad-domain.com\", \"bot-domain.net\" })\n});\n\nFirewallDomainList s3List = new FirewallDomainList(this, \"S3List\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromS3Url(\"s3://bucket/prefix/object\")\n});\n\nFirewallDomainList assetList = new FirewallDomainList(this, \"AssetList\", new FirewallDomainListProps {\n Domains = FirewallDomains.FromAsset(\"/path/to/domains.txt\")\n});",
|
|
553
|
-
"version": "1"
|
|
554
|
-
},
|
|
555
|
-
"java": {
|
|
556
|
-
"source": "FirewallDomainList blockList = FirewallDomainList.Builder.create(this, \"BlockList\")\n .domains(FirewallDomains.fromList(List.of(\"bad-domain.com\", \"bot-domain.net\")))\n .build();\n\nFirewallDomainList s3List = FirewallDomainList.Builder.create(this, \"S3List\")\n .domains(FirewallDomains.fromS3Url(\"s3://bucket/prefix/object\"))\n .build();\n\nFirewallDomainList assetList = FirewallDomainList.Builder.create(this, \"AssetList\")\n .domains(FirewallDomains.fromAsset(\"/path/to/domains.txt\"))\n .build();",
|
|
557
|
-
"version": "1"
|
|
558
|
-
},
|
|
559
|
-
"go": {
|
|
560
|
-
"source": "blockList := route53resolver.NewFirewallDomainList(this, jsii.String(\"BlockList\"), &firewallDomainListProps{\n\tdomains: route53resolver.firewallDomains.fromList([]*string{\n\t\tjsii.String(\"bad-domain.com\"),\n\t\tjsii.String(\"bot-domain.net\"),\n\t}),\n})\n\ns3List := route53resolver.NewFirewallDomainList(this, jsii.String(\"S3List\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromS3Url(jsii.String(\"s3://bucket/prefix/object\")),\n})\n\nassetList := route53resolver.NewFirewallDomainList(this, jsii.String(\"AssetList\"), &firewallDomainListProps{\n\tdomains: route53resolver.*firewallDomains.fromAsset(jsii.String(\"/path/to/domains.txt\")),\n})",
|
|
561
|
-
"version": "1"
|
|
562
|
-
},
|
|
563
|
-
"$": {
|
|
564
|
-
"source": "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});",
|
|
565
|
-
"version": "0"
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
"location": {
|
|
569
|
-
"api": {
|
|
570
|
-
"api": "type",
|
|
571
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallDomains"
|
|
572
|
-
},
|
|
573
|
-
"field": {
|
|
574
|
-
"field": "example"
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
"didCompile": true,
|
|
578
|
-
"fqnsReferenced": [
|
|
579
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainList",
|
|
580
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomainListProps",
|
|
581
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains",
|
|
582
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromAsset",
|
|
583
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromList",
|
|
584
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallDomains#fromS3Url",
|
|
585
|
-
"constructs.Construct"
|
|
586
|
-
],
|
|
587
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
588
|
-
"syntaxKindCounter": {
|
|
589
|
-
"10": 7,
|
|
590
|
-
"75": 21,
|
|
591
|
-
"104": 3,
|
|
592
|
-
"192": 1,
|
|
593
|
-
"193": 3,
|
|
594
|
-
"194": 9,
|
|
595
|
-
"196": 3,
|
|
596
|
-
"197": 3,
|
|
597
|
-
"225": 3,
|
|
598
|
-
"242": 3,
|
|
599
|
-
"243": 3,
|
|
600
|
-
"281": 3
|
|
601
|
-
},
|
|
602
|
-
"fqnsFingerprint": "66584781280b36c15c04281c2a6d29dbec9b14602bc97c797c737c9a1436c6a5"
|
|
603
|
-
},
|
|
604
|
-
"a4bffe9e8f68f0174dce316b80ac60ef3023b270298b94e3e0fbc48f745aafe9": {
|
|
605
|
-
"translations": {
|
|
606
|
-
"python": {
|
|
607
|
-
"source": "# my_block_list: route53resolver.FirewallDomainList\n# rule_group: route53resolver.FirewallRuleGroup\n\n\nrule_group.add_rule(\n priority=10,\n firewall_domain_list=my_block_list,\n # block and reply with NXDOMAIN\n action=route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.nx_domain())\n)\n\nrule_group.add_rule(\n priority=20,\n firewall_domain_list=my_block_list,\n # block and override DNS response with a custom domain\n action=route53resolver.FirewallRuleAction.block(route53resolver.DnsBlockResponse.override(\"amazon.com\"))\n)",
|
|
608
|
-
"version": "2"
|
|
609
|
-
},
|
|
610
|
-
"csharp": {
|
|
611
|
-
"source": "FirewallDomainList myBlockList;\nFirewallRuleGroup ruleGroup;\n\n\nruleGroup.AddRule(new FirewallRule {\n Priority = 10,\n FirewallDomainList = myBlockList,\n // block and reply with NXDOMAIN\n Action = FirewallRuleAction.Block(DnsBlockResponse.NxDomain())\n});\n\nruleGroup.AddRule(new FirewallRule {\n Priority = 20,\n FirewallDomainList = myBlockList,\n // block and override DNS response with a custom domain\n Action = FirewallRuleAction.Block(DnsBlockResponse.Override(\"amazon.com\"))\n});",
|
|
612
|
-
"version": "1"
|
|
613
|
-
},
|
|
614
|
-
"java": {
|
|
615
|
-
"source": "FirewallDomainList myBlockList;\nFirewallRuleGroup ruleGroup;\n\n\nruleGroup.addRule(FirewallRule.builder()\n .priority(10)\n .firewallDomainList(myBlockList)\n // block and reply with NXDOMAIN\n .action(FirewallRuleAction.block(DnsBlockResponse.nxDomain()))\n .build());\n\nruleGroup.addRule(FirewallRule.builder()\n .priority(20)\n .firewallDomainList(myBlockList)\n // block and override DNS response with a custom domain\n .action(FirewallRuleAction.block(DnsBlockResponse.override(\"amazon.com\")))\n .build());",
|
|
616
|
-
"version": "1"
|
|
617
|
-
},
|
|
618
|
-
"go": {
|
|
619
|
-
"source": "var myBlockList firewallDomainList\nvar ruleGroup firewallRuleGroup\n\n\nruleGroup.addRule(&firewallRule{\n\tpriority: jsii.Number(10),\n\tfirewallDomainList: myBlockList,\n\t// block and reply with NXDOMAIN\n\taction: route53resolver.firewallRuleAction.block(route53resolver.dnsBlockResponse.nxDomain()),\n})\n\nruleGroup.addRule(&firewallRule{\n\tpriority: jsii.Number(20),\n\tfirewallDomainList: myBlockList,\n\t// block and override DNS response with a custom domain\n\taction: route53resolver.*firewallRuleAction.block(route53resolver.*dnsBlockResponse.override(jsii.String(\"amazon.com\"))),\n})",
|
|
620
|
-
"version": "1"
|
|
621
|
-
},
|
|
622
|
-
"$": {
|
|
623
|
-
"source": "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});",
|
|
624
|
-
"version": "0"
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
"location": {
|
|
628
|
-
"api": {
|
|
629
|
-
"api": "type",
|
|
630
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRule"
|
|
631
|
-
},
|
|
632
|
-
"field": {
|
|
633
|
-
"field": "example"
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
"didCompile": true,
|
|
637
|
-
"fqnsReferenced": [
|
|
638
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse",
|
|
639
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse#nxDomain",
|
|
640
|
-
"@aws-cdk/aws-route53resolver-alpha.DnsBlockResponse#override",
|
|
641
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRule",
|
|
642
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
643
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction#block",
|
|
644
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup#addRule",
|
|
645
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList"
|
|
646
|
-
],
|
|
647
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBlockList: route53resolver.FirewallDomainList;\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
648
|
-
"syntaxKindCounter": {
|
|
649
|
-
"8": 2,
|
|
650
|
-
"10": 1,
|
|
651
|
-
"75": 30,
|
|
652
|
-
"130": 2,
|
|
653
|
-
"153": 2,
|
|
654
|
-
"169": 2,
|
|
655
|
-
"193": 2,
|
|
656
|
-
"194": 10,
|
|
657
|
-
"196": 6,
|
|
658
|
-
"225": 2,
|
|
659
|
-
"226": 2,
|
|
660
|
-
"242": 2,
|
|
661
|
-
"243": 2,
|
|
662
|
-
"281": 6,
|
|
663
|
-
"290": 1
|
|
664
|
-
},
|
|
665
|
-
"fqnsFingerprint": "ea8ec2898118dae2935dd89918c1855699ae3aa4b0c15a8dea1b2a83388e43ff"
|
|
666
|
-
},
|
|
667
|
-
"d989b0213c612756d06ad9dbbb8ea099645c5b6797d8e1533a252a9c76a4f698": {
|
|
668
|
-
"translations": {
|
|
669
|
-
"python": {
|
|
670
|
-
"source": "# my_block_list: route53resolver.FirewallDomainList\n\nroute53resolver.FirewallRuleGroup(self, \"RuleGroup\",\n rules=[route53resolver.FirewallRule(\n priority=10,\n firewall_domain_list=my_block_list,\n # block and reply with NODATA\n action=route53resolver.FirewallRuleAction.block()\n )\n ]\n)",
|
|
671
|
-
"version": "2"
|
|
672
|
-
},
|
|
673
|
-
"csharp": {
|
|
674
|
-
"source": "FirewallDomainList myBlockList;\n\nnew FirewallRuleGroup(this, \"RuleGroup\", new FirewallRuleGroupProps {\n Rules = new [] { new FirewallRule {\n Priority = 10,\n FirewallDomainList = myBlockList,\n // block and reply with NODATA\n Action = FirewallRuleAction.Block()\n } }\n});",
|
|
675
|
-
"version": "1"
|
|
676
|
-
},
|
|
677
|
-
"java": {
|
|
678
|
-
"source": "FirewallDomainList myBlockList;\n\nFirewallRuleGroup.Builder.create(this, \"RuleGroup\")\n .rules(List.of(FirewallRule.builder()\n .priority(10)\n .firewallDomainList(myBlockList)\n // block and reply with NODATA\n .action(FirewallRuleAction.block())\n .build()))\n .build();",
|
|
679
|
-
"version": "1"
|
|
680
|
-
},
|
|
681
|
-
"go": {
|
|
682
|
-
"source": "var myBlockList firewallDomainList\n\nroute53resolver.NewFirewallRuleGroup(this, jsii.String(\"RuleGroup\"), &firewallRuleGroupProps{\n\trules: []firewallRule{\n\t\t&firewallRule{\n\t\t\tpriority: jsii.Number(10),\n\t\t\tfirewallDomainList: myBlockList,\n\t\t\t// block and reply with NODATA\n\t\t\taction: route53resolver.firewallRuleAction.block(),\n\t\t},\n\t},\n})",
|
|
683
|
-
"version": "1"
|
|
684
|
-
},
|
|
685
|
-
"$": {
|
|
686
|
-
"source": "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});",
|
|
687
|
-
"version": "0"
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
"location": {
|
|
691
|
-
"api": {
|
|
692
|
-
"api": "type",
|
|
693
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction"
|
|
694
|
-
},
|
|
695
|
-
"field": {
|
|
696
|
-
"field": "example"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
"didCompile": true,
|
|
700
|
-
"fqnsReferenced": [
|
|
701
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
702
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction#block",
|
|
703
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup",
|
|
704
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupProps",
|
|
705
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList",
|
|
706
|
-
"constructs.Construct"
|
|
707
|
-
],
|
|
708
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBlockList: route53resolver.FirewallDomainList;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
709
|
-
"syntaxKindCounter": {
|
|
710
|
-
"8": 1,
|
|
711
|
-
"10": 1,
|
|
712
|
-
"75": 13,
|
|
713
|
-
"104": 1,
|
|
714
|
-
"130": 1,
|
|
715
|
-
"153": 1,
|
|
716
|
-
"169": 1,
|
|
717
|
-
"192": 1,
|
|
718
|
-
"193": 2,
|
|
719
|
-
"194": 3,
|
|
720
|
-
"196": 1,
|
|
721
|
-
"197": 1,
|
|
722
|
-
"225": 1,
|
|
723
|
-
"226": 1,
|
|
724
|
-
"242": 1,
|
|
725
|
-
"243": 1,
|
|
726
|
-
"281": 4,
|
|
727
|
-
"290": 1
|
|
728
|
-
},
|
|
729
|
-
"fqnsFingerprint": "15a7d42a24bb31f54b629182890da0e01182d6e4d2e4ef1da4cbd51704b1dc30"
|
|
730
|
-
},
|
|
731
|
-
"e8376656cf894ff11fe2093b378fa2b2ec93afdd20a8993f11b8d5b5ed796d99": {
|
|
732
|
-
"translations": {
|
|
733
|
-
"python": {
|
|
734
|
-
"source": "# my_block_list: route53resolver.FirewallDomainList\n\nroute53resolver.FirewallRuleGroup(self, \"RuleGroup\",\n rules=[route53resolver.FirewallRule(\n priority=10,\n firewall_domain_list=my_block_list,\n # block and reply with NODATA\n action=route53resolver.FirewallRuleAction.block()\n )\n ]\n)",
|
|
735
|
-
"version": "2"
|
|
736
|
-
},
|
|
737
|
-
"csharp": {
|
|
738
|
-
"source": "FirewallDomainList myBlockList;\n\nnew FirewallRuleGroup(this, \"RuleGroup\", new FirewallRuleGroupProps {\n Rules = new [] { new FirewallRule {\n Priority = 10,\n FirewallDomainList = myBlockList,\n // block and reply with NODATA\n Action = FirewallRuleAction.Block()\n } }\n});",
|
|
739
|
-
"version": "1"
|
|
740
|
-
},
|
|
741
|
-
"java": {
|
|
742
|
-
"source": "FirewallDomainList myBlockList;\n\nFirewallRuleGroup.Builder.create(this, \"RuleGroup\")\n .rules(List.of(FirewallRule.builder()\n .priority(10)\n .firewallDomainList(myBlockList)\n // block and reply with NODATA\n .action(FirewallRuleAction.block())\n .build()))\n .build();",
|
|
743
|
-
"version": "1"
|
|
744
|
-
},
|
|
745
|
-
"go": {
|
|
746
|
-
"source": "var myBlockList firewallDomainList\n\nroute53resolver.NewFirewallRuleGroup(this, jsii.String(\"RuleGroup\"), &firewallRuleGroupProps{\n\trules: []firewallRule{\n\t\t&firewallRule{\n\t\t\tpriority: jsii.Number(10),\n\t\t\tfirewallDomainList: myBlockList,\n\t\t\t// block and reply with NODATA\n\t\t\taction: route53resolver.firewallRuleAction.block(),\n\t\t},\n\t},\n})",
|
|
747
|
-
"version": "1"
|
|
748
|
-
},
|
|
749
|
-
"$": {
|
|
750
|
-
"source": "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});",
|
|
751
|
-
"version": "0"
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
"location": {
|
|
755
|
-
"api": {
|
|
756
|
-
"api": "type",
|
|
757
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup"
|
|
758
|
-
},
|
|
759
|
-
"field": {
|
|
760
|
-
"field": "example"
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
"didCompile": true,
|
|
764
|
-
"fqnsReferenced": [
|
|
765
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
766
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction#block",
|
|
767
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup",
|
|
768
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupProps",
|
|
769
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList",
|
|
770
|
-
"constructs.Construct"
|
|
771
|
-
],
|
|
772
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBlockList: route53resolver.FirewallDomainList;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
773
|
-
"syntaxKindCounter": {
|
|
774
|
-
"8": 1,
|
|
775
|
-
"10": 1,
|
|
776
|
-
"75": 13,
|
|
777
|
-
"104": 1,
|
|
778
|
-
"130": 1,
|
|
779
|
-
"153": 1,
|
|
780
|
-
"169": 1,
|
|
781
|
-
"192": 1,
|
|
782
|
-
"193": 2,
|
|
783
|
-
"194": 3,
|
|
784
|
-
"196": 1,
|
|
785
|
-
"197": 1,
|
|
786
|
-
"225": 1,
|
|
787
|
-
"226": 1,
|
|
788
|
-
"242": 1,
|
|
789
|
-
"243": 1,
|
|
790
|
-
"281": 4,
|
|
791
|
-
"290": 1
|
|
792
|
-
},
|
|
793
|
-
"fqnsFingerprint": "15a7d42a24bb31f54b629182890da0e01182d6e4d2e4ef1da4cbd51704b1dc30"
|
|
794
|
-
},
|
|
795
|
-
"b5744a164d0710212210bc15d73e82f724c518af9699bd481a26e4889af9939d": {
|
|
796
|
-
"translations": {
|
|
797
|
-
"python": {
|
|
798
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_route53resolver_alpha as route53resolver_alpha\nfrom aws_cdk import aws_ec2 as ec2\n\n# firewall_rule_group: route53resolver_alpha.FirewallRuleGroup\n# vpc: ec2.Vpc\n\nfirewall_rule_group_association = route53resolver_alpha.FirewallRuleGroupAssociation(self, \"MyFirewallRuleGroupAssociation\",\n firewall_rule_group=firewall_rule_group,\n priority=123,\n vpc=vpc,\n\n # the properties below are optional\n mutation_protection=False,\n name=\"name\"\n)",
|
|
799
|
-
"version": "2"
|
|
800
|
-
},
|
|
801
|
-
"csharp": {
|
|
802
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Route53Resolver.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nFirewallRuleGroup firewallRuleGroup;\nVpc vpc;\n\nFirewallRuleGroupAssociation firewallRuleGroupAssociation = new FirewallRuleGroupAssociation(this, \"MyFirewallRuleGroupAssociation\", new FirewallRuleGroupAssociationProps {\n FirewallRuleGroup = firewallRuleGroup,\n Priority = 123,\n Vpc = vpc,\n\n // the properties below are optional\n MutationProtection = false,\n Name = \"name\"\n});",
|
|
803
|
-
"version": "1"
|
|
804
|
-
},
|
|
805
|
-
"java": {
|
|
806
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.route53resolver.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nFirewallRuleGroup firewallRuleGroup;\nVpc vpc;\n\nFirewallRuleGroupAssociation firewallRuleGroupAssociation = FirewallRuleGroupAssociation.Builder.create(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 .build();",
|
|
807
|
-
"version": "1"
|
|
808
|
-
},
|
|
809
|
-
"go": {
|
|
810
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport route53resolver_alpha \"github.com/aws/aws-cdk-go/awscdkroute53resolveralpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar firewallRuleGroup firewallRuleGroup\nvar vpc vpc\n\nfirewallRuleGroupAssociation := route53resolver_alpha.NewFirewallRuleGroupAssociation(this, jsii.String(\"MyFirewallRuleGroupAssociation\"), &firewallRuleGroupAssociationProps{\n\tfirewallRuleGroup: firewallRuleGroup,\n\tpriority: jsii.Number(123),\n\tvpc: vpc,\n\n\t// the properties below are optional\n\tmutationProtection: jsii.Boolean(false),\n\tname: jsii.String(\"name\"),\n})",
|
|
811
|
-
"version": "1"
|
|
812
|
-
},
|
|
813
|
-
"$": {
|
|
814
|
-
"source": "// 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});",
|
|
815
|
-
"version": "0"
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
"location": {
|
|
819
|
-
"api": {
|
|
820
|
-
"api": "type",
|
|
821
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociation"
|
|
822
|
-
},
|
|
823
|
-
"field": {
|
|
824
|
-
"field": "example"
|
|
825
|
-
}
|
|
826
|
-
},
|
|
827
|
-
"didCompile": true,
|
|
828
|
-
"fqnsReferenced": [
|
|
829
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociation",
|
|
830
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationProps",
|
|
831
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallRuleGroup",
|
|
832
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
833
|
-
"constructs.Construct"
|
|
834
|
-
],
|
|
835
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
836
|
-
"syntaxKindCounter": {
|
|
837
|
-
"8": 1,
|
|
838
|
-
"10": 4,
|
|
839
|
-
"75": 19,
|
|
840
|
-
"91": 1,
|
|
841
|
-
"104": 1,
|
|
842
|
-
"130": 2,
|
|
843
|
-
"153": 2,
|
|
844
|
-
"169": 2,
|
|
845
|
-
"193": 1,
|
|
846
|
-
"194": 1,
|
|
847
|
-
"197": 1,
|
|
848
|
-
"225": 3,
|
|
849
|
-
"242": 3,
|
|
850
|
-
"243": 3,
|
|
851
|
-
"254": 2,
|
|
852
|
-
"255": 2,
|
|
853
|
-
"256": 1,
|
|
854
|
-
"257": 1,
|
|
855
|
-
"258": 1,
|
|
856
|
-
"281": 5,
|
|
857
|
-
"290": 1
|
|
858
|
-
},
|
|
859
|
-
"fqnsFingerprint": "4eba639a7b024180f3e63e93ffbee1c9cfc66fca223c16dd7f4466d8e65101e5"
|
|
860
|
-
},
|
|
861
|
-
"3eb00463776efa8df99e1348a9bbaa5993befd226254b256e08dbf0c861b947a": {
|
|
862
|
-
"translations": {
|
|
863
|
-
"python": {
|
|
864
|
-
"source": "import aws_cdk.aws_ec2 as ec2\n\n# rule_group: route53resolver.FirewallRuleGroup\n# my_vpc: ec2.Vpc\n\n\nrule_group.associate(\"Association\",\n priority=101,\n vpc=my_vpc\n)",
|
|
865
|
-
"version": "2"
|
|
866
|
-
},
|
|
867
|
-
"csharp": {
|
|
868
|
-
"source": "using Amazon.CDK.AWS.EC2;\n\nFirewallRuleGroup ruleGroup;\nVpc myVpc;\n\n\nruleGroup.Associate(\"Association\", new FirewallRuleGroupAssociationOptions {\n Priority = 101,\n Vpc = myVpc\n});",
|
|
869
|
-
"version": "1"
|
|
870
|
-
},
|
|
871
|
-
"java": {
|
|
872
|
-
"source": "import software.amazon.awscdk.services.ec2.*;\n\nFirewallRuleGroup ruleGroup;\nVpc myVpc;\n\n\nruleGroup.associate(\"Association\", FirewallRuleGroupAssociationOptions.builder()\n .priority(101)\n .vpc(myVpc)\n .build());",
|
|
873
|
-
"version": "1"
|
|
874
|
-
},
|
|
875
|
-
"go": {
|
|
876
|
-
"source": "import ec2 \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar ruleGroup firewallRuleGroup\nvar myVpc vpc\n\n\nruleGroup.associate(jsii.String(\"Association\"), &firewallRuleGroupAssociationOptions{\n\tpriority: jsii.Number(101),\n\tvpc: myVpc,\n})",
|
|
877
|
-
"version": "1"
|
|
878
|
-
},
|
|
879
|
-
"$": {
|
|
880
|
-
"source": "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})",
|
|
881
|
-
"version": "0"
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
"location": {
|
|
885
|
-
"api": {
|
|
886
|
-
"api": "type",
|
|
887
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationOptions"
|
|
888
|
-
},
|
|
889
|
-
"field": {
|
|
890
|
-
"field": "example"
|
|
891
|
-
}
|
|
892
|
-
},
|
|
893
|
-
"didCompile": true,
|
|
894
|
-
"fqnsReferenced": [
|
|
895
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup#associate",
|
|
896
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationOptions",
|
|
897
|
-
"aws-cdk-lib.aws_ec2.IVpc"
|
|
898
|
-
],
|
|
899
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\ndeclare const ruleGroup: route53resolver.FirewallRuleGroup;\ndeclare const myVpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nruleGroup.associate('Association', {\n priority: 101,\n vpc: myVpc,\n})\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
900
|
-
"syntaxKindCounter": {
|
|
901
|
-
"8": 1,
|
|
902
|
-
"10": 2,
|
|
903
|
-
"75": 12,
|
|
904
|
-
"130": 2,
|
|
905
|
-
"153": 2,
|
|
906
|
-
"169": 2,
|
|
907
|
-
"193": 1,
|
|
908
|
-
"194": 1,
|
|
909
|
-
"196": 1,
|
|
910
|
-
"225": 2,
|
|
911
|
-
"226": 1,
|
|
912
|
-
"242": 2,
|
|
913
|
-
"243": 2,
|
|
914
|
-
"254": 1,
|
|
915
|
-
"255": 1,
|
|
916
|
-
"256": 1,
|
|
917
|
-
"281": 2,
|
|
918
|
-
"290": 1
|
|
919
|
-
},
|
|
920
|
-
"fqnsFingerprint": "6d6682cf331eed285724822ed47d922ea995c04d080903ec1bb061620f47e47a"
|
|
921
|
-
},
|
|
922
|
-
"c9db423a6198ef33f263c2bb782785500388f3222e611862166cd30fdb0b6141": {
|
|
923
|
-
"translations": {
|
|
924
|
-
"python": {
|
|
925
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_route53resolver_alpha as route53resolver_alpha\nfrom aws_cdk import aws_ec2 as ec2\n\n# firewall_rule_group: route53resolver_alpha.FirewallRuleGroup\n# vpc: ec2.Vpc\n\nfirewall_rule_group_association_props = route53resolver_alpha.FirewallRuleGroupAssociationProps(\n firewall_rule_group=firewall_rule_group,\n priority=123,\n vpc=vpc,\n\n # the properties below are optional\n mutation_protection=False,\n name=\"name\"\n)",
|
|
926
|
-
"version": "2"
|
|
927
|
-
},
|
|
928
|
-
"csharp": {
|
|
929
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Route53Resolver.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nFirewallRuleGroup firewallRuleGroup;\nVpc vpc;\n\nFirewallRuleGroupAssociationProps firewallRuleGroupAssociationProps = new FirewallRuleGroupAssociationProps {\n FirewallRuleGroup = firewallRuleGroup,\n Priority = 123,\n Vpc = vpc,\n\n // the properties below are optional\n MutationProtection = false,\n Name = \"name\"\n};",
|
|
930
|
-
"version": "1"
|
|
931
|
-
},
|
|
932
|
-
"java": {
|
|
933
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.route53resolver.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nFirewallRuleGroup firewallRuleGroup;\nVpc vpc;\n\nFirewallRuleGroupAssociationProps firewallRuleGroupAssociationProps = FirewallRuleGroupAssociationProps.builder()\n .firewallRuleGroup(firewallRuleGroup)\n .priority(123)\n .vpc(vpc)\n\n // the properties below are optional\n .mutationProtection(false)\n .name(\"name\")\n .build();",
|
|
934
|
-
"version": "1"
|
|
935
|
-
},
|
|
936
|
-
"go": {
|
|
937
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport route53resolver_alpha \"github.com/aws/aws-cdk-go/awscdkroute53resolveralpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar firewallRuleGroup firewallRuleGroup\nvar vpc vpc\n\nfirewallRuleGroupAssociationProps := &firewallRuleGroupAssociationProps{\n\tfirewallRuleGroup: firewallRuleGroup,\n\tpriority: jsii.Number(123),\n\tvpc: vpc,\n\n\t// the properties below are optional\n\tmutationProtection: jsii.Boolean(false),\n\tname: jsii.String(\"name\"),\n}",
|
|
938
|
-
"version": "1"
|
|
939
|
-
},
|
|
940
|
-
"$": {
|
|
941
|
-
"source": "// 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};",
|
|
942
|
-
"version": "0"
|
|
943
|
-
}
|
|
944
|
-
},
|
|
945
|
-
"location": {
|
|
946
|
-
"api": {
|
|
947
|
-
"api": "type",
|
|
948
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationProps"
|
|
949
|
-
},
|
|
950
|
-
"field": {
|
|
951
|
-
"field": "example"
|
|
952
|
-
}
|
|
953
|
-
},
|
|
954
|
-
"didCompile": true,
|
|
955
|
-
"fqnsReferenced": [
|
|
956
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupAssociationProps",
|
|
957
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallRuleGroup",
|
|
958
|
-
"aws-cdk-lib.aws_ec2.IVpc"
|
|
959
|
-
],
|
|
960
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
961
|
-
"syntaxKindCounter": {
|
|
962
|
-
"8": 1,
|
|
963
|
-
"10": 3,
|
|
964
|
-
"75": 19,
|
|
965
|
-
"91": 1,
|
|
966
|
-
"130": 2,
|
|
967
|
-
"153": 3,
|
|
968
|
-
"169": 3,
|
|
969
|
-
"193": 1,
|
|
970
|
-
"225": 3,
|
|
971
|
-
"242": 3,
|
|
972
|
-
"243": 3,
|
|
973
|
-
"254": 2,
|
|
974
|
-
"255": 2,
|
|
975
|
-
"256": 1,
|
|
976
|
-
"257": 1,
|
|
977
|
-
"258": 1,
|
|
978
|
-
"281": 5,
|
|
979
|
-
"290": 1
|
|
980
|
-
},
|
|
981
|
-
"fqnsFingerprint": "13803d0c778b69257f993b6f7660cc7727e7bc29af8c42d5e1a552114ef85092"
|
|
982
|
-
},
|
|
983
|
-
"90993ef2552e02320b99021a3d535123017bed1f5e0c4cfef9fd04d201f9b86d": {
|
|
984
|
-
"translations": {
|
|
985
|
-
"python": {
|
|
986
|
-
"source": "# my_block_list: route53resolver.FirewallDomainList\n\nroute53resolver.FirewallRuleGroup(self, \"RuleGroup\",\n rules=[route53resolver.FirewallRule(\n priority=10,\n firewall_domain_list=my_block_list,\n # block and reply with NODATA\n action=route53resolver.FirewallRuleAction.block()\n )\n ]\n)",
|
|
987
|
-
"version": "2"
|
|
988
|
-
},
|
|
989
|
-
"csharp": {
|
|
990
|
-
"source": "FirewallDomainList myBlockList;\n\nnew FirewallRuleGroup(this, \"RuleGroup\", new FirewallRuleGroupProps {\n Rules = new [] { new FirewallRule {\n Priority = 10,\n FirewallDomainList = myBlockList,\n // block and reply with NODATA\n Action = FirewallRuleAction.Block()\n } }\n});",
|
|
991
|
-
"version": "1"
|
|
992
|
-
},
|
|
993
|
-
"java": {
|
|
994
|
-
"source": "FirewallDomainList myBlockList;\n\nFirewallRuleGroup.Builder.create(this, \"RuleGroup\")\n .rules(List.of(FirewallRule.builder()\n .priority(10)\n .firewallDomainList(myBlockList)\n // block and reply with NODATA\n .action(FirewallRuleAction.block())\n .build()))\n .build();",
|
|
995
|
-
"version": "1"
|
|
996
|
-
},
|
|
997
|
-
"go": {
|
|
998
|
-
"source": "var myBlockList firewallDomainList\n\nroute53resolver.NewFirewallRuleGroup(this, jsii.String(\"RuleGroup\"), &firewallRuleGroupProps{\n\trules: []firewallRule{\n\t\t&firewallRule{\n\t\t\tpriority: jsii.Number(10),\n\t\t\tfirewallDomainList: myBlockList,\n\t\t\t// block and reply with NODATA\n\t\t\taction: route53resolver.firewallRuleAction.block(),\n\t\t},\n\t},\n})",
|
|
999
|
-
"version": "1"
|
|
1000
|
-
},
|
|
1001
|
-
"$": {
|
|
1002
|
-
"source": "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});",
|
|
1003
|
-
"version": "0"
|
|
1004
|
-
}
|
|
1005
|
-
},
|
|
1006
|
-
"location": {
|
|
1007
|
-
"api": {
|
|
1008
|
-
"api": "type",
|
|
1009
|
-
"fqn": "@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupProps"
|
|
1010
|
-
},
|
|
1011
|
-
"field": {
|
|
1012
|
-
"field": "example"
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
"didCompile": true,
|
|
1016
|
-
"fqnsReferenced": [
|
|
1017
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction",
|
|
1018
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleAction#block",
|
|
1019
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroup",
|
|
1020
|
-
"@aws-cdk/aws-route53resolver-alpha.FirewallRuleGroupProps",
|
|
1021
|
-
"@aws-cdk/aws-route53resolver-alpha.IFirewallDomainList",
|
|
1022
|
-
"constructs.Construct"
|
|
1023
|
-
],
|
|
1024
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBlockList: route53resolver.FirewallDomainList;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as route53resolver from '@aws-cdk/aws-route53resolver-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\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/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
1025
|
-
"syntaxKindCounter": {
|
|
1026
|
-
"8": 1,
|
|
1027
|
-
"10": 1,
|
|
1028
|
-
"75": 13,
|
|
1029
|
-
"104": 1,
|
|
1030
|
-
"130": 1,
|
|
1031
|
-
"153": 1,
|
|
1032
|
-
"169": 1,
|
|
1033
|
-
"192": 1,
|
|
1034
|
-
"193": 2,
|
|
1035
|
-
"194": 3,
|
|
1036
|
-
"196": 1,
|
|
1037
|
-
"197": 1,
|
|
1038
|
-
"225": 1,
|
|
1039
|
-
"226": 1,
|
|
1040
|
-
"242": 1,
|
|
1041
|
-
"243": 1,
|
|
1042
|
-
"281": 4,
|
|
1043
|
-
"290": 1
|
|
1044
|
-
},
|
|
1045
|
-
"fqnsFingerprint": "15a7d42a24bb31f54b629182890da0e01182d6e4d2e4ef1da4cbd51704b1dc30"
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|