Skip to content

Commit 379a4e6

Browse files
kddejonggithub-actions[bot]
authored andcommitted
1 parent adf1662 commit 379a4e6

26 files changed

+11578
-10985
lines changed

server/schema/resources.schema.json

Lines changed: 9145 additions & 9145 deletions
Large diffs are not rendered by default.

server/schema/resources/aws-athena-workgroup.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,17 @@
123123
"additionalProperties": false,
124124
"markdownDescription": "If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS or CSE-KMS) and key information.\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
125125
},
126+
"ManagedStorageEncryptionConfiguration": {
127+
"description": "Indicates the encryption configuration for Athena Managed Storage. If not setting this field, Managed Storage will encrypt the query results with Athena's encryption key",
128+
"type": "object",
129+
"properties": {
130+
"KmsKey": {
131+
"$ref": "#/definitions/KmsKey"
132+
}
133+
},
134+
"additionalProperties": false,
135+
"markdownDescription": "Indicates the encryption configuration for Athena Managed Storage. If not setting this field, Managed Storage will encrypt the query results with Athena's encryption key\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
136+
},
126137
"RemoveEncryptionConfiguration": {
127138
"type": "boolean",
128139
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption\n"
@@ -246,6 +257,21 @@
246257
"additionalProperties": false,
247258
"markdownDescription": "The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results. \n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
248259
},
260+
"ManagedQueryResultsConfiguration": {
261+
"description": "The configuration for the managed query results and encryption option. ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time",
262+
"type": "object",
263+
"properties": {
264+
"EncryptionConfiguration": {
265+
"$ref": "#/definitions/ManagedStorageEncryptionConfiguration"
266+
},
267+
"Enabled": {
268+
"type": "boolean",
269+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption\n"
270+
}
271+
},
272+
"additionalProperties": false,
273+
"markdownDescription": "The configuration for the managed query results and encryption option. ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
274+
},
249275
"WorkGroupConfiguration": {
250276
"type": "object",
251277
"properties": {
@@ -275,6 +301,9 @@
275301
},
276302
"CustomerContentEncryptionConfiguration": {
277303
"$ref": "#/definitions/CustomerContentEncryptionConfiguration"
304+
},
305+
"ManagedQueryResultsConfiguration": {
306+
"$ref": "#/definitions/ManagedQueryResultsConfiguration"
278307
}
279308
},
280309
"additionalProperties": false,
@@ -316,6 +345,9 @@
316345
},
317346
"RemoveCustomerContentEncryptionConfiguration": {
318347
"$ref": "#/definitions/RemoveCustomerContentEncryptionConfiguration"
348+
},
349+
"ManagedQueryResultsConfiguration": {
350+
"$ref": "#/definitions/ManagedQueryResultsConfiguration"
319351
}
320352
},
321353
"additionalProperties": false,

