Skip to content

Commit 4546432

Browse files
authored
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 (#2874)
*Automated PR*
2 parents 40194e5 + 89e4488 commit 4546432

File tree

622 files changed

+67381
-3824
lines changed

Some content is hidden

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

622 files changed

+67381
-3824
lines changed

.docs.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2a860a0893537782cdbdfeb99142854eb5b1efa1
1+
caa64ae734a80c59e80f22484b4575a3e9200320

aws-cloudformation-schema/aws-appstream-imagebuilder.json

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,21 @@
5252
"items" : {
5353
"$ref" : "#/definitions/AccessEndpoint"
5454
}
55+
},
56+
"SoftwaresToInstall" : {
57+
"type" : "array",
58+
"items" : {
59+
"type" : "string"
60+
}
61+
},
62+
"SoftwaresToUninstall" : {
63+
"type" : "array",
64+
"items" : {
65+
"type" : "string"
66+
}
67+
},
68+
"RootVolumeConfig" : {
69+
"$ref" : "#/definitions/VolumeConfig"
5570
}
5671
},
5772
"definitions" : {
@@ -112,30 +127,47 @@
112127
}
113128
},
114129
"required" : [ "EndpointType", "VpceId" ]
130+
},
131+
"VolumeConfig" : {
132+
"type" : "object",
133+
"properties" : {
134+
"VolumeSizeInGb" : {
135+
"type" : "integer"
136+
}
137+
},
138+
"additionalProperties" : false
115139
}
116140
},
117141
"required" : [ "InstanceType", "Name" ],
118142
"primaryIdentifier" : [ "/properties/Name" ],
119143
"readOnlyProperties" : [ "/properties/StreamingUrl" ],
144+
"createOnlyProperties" : [ "/properties/Name" ],
145+
"writeOnlyProperties" : [ "/properties/SoftwaresToInstall", "/properties/SoftwaresToUninstall", "/properties/ImageName" ],
146+
"oneOf" : [ {
147+
"required" : [ "ImageName" ]
148+
}, {
149+
"required" : [ "ImageArn" ]
150+
} ],
120151
"tagging" : {
121152
"taggable" : false,
122153
"tagOnCreate" : true,
123154
"tagUpdatable" : false,
124155
"cloudFormationSystemTags" : true,
125-
"tagProperty" : "/properties/Tags"
156+
"tagProperty" : "/properties/Tags",
157+
"permissions" : [ "appstream:ListTagsForResource", "appstream:TagResource", "appstream:UntagResource" ]
126158
},
127159
"handlers" : {
128160
"create" : {
129-
"permissions" : [ "appstream:CreateImageBuilder", "appstream:CreateImageBuilderStreamingURL", "appstream:CreateStreamingURL", "appstream:DeleteImageBuilder", "appstream:DescribeImageBuilders", "appstream:StartImageBuilder", "appstream:StopImageBuilder", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
161+
"permissions" : [ "appstream:CreateImageBuilder", "appstream:CreateImageBuilderStreamingURL", "appstream:CreateStreamingURL", "appstream:DeleteImageBuilder", "appstream:DescribeImageBuilders", "appstream:StartImageBuilder", "appstream:StopImageBuilder", "appstream:TagResource", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus", "iam:PassRole" ]
130162
},
131163
"read" : {
132-
"permissions" : [ "appstream:CreateImageBuilder", "appstream:CreateImageBuilderStreamingURL", "appstream:CreateStreamingURL", "appstream:DeleteImageBuilder", "appstream:DescribeImageBuilders", "appstream:StartImageBuilder", "appstream:StopImageBuilder", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
164+
"permissions" : [ "appstream:CreateImageBuilderStreamingURL", "appstream:DescribeImageBuilders", "appstream:ListTagsForResource", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
133165
},
134166
"delete" : {
135-
"permissions" : [ "appstream:CreateImageBuilder", "appstream:CreateImageBuilderStreamingURL", "appstream:CreateStreamingURL", "appstream:DeleteImageBuilder", "appstream:DescribeImageBuilders", "appstream:StartImageBuilder", "appstream:StopImageBuilder", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
167+
"permissions" : [ "appstream:DeleteImageBuilder", "appstream:DescribeImageBuilders", "appstream:ListTagsForResource", "appstream:StartImageBuilder", "appstream:StopImageBuilder", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
136168
},
137169
"list" : {
138-
"permissions" : [ "appstream:CreateImageBuilder", "appstream:CreateImageBuilderStreamingURL", "appstream:CreateStreamingURL", "appstream:DeleteImageBuilder", "appstream:DescribeImageBuilders", "appstream:StartImageBuilder", "appstream:StopImageBuilder", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
170+
"permissions" : [ "appstream:DescribeImageBuilders", "appstream:ListTagsForResource", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
139171
}
140172
}
141173
}
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
{
2+
"typeName" : "AWS::Batch::QuotaShare",
3+
"description" : "Resource Type definition for AWS::Batch::QuotaShare",
4+
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-batch",
5+
"additionalProperties" : false,
6+
"definitions" : {
7+
"ResourceArn" : {
8+
"type" : "string",
9+
"pattern" : "^arn:aws[a-z\\-]*:batch:[a-z0-9\\-]+:[0-9]{12}:job-queue/[a-zA-Z0-9_\\-]{1,128}/quota-share/[a-zA-Z0-9_\\-]{1,128}$"
10+
},
11+
"QuotaShareCapacityLimit" : {
12+
"type" : "object",
13+
"additionalProperties" : false,
14+
"properties" : {
15+
"MaxCapacity" : {
16+
"type" : "integer",
17+
"description" : "The maximum capacity available for the quota share. This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing",
18+
"minimum" : 1
19+
},
20+
"CapacityUnit" : {
21+
"type" : "string",
22+
"description" : "The unit of compute capacity for the capacityLimit."
23+
}
24+
},
25+
"required" : [ "MaxCapacity", "CapacityUnit" ]
26+
},
27+
"QuotaShareResourceSharingConfiguration" : {
28+
"type" : "object",
29+
"additionalProperties" : false,
30+
"properties" : {
31+
"Strategy" : {
32+
"type" : "string",
33+
"description" : "The resource sharing strategy.",
34+
"enum" : [ "RESERVE", "LEND", "LEND_AND_BORROW" ]
35+
},
36+
"BorrowLimit" : {
37+
"type" : "integer",
38+
"description" : "The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.",
39+
"minimum" : -1
40+
}
41+
},
42+
"required" : [ "Strategy" ]
43+
},
44+
"QuotaSharePreemptionConfiguration" : {
45+
"type" : "object",
46+
"additionalProperties" : false,
47+
"properties" : {
48+
"InSharePreemption" : {
49+
"type" : "string",
50+
"description" : "Whether preemption is enabled within the quota share.",
51+
"enum" : [ "ENABLED", "DISABLED" ]
52+
}
53+
},
54+
"required" : [ "InSharePreemption" ]
55+
}
56+
},
57+
"properties" : {
58+
"QuotaShareName" : {
59+
"type" : "string",
60+
"description" : "The name of the quota share.",
61+
"minLength" : 1,
62+
"maxLength" : 128
63+
},
64+
"QuotaShareArn" : {
65+
"description" : "The Amazon Resource Name (ARN) of the quota share.",
66+
"$ref" : "#/definitions/ResourceArn"
67+
},
68+
"JobQueue" : {
69+
"type" : "string",
70+
"description" : "The Amazon Resource Name (ARN) or name of the job queue."
71+
},
72+
"CapacityLimits" : {
73+
"type" : "array",
74+
"description" : "The capacity limits for the quota share.",
75+
"insertionOrder" : true,
76+
"uniqueItems" : false,
77+
"items" : {
78+
"$ref" : "#/definitions/QuotaShareCapacityLimit"
79+
}
80+
},
81+
"ResourceSharingConfiguration" : {
82+
"description" : "The resource sharing configuration for the quota share.",
83+
"$ref" : "#/definitions/QuotaShareResourceSharingConfiguration"
84+
},
85+
"PreemptionConfiguration" : {
86+
"description" : "The preemption configuration for the quota share.",
87+
"$ref" : "#/definitions/QuotaSharePreemptionConfiguration"
88+
},
89+
"State" : {
90+
"type" : "string",
91+
"description" : "The state of the quota share.",
92+
"enum" : [ "ENABLED", "DISABLED" ]
93+
},
94+
"Tags" : {
95+
"type" : "object",
96+
"description" : "A key-value pair to associate with a resource.",
97+
"patternProperties" : {
98+
".*" : {
99+
"type" : "string"
100+
}
101+
},
102+
"additionalProperties" : false
103+
}
104+
},
105+
"tagging" : {
106+
"taggable" : true,
107+
"tagOnCreate" : true,
108+
"tagUpdatable" : true,
109+
"cloudFormationSystemTags" : true,
110+
"tagProperty" : "/properties/Tags",
111+
"permissions" : [ "Batch:TagResource", "Batch:UntagResource" ]
112+
},
113+
"required" : [ "QuotaShareName", "JobQueue", "CapacityLimits", "ResourceSharingConfiguration", "PreemptionConfiguration" ],
114+
"primaryIdentifier" : [ "/properties/QuotaShareArn" ],
115+
"additionalIdentifiers" : [ [ "/properties/QuotaShareName" ] ],
116+
"createOnlyProperties" : [ "/properties/QuotaShareName", "/properties/JobQueue" ],
117+
"readOnlyProperties" : [ "/properties/QuotaShareArn" ],
118+
"handlers" : {
119+
"create" : {
120+
"permissions" : [ "Batch:CreateQuotaShare", "Batch:TagResource", "Batch:DescribeQuotaShare" ]
121+
},
122+
"read" : {
123+
"permissions" : [ "Batch:DescribeQuotaShare" ]
124+
},
125+
"update" : {
126+
"permissions" : [ "Batch:DescribeQuotaShare", "Batch:UpdateQuotaShare", "Batch:TagResource", "Batch:UntagResource" ]
127+
},
128+
"delete" : {
129+
"permissions" : [ "Batch:UpdateQuotaShare", "Batch:DescribeQuotaShare", "Batch:DeleteQuotaShare" ]
130+
},
131+
"list" : {
132+
"permissions" : [ "Batch:ListQuotaShares" ],
133+
"handlerSchema" : {
134+
"properties" : {
135+
"JobQueue" : {
136+
"$ref" : "resource-schema.json#/properties/JobQueue"
137+
}
138+
}
139+
}
140+
}
141+
}
142+
}

0 commit comments

Comments
 (0)