Skip to content

Commit 9e6efde

Browse files
author
AWS
committed
AWS IoT Update: This release allows AWS IoT Core users to specify a TLS security policy when creating and updating AWS IoT Domain Configurations.
1 parent 38bdd57 commit 9e6efde

File tree

3 files changed

+83
-0
lines changed

3 files changed

+83
-0
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": "AWS IoT",
4+
"contributor": "",
5+
"description": "This release allows AWS IoT Core users to specify a TLS security policy when creating and updating AWS IoT Domain Configurations."
6+
}

services/iot/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,17 @@
468468
"UseDualStack": true
469469
}
470470
},
471+
{
472+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
473+
"expect": {
474+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
475+
},
476+
"params": {
477+
"Region": "us-iso-east-1",
478+
"UseFIPS": true,
479+
"UseDualStack": true
480+
}
481+
},
471482
{
472483
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
473484
"expect": {
@@ -481,6 +492,17 @@
481492
"UseDualStack": false
482493
}
483494
},
495+
{
496+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
497+
"expect": {
498+
"error": "DualStack is enabled but this partition does not support DualStack"
499+
},
500+
"params": {
501+
"Region": "us-iso-east-1",
502+
"UseFIPS": false,
503+
"UseDualStack": true
504+
}
505+
},
484506
{
485507
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
486508
"expect": {
@@ -494,6 +516,17 @@
494516
"UseDualStack": false
495517
}
496518
},
519+
{
520+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
521+
"expect": {
522+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
523+
},
524+
"params": {
525+
"Region": "us-isob-east-1",
526+
"UseFIPS": true,
527+
"UseDualStack": true
528+
}
529+
},
497530
{
498531
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
499532
"expect": {
@@ -507,6 +540,17 @@
507540
"UseDualStack": false
508541
}
509542
},
543+
{
544+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
545+
"expect": {
546+
"error": "DualStack is enabled but this partition does not support DualStack"
547+
},
548+
"params": {
549+
"Region": "us-isob-east-1",
550+
"UseFIPS": false,
551+
"UseDualStack": true
552+
}
553+
},
510554
{
511555
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
512556
"expect": {
@@ -570,6 +614,12 @@
570614
"UseDualStack": true,
571615
"Endpoint": "https://example.com"
572616
}
617+
},
618+
{
619+
"documentation": "Missing region",
620+
"expect": {
621+
"error": "Invalid Configuration: Missing Region"
622+
}
573623
}
574624
],
575625
"version": "1.0"

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6604,6 +6604,10 @@
66046604
"tags":{
66056605
"shape":"TagList",
66066606
"documentation":"<p>Metadata which can be used to manage the domain configuration.</p> <note> <p>For URI Request parameters use format: ...key1=value1&amp;key2=value2...</p> <p>For the CLI command-line parameter use format: &amp;&amp;tags \"key1=value1&amp;key2=value2...\"</p> <p>For the cli-input-json file use format: \"tags\": \"key1=value1&amp;key2=value2...\"</p> </note>"
6607+
},
6608+
"tlsConfig":{
6609+
"shape":"TlsConfig",
6610+
"documentation":"<p>An object that specifies the TLS configuration for a domain.</p>"
66076611
}
66086612
}
66096613
},
@@ -8830,6 +8834,10 @@
88308834
"lastStatusChangeDate":{
88318835
"shape":"DateType",
88328836
"documentation":"<p>The date and time the domain configuration's status was last changed.</p>"
8837+
},
8838+
"tlsConfig":{
8839+
"shape":"TlsConfig",
8840+
"documentation":"<p>An object that specifies the TLS configuration for a domain.</p>"
88338841
}
88348842
}
88358843
},
@@ -16443,6 +16451,11 @@
1644316451
"type":"list",
1644416452
"member":{"shape":"SecurityGroupId"}
1644516453
},
16454+
"SecurityPolicy":{
16455+
"type":"string",
16456+
"max":128,
16457+
"pattern":"[\\s\\S]*"
16458+
},
1644616459
"SecurityProfileArn":{"type":"string"},
1644716460
"SecurityProfileDescription":{
1644816461
"type":"string",
@@ -17953,6 +17966,16 @@
1795317966
"max":10,
1795417967
"min":1
1795517968
},
17969+
"TlsConfig":{
17970+
"type":"structure",
17971+
"members":{
17972+
"securityPolicy":{
17973+
"shape":"SecurityPolicy",
17974+
"documentation":"<p>The security policy for a domain configuration. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/transport-security.html#tls-policy-table\">Security policies </a> in the <i>Amazon Web Services IoT Core developer guide</i>.</p>"
17975+
}
17976+
},
17977+
"documentation":"<p>An object that specifies the TLS configuration for a domain.</p>"
17978+
},
1795617979
"TlsContext":{
1795717980
"type":"structure",
1795817981
"members":{
@@ -18640,6 +18663,10 @@
1864018663
"removeAuthorizerConfig":{
1864118664
"shape":"RemoveAuthorizerConfig",
1864218665
"documentation":"<p>Removes the authorization configuration from a domain.</p>"
18666+
},
18667+
"tlsConfig":{
18668+
"shape":"TlsConfig",
18669+
"documentation":"<p>An object that specifies the TLS configuration for a domain.</p>"
1864318670
}
1864418671
}
1864518672
},

0 commit comments

Comments
 (0)