Skip to content

Commit bf83d6d

Browse files
author
AWS
committed
Amazon Lightsail Update: This release adds support to upgrade the TLS version of the distribution.
1 parent 362517c commit bf83d6d

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-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": "Amazon Lightsail",
4+
"contributor": "",
5+
"description": "This release adds support to upgrade the TLS version of the distribution."
6+
}

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5153,6 +5153,14 @@
51535153
"tags":{
51545154
"shape":"TagList",
51555155
"documentation":"<p>The tag keys and optional values to add to the distribution during create.</p> <p>Use the <code>TagResource</code> action to tag a resource after it's created.</p>"
5156+
},
5157+
"certificateName":{
5158+
"shape":"ResourceName",
5159+
"documentation":"<p>The name of the SSL/TLS certificate that you want to attach to the distribution.</p> <p>Use the <a href=\"https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html\">GetCertificates</a> action to get a list of certificate names that you can specify.</p>"
5160+
},
5161+
"viewerMinimumTlsProtocolVersion":{
5162+
"shape":"ViewerMinimumTlsProtocolVersionEnum",
5163+
"documentation":"<p>The minimum TLS protocol version for the SSL/TLS certificate.</p>"
51565164
}
51575165
}
51585166
},
@@ -8740,6 +8748,10 @@
87408748
"protocolPolicy":{
87418749
"shape":"OriginProtocolPolicyEnum",
87428750
"documentation":"<p>The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.</p>"
8751+
},
8752+
"responseTimeout":{
8753+
"shape":"integer",
8754+
"documentation":"<p>The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.</p>"
87438755
}
87448756
},
87458757
"documentation":"<p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.</p> <p>An origin can be a Lightsail instance, bucket, container service, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.</p>"
@@ -9447,6 +9459,10 @@
94479459
"tags":{
94489460
"shape":"TagList",
94499461
"documentation":"<p>The tag keys and optional values for the resource. For more information about tags in Lightsail, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags\">Amazon Lightsail Developer Guide</a>.</p>"
9462+
},
9463+
"viewerMinimumTlsProtocolVersion":{
9464+
"shape":"string",
9465+
"documentation":"<p>The minimum TLS protocol version that the distribution can use to communicate with viewers.</p>"
94509466
}
94519467
},
94529468
"documentation":"<p>Describes an Amazon Lightsail content delivery network (CDN) distribution.</p>"
@@ -10314,6 +10330,10 @@
1031410330
"protocolPolicy":{
1031510331
"shape":"OriginProtocolPolicyEnum",
1031610332
"documentation":"<p>The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.</p>"
10333+
},
10334+
"responseTimeout":{
10335+
"shape":"integer",
10336+
"documentation":"<p>The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.</p>"
1031710337
}
1031810338
},
1031910339
"documentation":"<p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.</p> <p>An origin can be a Lightsail instance, bucket, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.</p>"
@@ -12183,6 +12203,18 @@
1218312203
"isEnabled":{
1218412204
"shape":"boolean",
1218512205
"documentation":"<p>Indicates whether to enable the distribution.</p>"
12206+
},
12207+
"viewerMinimumTlsProtocolVersion":{
12208+
"shape":"ViewerMinimumTlsProtocolVersionEnum",
12209+
"documentation":"<p>Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.</p>"
12210+
},
12211+
"certificateName":{
12212+
"shape":"ResourceName",
12213+
"documentation":"<p>The name of the SSL/TLS certificate that you want to attach to the distribution.</p> <p>Only certificates with a status of <code>ISSUED</code> can be attached to a distribution.</p> <p>Use the <a href=\"https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html\">GetCertificates</a> action to get a list of certificate names that you can specify.</p>"
12214+
},
12215+
"useDefaultCertificate":{
12216+
"shape":"boolean",
12217+
"documentation":"<p>Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is <code>true</code>. When <code>true</code>, the distribution uses the default domain name such as <code>d111111abcdef8.cloudfront.net</code>.</p> <p> Set this value to <code>false</code> to attach a new certificate to the distribution.</p>"
1218612218
}
1218712219
}
1218812220
},
@@ -12372,6 +12404,15 @@
1237212404
}
1237312405
}
1237412406
},
12407+
"ViewerMinimumTlsProtocolVersionEnum":{
12408+
"type":"string",
12409+
"enum":[
12410+
"TLSv1.1_2016",
12411+
"TLSv1.2_2018",
12412+
"TLSv1.2_2019",
12413+
"TLSv1.2_2021"
12414+
]
12415+
},
1237512416
"boolean":{"type":"boolean"},
1237612417
"double":{"type":"double"},
1237712418
"float":{"type":"float"},

0 commit comments

Comments
 (0)