Skip to content

Commit d875099

Browse files
author
AWS
committed
Amazon EMR Containers Update: This feature enables auto-generation of certificate to secure the managed-endpoint and removes the need for customer provided certificate-arn during managed-endpoint setup.
1 parent 5af29f8 commit d875099

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon EMR Containers",
4+
"contributor": "",
5+
"description": "This feature enables auto-generation of certificate to secure the managed-endpoint and removes the need for customer provided certificate-arn during managed-endpoint setup."
6+
}

services/emrcontainers/src/main/resources/codegen-resources/service-2.json

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@
239239
"min":44,
240240
"pattern":"^arn:(aws[a-zA-Z0-9-]*):acm:.+:(\\d{12}):certificate/.+$"
241241
},
242+
"Base64Encoded":{
243+
"type":"string",
244+
"max":5000,
245+
"pattern":"^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$"
246+
},
242247
"CancelJobRunRequest":{
243248
"type":"structure",
244249
"required":[
@@ -273,6 +278,20 @@
273278
}
274279
}
275280
},
281+
"Certificate":{
282+
"type":"structure",
283+
"members":{
284+
"certificateArn":{
285+
"shape":"ACMCertArn",
286+
"documentation":"<p>The ARN of the certificate generated for managed endpoint.</p>"
287+
},
288+
"certificateData":{
289+
"shape":"Base64Encoded",
290+
"documentation":"<p>The base64 encoded PEM certificate data generated for managed endpoint.</p>"
291+
}
292+
},
293+
"documentation":"<p>The entity representing certificate data generated for managed endpoint.</p>"
294+
},
276295
"ClientToken":{
277296
"type":"string",
278297
"max":64,
@@ -383,7 +402,6 @@
383402
"type",
384403
"releaseLabel",
385404
"executionRoleArn",
386-
"certificateArn",
387405
"clientToken"
388406
],
389407
"members":{
@@ -411,7 +429,9 @@
411429
},
412430
"certificateArn":{
413431
"shape":"ACMCertArn",
414-
"documentation":"<p>The certificate ARN of the managed endpoint.</p>"
432+
"documentation":"<p>The certificate ARN provided by users for the managed endpoint. This fiedd is under deprecation and will be removed in future releases.</p>",
433+
"deprecated":true,
434+
"deprecatedMessage":"Customer provided certificate-arn is deprecated and would be removed in future."
415435
},
416436
"configurationOverrides":{
417437
"shape":"ConfigurationOverrides",
@@ -680,7 +700,13 @@
680700
},
681701
"certificateArn":{
682702
"shape":"ACMCertArn",
683-
"documentation":"<p>The certificate ARN of the endpoint.</p>"
703+
"documentation":"<p>The certificate ARN of the endpoint. This field is under deprecation and will be removed in future.</p>",
704+
"deprecated":true,
705+
"deprecatedMessage":"Customer provided certificate-arn is deprecated and would be removed in future."
706+
},
707+
"certificateAuthority":{
708+
"shape":"Certificate",
709+
"documentation":"<p>The certificate generated by emr control plane on customer behalf to secure the managed endpoint.</p>"
684710
},
685711
"configurationOverrides":{
686712
"shape":"ConfigurationOverrides",

0 commit comments

Comments
 (0)