Skip to content

Commit e0aefa5

Browse files
authored
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 (#2887)
*Automated PR*
2 parents 4546432 + 0a53c64 commit e0aefa5

File tree

288 files changed

+39479
-1860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+39479
-1860
lines changed

.docs.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
caa64ae734a80c59e80f22484b4575a3e9200320
1+
a658208a9e5bc81c1fa12b295997358654ce54d3
Lines changed: 89 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,165 +1,222 @@
11
{
22
"typeName" : "AWS::AppStream::Stack",
33
"description" : "Resource Type definition for AWS::AppStream::Stack",
4+
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appstream.git",
45
"additionalProperties" : false,
56
"properties" : {
67
"Description" : {
7-
"type" : "string"
8+
"type" : "string",
9+
"description" : "The description to display."
810
},
911
"StorageConnectors" : {
1012
"type" : "array",
1113
"uniqueItems" : false,
1214
"items" : {
1315
"$ref" : "#/definitions/StorageConnector"
14-
}
16+
},
17+
"description" : "The storage connectors to enable."
1518
},
1619
"DeleteStorageConnectors" : {
17-
"type" : "boolean"
20+
"type" : "boolean",
21+
"description" : "This parameter has been deprecated. Deletes the storage connectors currently enabled for the stack."
1822
},
1923
"EmbedHostDomains" : {
2024
"type" : "array",
2125
"uniqueItems" : false,
2226
"items" : {
2327
"type" : "string"
24-
}
28+
},
29+
"description" : "The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions."
2530
},
2631
"UserSettings" : {
2732
"type" : "array",
2833
"uniqueItems" : false,
2934
"items" : {
3035
"$ref" : "#/definitions/UserSetting"
31-
}
36+
},
37+
"description" : "The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled."
3238
},
3339
"AttributesToDelete" : {
3440
"type" : "array",
3541
"uniqueItems" : false,
3642
"items" : {
3743
"type" : "string"
38-
}
44+
},
45+
"description" : "The stack attributes to delete."
3946
},
4047
"RedirectURL" : {
41-
"type" : "string"
48+
"type" : "string",
49+
"description" : "The URL that users are redirected to after their streaming session ends."
4250
},
4351
"StreamingExperienceSettings" : {
44-
"$ref" : "#/definitions/StreamingExperienceSettings"
52+
"$ref" : "#/definitions/StreamingExperienceSettings",
53+
"description" : "The streaming protocol that you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client."
4554
},
4655
"Name" : {
47-
"type" : "string"
56+
"type" : "string",
57+
"description" : "The name of the stack."
4858
},
4959
"FeedbackURL" : {
50-
"type" : "string"
60+
"type" : "string",
61+
"description" : "The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed."
5162
},
5263
"ApplicationSettings" : {
53-
"$ref" : "#/definitions/ApplicationSettings"
64+
"$ref" : "#/definitions/ApplicationSettings",
65+
"description" : "The persistent application settings for users of the stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session."
5466
},
5567
"DisplayName" : {
56-
"type" : "string"
57-
},
58-
"Id" : {
59-
"type" : "string"
68+
"type" : "string",
69+
"description" : "The stack name to display."
6070
},
6171
"Tags" : {
6272
"type" : "array",
6373
"uniqueItems" : false,
6474
"items" : {
6575
"$ref" : "#/definitions/Tag"
66-
}
76+
},
77+
"description" : "An array of key-value pairs."
6778
},
6879
"AccessEndpoints" : {
6980
"type" : "array",
7081
"uniqueItems" : false,
7182
"items" : {
7283
"$ref" : "#/definitions/AccessEndpoint"
73-
}
84+
},
85+
"description" : "The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints."
7486
}
7587
},
7688
"definitions" : {
7789
"StorageConnector" : {
7890
"type" : "object",
7991
"additionalProperties" : false,
92+
"description" : "A connector that enables persistent storage for users.",
8093
"properties" : {
8194
"Domains" : {
8295
"type" : "array",
8396
"uniqueItems" : false,
8497
"items" : {
8598
"type" : "string"
86-
}
99+
},
100+
"description" : "The names of the domains for the account."
87101
},
88102
"ResourceIdentifier" : {
89-
"type" : "string"
103+
"type" : "string",
104+
"description" : "The ARN of the storage connector."
90105
},
91106
"ConnectorType" : {
92-
"type" : "string"
107+
"type" : "string",
108+
"description" : "The type of storage connector."
93109
}
94110
},
95111
"required" : [ "ConnectorType" ]
96112
},
97113
"ApplicationSettings" : {
98114
"type" : "object",
99115
"additionalProperties" : false,
116+
"description" : "The persistent application settings for users of a stack.",
100117
"properties" : {
101118
"SettingsGroup" : {
102-
"type" : "string"
119+
"type" : "string",
120+
"description" : "The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple stacks by specifying the same settings group for each stack."
103121
},
104122
"Enabled" : {
105-
"type" : "boolean"
123+
"type" : "boolean",
124+
"description" : "Enables or disables persistent application settings for users during their streaming sessions."
106125
}
107126
},
108127
"required" : [ "Enabled" ]
109128
},
110129
"StreamingExperienceSettings" : {
111130
"type" : "object",
112131
"additionalProperties" : false,
132+
"description" : "The streaming protocol that you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.",
113133
"properties" : {
114134
"PreferredProtocol" : {
115-
"type" : "string"
135+
"type" : "string",
136+
"description" : "The preferred protocol that you want to use while streaming your application."
116137
}
117138
}
118139
},
119140
"Tag" : {
120141
"type" : "object",
121142
"additionalProperties" : false,
143+
"description" : "The tag of the stack.",
122144
"properties" : {
123145
"Value" : {
124-
"type" : "string"
146+
"type" : "string",
147+
"description" : "The value of the tag."
125148
},
126149
"Key" : {
127-
"type" : "string"
150+
"type" : "string",
151+
"description" : "The key of the tag."
128152
}
129153
},
130154
"required" : [ "Value", "Key" ]
131155
},
132156
"AccessEndpoint" : {
133157
"type" : "object",
134158
"additionalProperties" : false,
159+
"description" : "Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and AppStream 2.0. When you specify an interface endpoint for a stack, users of the stack can connect to AppStream 2.0 only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.",
135160
"properties" : {
136161
"EndpointType" : {
137-
"type" : "string"
162+
"type" : "string",
163+
"description" : "The type of interface endpoint."
138164
},
139165
"VpceId" : {
140-
"type" : "string"
166+
"type" : "string",
167+
"description" : "The identifier (ID) of the VPC in which the interface endpoint is used."
141168
}
142169
},
143170
"required" : [ "EndpointType", "VpceId" ]
144171
},
145172
"UserSetting" : {
146173
"type" : "object",
147174
"additionalProperties" : false,
175+
"description" : "Specifies an action and whether the action is enabled or disabled for users during their streaming sessions.",
148176
"properties" : {
149177
"Permission" : {
150-
"type" : "string"
178+
"type" : "string",
179+
"description" : "Indicates whether the action is enabled or disabled."
151180
},
152181
"Action" : {
153-
"type" : "string"
182+
"type" : "string",
183+
"description" : "The action that is enabled or disabled."
154184
},
155185
"MaximumLength" : {
156-
"type" : "integer"
186+
"type" : "integer",
187+
"description" : "Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session. This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions. This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED. This can't be specified when the permission is DISABLED. The value can be between 1 and 20,971,520 (20 MB)."
157188
}
158189
},
159190
"required" : [ "Action", "Permission" ]
160191
}
161192
},
162193
"createOnlyProperties" : [ "/properties/Name" ],
163-
"primaryIdentifier" : [ "/properties/Id" ],
164-
"readOnlyProperties" : [ "/properties/Id" ]
194+
"primaryIdentifier" : [ "/properties/Name" ],
195+
"readOnlyProperties" : [ "/properties/StorageConnectors/*/ResourceIdentifier" ],
196+
"writeOnlyProperties" : [ "/properties/AttributesToDelete", "/properties/DeleteStorageConnectors" ],
197+
"tagging" : {
198+
"taggable" : true,
199+
"tagOnCreate" : true,
200+
"tagUpdatable" : true,
201+
"cloudFormationSystemTags" : true,
202+
"tagProperty" : "/properties/Tags",
203+
"permissions" : [ "appstream:ListTagsForResource", "appstream:TagResource", "appstream:UntagResource" ]
204+
},
205+
"handlers" : {
206+
"create" : {
207+
"permissions" : [ "appstream:CreateStack", "appstream:TagResource" ]
208+
},
209+
"update" : {
210+
"permissions" : [ "appstream:UpdateStack", "appstream:DescribeStacks", "appstream:ListTagsForResource", "appstream:TagResource", "appstream:UntagResource" ]
211+
},
212+
"read" : {
213+
"permissions" : [ "appstream:DescribeStacks", "appstream:ListTagsForResource" ]
214+
},
215+
"delete" : {
216+
"permissions" : [ "appstream:DeleteStack" ]
217+
},
218+
"list" : {
219+
"permissions" : [ "appstream:DescribeStacks", "appstream:ListTagsForResource" ]
220+
}
221+
}
165222
}