server/schema/resources/aws-dynamodb-table.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,9 @@
500500
"markdownDescription": "The name of the global secondary index. The name must be unique among all other indexes on this table.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption\n"
501501
},
502502
"OnDemandThroughput": {
503-
"description": "The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both.",
503+
"description": "The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both. You must use either ``OnDemandThroughput`` or ``ProvisionedThroughput`` based on your table's capacity mode.",
504504
"$ref": "#/definitions/OnDemandThroughput",
505-
"markdownDescription": "The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both.\n\n---\n\nRequired: No \nType: \nUpdate requires: No interruption\n"
505+
"markdownDescription": "The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both. You must use either ``OnDemandThroughput`` or ``ProvisionedThroughput`` based on your table's capacity mode.\n\n---\n\nRequired: No \nType: \nUpdate requires: No interruption\n"
506506
},
507507
"ContributorInsightsSpecification": {
508508
"description": "The settings used to enable or disable CloudWatch Contributor Insights for the specified global secondary index.",
@@ -515,9 +515,9 @@
515515
"markdownDescription": "Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.\n\n---\n\nRequired: Yes \nType: \nUpdate requires: No interruption\n"
516516
},
517517
"ProvisionedThroughput": {
518-
"description": "Represents the provisioned throughput settings for the specified global secondary index.\n For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the *Amazon DynamoDB Developer Guide*.",
518+
"description": "Represents the provisioned throughput settings for the specified global secondary index. You must use either ``OnDemandThroughput`` or ``ProvisionedThroughput`` based on your table's capacity mode.\n For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the *Amazon DynamoDB Developer Guide*.",
519519
"$ref": "#/definitions/ProvisionedThroughput",
520-
"markdownDescription": "Represents the provisioned throughput settings for the specified global secondary index.\n For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the *Amazon DynamoDB Developer Guide*.\n\n---\n\nRequired: No \nType: \nUpdate requires: No interruption\n"
520+
"markdownDescription": "Represents the provisioned throughput settings for the specified global secondary index. You must use either ``OnDemandThroughput`` or ``ProvisionedThroughput`` based on your table's capacity mode.\n For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the *Amazon DynamoDB Developer Guide*.\n\n---\n\nRequired: No \nType: \nUpdate requires: No interruption\n"
521521
},
522522
"KeySchema": {
523523
"uniqueItems": true,

server/schema/resources/aws-ec2-egressonlyinternetgateway.json

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,52 @@
1313
"description": "The ID of the VPC for which to create the egress-only internet gateway.",
1414
"type": "string",
1515
"markdownDescription": "The ID of the VPC for which to create the egress-only internet gateway.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement\n"
16+
},
17+
"Tags": {
18+
"type": "array",
19+
"description": "Any tags assigned to the egress only internet gateway.",
20+
"uniqueItems": false,
21+
"insertionOrder": false,
22+
"items": {
23+
"$ref": "#/definitions/Tag"
24+
},
25+
"markdownDescription": "Any tags assigned to the egress only internet gateway.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
26+
}
27+
},
28+
"definitions": {
29+
"Tag": {
30+
"type": "object",
31+
"additionalProperties": false,
32+
"properties": {
33+
"Key": {
34+
"type": "string",
35+
"minLength": 1,
36+
"maxLength": 128,
37+
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nMaximum Length: 128 \nUpdate requires: No interruption\n"
38+
},
39+
"Value": {
40+
"type": "string",
41+
"maxLength": 256,
42+
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nMaximum Length: 256 \nUpdate requires: No interruption\n"
43+
}
44+
},
45+
"required": [
46+
"Value",
47+
"Key"
48+
],
49+
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
1650
}
1751
},
1852
"tagging": {
19-
"taggable": false,
20-
"tagOnCreate": false,
21-
"tagUpdatable": false,
22-
"cloudFormationSystemTags": false
53+
"taggable": true,
54+
"tagOnCreate": true,
55+
"tagUpdatable": true,
56+
"cloudFormationSystemTags": true,
57+
"tagProperty": "/properties/Tags",
58+
"permissions": [
59+
"ec2:CreateTags",
60+
"ec2:DeleteTags"
61+
]
2362
},
2463
"required": [
2564
"VpcId"
@@ -37,19 +76,29 @@
3776
"create": {
3877
"permissions": [
3978
"ec2:CreateEgressOnlyInternetGateway",
79+
"ec2:CreateTags",
4080
"ec2:DescribeEgressOnlyInternetGateways"
4181
]
4282
},
4383
"read": {
4484
"permissions": [
45-
"ec2:DescribeEgressOnlyInternetGateways"
85+
"ec2:DescribeEgressOnlyInternetGateways",
86+
"ec2:DescribeTags"
4687
]
4788
},
4889
"delete": {
4990
"permissions": [
5091
"ec2:DeleteEgressOnlyInternetGateway",
5192
"ec2:DescribeEgressOnlyInternetGateways",
52-
"ec2:DescribeVpcs"
93+
"ec2:DescribeVpcs",
94+
"ec2:DeleteTags"
95+
]
96+
},
97+
"update": {
98+
"permissions": [
99+
"ec2:DeleteTags",
100+
"ec2:CreateTags",
101+
"ec2:DescribeEgressOnlyInternetGateways"
53102
]
54103
},
55104
"list": {

server/schema/resources/aws-ec2-subnet.json

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"MapPublicIpOnLaunch": {
1717
"type": "boolean",
18-
"description": "Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is ``false``.\n AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/).",
19-
"markdownDescription": "Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is ``false``.\n AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/).\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption\n"
18+
"description": "Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is ``false``.\n AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/).",
19+
"markdownDescription": "Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is ``false``.\n AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/).\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption\n"
2020
},
2121
"EnableLniAtDeviceIndex": {
2222
"type": "integer",
@@ -126,6 +126,19 @@
126126
"type": "integer",
127127
"description": "An IPv6 netmask length for the subnet.",
128128
"markdownDescription": "An IPv6 netmask length for the subnet.\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: Replacement\n"
129+
},
130+
"BlockPublicAccessStates": {
131+
"type": "object",
132+
"additionalProperties": false,
133+
"description": "",
134+
"properties": {
135+
"InternetGatewayBlockMode": {
136+
"type": "string",
137+
"description": "The mode of VPC BPA. Options here are off, block-bidirectional, block-ingress ",
138+
"markdownDescription": "The mode of VPC BPA. Options here are off, block-bidirectional, block-ingress \n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
139+
}
140+
},
141+
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\nRead only property: Yes"
129142
}
130143
},
131144
"tagging": {
@@ -187,7 +200,8 @@
187200
"readOnlyProperties": [
188201
"/properties/NetworkAclAssociationId",
189202
"/properties/SubnetId",
190-
"/properties/Ipv6CidrBlocks"
203+
"/properties/Ipv6CidrBlocks",
204+
"/properties/BlockPublicAccessStates"
191205
],
192206
"writeOnlyProperties": [
193207
"/properties/EnableLniAtDeviceIndex",
@@ -254,6 +268,19 @@
254268
},
255269
"description": "",
256270
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\nRead only property: Yes"
271+
},
272+
"BlockPublicAccessStates": {
273+
"type": "object",
274+
"additionalProperties": false,
275+
"description": "",
276+
"properties": {
277+
"InternetGatewayBlockMode": {
278+
"type": "string",
279+
"description": "The mode of VPC BPA. Options here are off, block-bidirectional, block-ingress ",
280+
"markdownDescription": "The mode of VPC BPA. Options here are off, block-bidirectional, block-ingress \n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
281+
}
282+
},
283+
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\nRead only property: Yes"
257284
}
258285
}
259286
}
Lines changed: 99 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,10 @@
11
{
22
"typeName": "AWS::EC2::TrafficMirrorFilter",
3-
"description": "Resource Type definition for AWS::EC2::TrafficMirrorFilter",
4-
"additionalProperties": false,
5-
"properties": {
6-
"Id": {
7-
"type": "string",
8-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
9-
},
10-
"Description": {
11-
"type": "string",
12-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement\n"
13-
},
14-
"NetworkServices": {
15-
"type": "array",
16-
"uniqueItems": false,
17-
"items": {
18-
"type": "string",
19-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
20-
},
21-
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
22-
},
23-
"Tags": {
24-
"type": "array",
25-
"uniqueItems": false,
26-
"items": {
27-
"$ref": "#/definitions/Tag"
28-
},
29-
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
30-
}
31-
},
3+
"description": "Resource schema for AWS::EC2::TrafficMirrorFilter",
4+
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
325
"definitions": {
336
"Tag": {
347
"type": "object",
35-
"additionalProperties": false,
368
"properties": {
379
"Key": {
3810
"type": "string",
@@ -44,12 +16,65 @@
4416
}
4517
},
4618
"required": [
47-
"Value",
48-
"Key"
19+
"Key",
20+
"Value"
4921
],
22+
"additionalProperties": false,
5023
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
24+
},
25+
"TrafficMirrorNetworkService": {
26+
"description": "The network service traffic that is associated with the traffic mirror filter.",
27+
"type": "string",
28+
"enum": [
29+
"amazon-dns"
30+
],
31+
"markdownDescription": "The network service traffic that is associated with the traffic mirror filter.\n\n---\n\nRequired: No \nType: String \nAllowed Values: amazon-dns \nUpdate requires: No interruption\n"
5132
}
5233
},
34+
"properties": {
35+
"Id": {
36+
"description": "The ID of a traffic mirror filter.",
37+
"type": "string",
38+
"markdownDescription": "The ID of a traffic mirror filter.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
39+
},
40+
"NetworkServices": {
41+
"description": "The network service that is associated with the traffic mirror filter.",
42+
"type": "array",
43+
"uniqueItems": true,
44+
"insertionOrder": false,
45+
"items": {
46+
"$ref": "#/definitions/TrafficMirrorNetworkService"
47+
},
48+
"markdownDescription": "The network service that is associated with the traffic mirror filter.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
49+
},
50+
"Description": {
51+
"description": "The description of a traffic mirror filter.",
52+
"type": "string",
53+
"markdownDescription": "The description of a traffic mirror filter.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement\n"
54+
},
55+
"Tags": {
56+
"description": "The tags for a traffic mirror filter.",
57+
"type": "array",
58+
"uniqueItems": false,
59+
"insertionOrder": false,
60+
"items": {
61+
"$ref": "#/definitions/Tag"
62+
},
63+
"markdownDescription": "The tags for a traffic mirror filter.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
64+
}
65+
},
66+
"tagging": {
67+
"taggable": true,
68+
"tagOnCreate": true,
69+
"tagUpdatable": true,
70+
"cloudFormationSystemTags": true,
71+
"tagProperty": "/properties/Tags",
72+
"permissions": [
73+
"ec2:CreateTags",
74+
"ec2:DeleteTags"
75+
]
76+
},
77+
"additionalProperties": false,
5378
"createOnlyProperties": [
5479
"/properties/Description"
5580
],
@@ -59,10 +84,51 @@
5984
"primaryIdentifier": [
6085
"/properties/Id"
6186
],
87+
"handlers": {
88+
"create": {
89+
"permissions": [
90+
"ec2:CreateTrafficMirrorFilter",
91+
"ec2:DescribeTrafficMirrorFilters",
92+
"ec2:CreateTags",
93+
"ec2:ModifyTrafficMirrorFilterNetworkServices",
94+
"ec2:DescribeTags"
95+
]
96+
},
97+
"read": {
98+
"permissions": [
99+
"ec2:DescribeTrafficMirrorFilters",
100+
"ec2:DescribeTags"
101+
]
102+
},
103+
"update": {
104+
"permissions": [
105+
"ec2:ModifyTrafficMirrorFilterNetworkServices",
106+
"ec2:DescribeTrafficMirrorFilters",
107+
"ec2:CreateTags",
108+
"ec2:DeleteTags",
109+
"ec2:DescribeTags"
110+
]
111+
},
112+
"delete": {
113+
"permissions": [
114+
"ec2:DescribeTrafficMirrorFilters",
115+
"ec2:DeleteTrafficMirrorFilter",
116+
"ec2:DeleteTags",
117+
"ec2:DescribeTags"
118+
]
119+
},
120+
"list": {
121+
"permissions": [
122+
"ec2:DescribeTrafficMirrorFilters",
123+
"ec2:DescribeTags"
124+
]
125+
}
126+
},
62127
"attributes": {
63128
"Id": {
129+
"description": "The ID of a traffic mirror filter.",
64130
"type": "string",
65-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
131+
"markdownDescription": "The ID of a traffic mirror filter.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
66132
}
67133
}
68134
}

0 commit comments

Comments
 (0)