aws-cloudformation-schema/aws-bedrockagentcore-gateway.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
"type" : "string",
202202
"maxLength" : 170,
203203
"minLength" : 1,
204-
"pattern" : "^arn:(aws[a-zA-Z-]*)?:lambda:([a-z]{2}(-gov)?-[a-z]+-\\d{1}):(\\d{12}):function:([a-zA-Z0-9-_.]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?$"
204+
"pattern" : "^arn:[a-z0-9-]{1,20}:lambda:([a-z]{2}(-gov)?-[a-z]+-\\d{1}):(\\d{12}):function:([a-zA-Z0-9-_.]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?$"
205205
}
206206
},
207207
"required" : [ "Arn" ],
@@ -221,7 +221,7 @@
221221
"description" : "The ARN of the policy engine. The policy engine contains Cedar policies that define fine-grained authorization rules specifying who can perform what actions on which resources as agents interact through the gateway.",
222222
"maxLength" : 170,
223223
"minLength" : 1,
224-
"pattern" : "^arn:aws:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:policy-engine/[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9_]{10}$"
224+
"pattern" : "^arn:[a-z0-9-]{1,20}:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:policy-engine/[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9_]{10}$"
225225
},
226226
"Mode" : {
227227
"$ref" : "#/definitions/GatewayPolicyEngineMode"
@@ -335,7 +335,7 @@
335335
},
336336
"GatewayArn" : {
337337
"type" : "string",
338-
"pattern" : "^arn:aws(|-cn|-us-gov):bedrock-agentcore:[a-z0-9-]{1,20}:[0-9]{12}:gateway/([0-9a-z][-]?){1,100}-[a-z0-9]{10}$"
338+
"pattern" : "^arn:[a-z0-9-]{1,20}:bedrock-agentcore:[a-z0-9-]{1,20}:[0-9]{12}:gateway/([0-9a-z][-]?){1,100}-[a-z0-9]{10}$"
339339
},
340340
"GatewayIdentifier" : {
341341
"type" : "string",
@@ -350,7 +350,7 @@
350350
"type" : "string",
351351
"maxLength" : 2048,
352352
"minLength" : 1,
353-
"pattern" : "^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$"
353+
"pattern" : "^arn:[a-z0-9-]{1,20}:kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$"
354354
},
355355
"Name" : {
356356
"type" : "string",
@@ -366,7 +366,7 @@
366366
"type" : "string",
367367
"maxLength" : 2048,
368368
"minLength" : 1,
369-
"pattern" : "^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$"
369+
"pattern" : "^arn:[a-z0-9-]{1,20}:iam::([0-9]{12})?:role/.+$"
370370
},
371371
"Status" : {
372372
"$ref" : "#/definitions/GatewayStatus"

aws-cloudformation-schema/aws-bedrockagentcore-onlineevaluationconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,10 @@
283283
},
284284
"additionalProperties" : false,
285285
"required" : [ "OnlineEvaluationConfigName", "DataSourceConfig", "EvaluationExecutionRoleArn", "Evaluators", "Rule" ],
286-
"readOnlyProperties" : [ "/properties/OnlineEvaluationConfigId", "/properties/OnlineEvaluationConfigArn", "/properties/Status", "/properties/ExecutionStatus", "/properties/OutputConfig", "/properties/CreatedAt", "/properties/UpdatedAt" ],
286+
"readOnlyProperties" : [ "/properties/OnlineEvaluationConfigId", "/properties/OnlineEvaluationConfigArn", "/properties/Status", "/properties/OutputConfig", "/properties/CreatedAt", "/properties/UpdatedAt" ],
287287
"createOnlyProperties" : [ "/properties/OnlineEvaluationConfigName" ],
288288
"primaryIdentifier" : [ "/properties/OnlineEvaluationConfigArn" ],
289+
"additionalIdentifiers" : [ [ "/properties/OnlineEvaluationConfigId" ] ],
289290
"tagging" : {
290291
"taggable" : true,
291292
"tagOnCreate" : true,

aws-cloudformation-schema/aws-bedrockagentcore-policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
"createOnlyProperties" : [ "/properties/PolicyEngineId", "/properties/Name" ],
108108
"writeOnlyProperties" : [ "/properties/ValidationMode" ],
109109
"primaryIdentifier" : [ "/properties/PolicyArn" ],
110+
"additionalIdentifiers" : [ [ "/properties/PolicyEngineId", "/properties/PolicyId" ] ],
110111
"tagging" : {
111112
"taggable" : false
112113
},

0 commit comments

Comments
 (0)