awscli 1.41.17__py3-none-any.whl → 1.42.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- awscli/__init__.py +1 -1
- awscli/examples/cloudfront/create-distribution-tenant.rst +179 -3
- awscli/examples/cloudfront/create-distribution.rst +625 -235
- awscli/examples/route53domains/get-domain-detail.rst +3 -3
- {awscli-1.41.17.dist-info → awscli-1.42.0.dist-info}/METADATA +2 -2
- {awscli-1.41.17.dist-info → awscli-1.42.0.dist-info}/RECORD +14 -14
- {awscli-1.41.17.data → awscli-1.42.0.data}/scripts/aws +0 -0
- {awscli-1.41.17.data → awscli-1.42.0.data}/scripts/aws.cmd +0 -0
- {awscli-1.41.17.data → awscli-1.42.0.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.41.17.data → awscli-1.42.0.data}/scripts/aws_completer +0 -0
- {awscli-1.41.17.data → awscli-1.42.0.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.41.17.dist-info → awscli-1.42.0.dist-info}/LICENSE.txt +0 -0
- {awscli-1.41.17.dist-info → awscli-1.42.0.dist-info}/WHEEL +0 -0
- {awscli-1.41.17.dist-info → awscli-1.42.0.dist-info}/top_level.txt +0 -0
awscli/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
**To create a CloudFront distribution tenant**
|
1
|
+
**Example 1: To create a CloudFront distribution tenant that uses a custom certificate**
|
2
2
|
|
3
|
-
The following ``create-distribution-tenant`` example creates a CloudFront distribution tenant that specifies customizations to disable WAF, add geo-restrictions, and
|
3
|
+
The following ``create-distribution-tenant`` example creates a CloudFront distribution tenant that specifies customizations to disable WAF, add geo-restrictions, and uses another TLS certificate. ::
|
4
4
|
|
5
5
|
aws cloudfront create-distribution-tenant \
|
6
6
|
--cli-input-json file://tenant.json
|
@@ -96,4 +96,180 @@ Output::
|
|
96
96
|
}
|
97
97
|
}
|
98
98
|
|
99
|
-
|
99
|
+
**Example 2: To create a distribution tenant with an inherited certificate**
|
100
|
+
|
101
|
+
The following ``create-distribution-tenant`` example creates a distribution tenant and specifies an inherited TLS certificate from the multi-tenant distribution. ::
|
102
|
+
|
103
|
+
aws cloudfront create-distribution-tenant \
|
104
|
+
--cli-input-json file://tenant.json
|
105
|
+
|
106
|
+
Contents of ``tenant.json``::
|
107
|
+
|
108
|
+
{
|
109
|
+
"DistributionId": "E1HVIAU7U12ABC",
|
110
|
+
"Domains": [
|
111
|
+
{
|
112
|
+
"Domain": "example.com"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"Parameters": [
|
116
|
+
{
|
117
|
+
"Name": "tenantName",
|
118
|
+
"Value": "first-tenant"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"Enabled": true,
|
122
|
+
"Name": "new-tenant-no-cert"
|
123
|
+
}
|
124
|
+
|
125
|
+
Output::
|
126
|
+
|
127
|
+
{
|
128
|
+
"ETag": "E23ZP02F0ABC",
|
129
|
+
"DistributionTenant": {
|
130
|
+
"Id": "dt_2zhRB0vBe0B72LZCVy1mgzI1AB",
|
131
|
+
"DistributionId": "E1HVIAU7U12ABC",
|
132
|
+
"Name": "new-tenant-no-cert",
|
133
|
+
"Arn": "arn:aws:cloudfront::123456789012:distribution-tenant/dt_2zhRB0vBe0B72LZCVy1mgzI1AB",
|
134
|
+
"Domains": [
|
135
|
+
{
|
136
|
+
"Domain": "example.com",
|
137
|
+
"Status": "active"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"Parameters": [
|
141
|
+
{
|
142
|
+
"Name": "tenantName",
|
143
|
+
"Value": "first-tenant"
|
144
|
+
}
|
145
|
+
],
|
146
|
+
"ConnectionGroupId": "cg_2yQEwpipGFN0hhA0ZemPabOABC",
|
147
|
+
"CreatedTime": "2025-07-10T20:59:38.414000+00:00",
|
148
|
+
"LastModifiedTime": "2025-07-10T20:59:38.414000+00:00",
|
149
|
+
"Enabled": true,
|
150
|
+
"Status": "InProgress"
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
**Example 3: To create a CloudFront distribution tenant using a CloudFront-hosted validation token**
|
155
|
+
|
156
|
+
The following ``create-distribution-tenant`` example creates a distribution tenant and uses a CloudFront-hosted validation token for your domain name. ::
|
157
|
+
|
158
|
+
aws cloudfront create-distribution-tenant \
|
159
|
+
--cli-input-json file://tenant.json
|
160
|
+
|
161
|
+
Contents of ``tenant.json``::
|
162
|
+
|
163
|
+
{
|
164
|
+
"DistributionId": "E2GJ5J9QN12ABC",
|
165
|
+
"Domains": [
|
166
|
+
{
|
167
|
+
"Domain": "example.com"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"Parameters": [
|
171
|
+
{
|
172
|
+
"Name": "tenantName",
|
173
|
+
"Value": "first-tenant"
|
174
|
+
}
|
175
|
+
],
|
176
|
+
"ConnectionGroupId": "cg_2yQEwpipGFN0hhA0ZemPabOABC",
|
177
|
+
"Enabled": true,
|
178
|
+
"Name": "new-tenant-cf-hosted",
|
179
|
+
"ManagedCertificateRequest": {
|
180
|
+
"ValidationTokenHost": "cloudfront"
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
**Important:** To successfully run this command, you must configure a CNAME DNS record that points your new domain (example.com) to the routing endpoint of the connection group that is associated with the distribution tenant. This CNAME record must also be propagated before CloudFront can successfully complete this request.
|
185
|
+
|
186
|
+
Output::
|
187
|
+
|
188
|
+
{
|
189
|
+
"ETag": "E23ZP02F0ABC",
|
190
|
+
"DistributionTenant": {
|
191
|
+
"Id": "dt_2zhStKrA524GvvTWJX92Ozl1AB",
|
192
|
+
"DistributionId": "E2GJ5J9QN12ABC",
|
193
|
+
"Name": "new-tenant-cf-hosted",
|
194
|
+
"Arn": "arn:aws:cloudfront::123456789012:distribution-tenant/dt_2zhStKrA524GvvTWJX92Ozl1AB",
|
195
|
+
"Domains": [
|
196
|
+
{
|
197
|
+
"Domain": "example.com",
|
198
|
+
"Status": "inactive"
|
199
|
+
}
|
200
|
+
],
|
201
|
+
"Parameters": [
|
202
|
+
{
|
203
|
+
"Name": "tenantName",
|
204
|
+
"Value": "first-tenant"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"ConnectionGroupId": "cg_2zhSaGatwwXjTjE42nneZzqABC",
|
208
|
+
"CreatedTime": "2025-07-10T21:13:46.416000+00:00",
|
209
|
+
"LastModifiedTime": "2025-07-10T21:13:46.416000+00:00",
|
210
|
+
"Enabled": true,
|
211
|
+
"Status": "InProgress"
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
**Example 4: To create a CloudFront distribution tenant using a self-hosted validation token**
|
216
|
+
|
217
|
+
The following ``create-distribution-tenant`` example creates a CloudFront distribution tenant and uses a self-hosted validation token. ::
|
218
|
+
|
219
|
+
aws cloudfront create-distribution-tenant \
|
220
|
+
--cli-input-json file://tenant.json
|
221
|
+
|
222
|
+
Contents of ``tenant.json``::
|
223
|
+
|
224
|
+
{
|
225
|
+
"DistributionId": "E2GJ5J9QN12ABC",
|
226
|
+
"Domains": [
|
227
|
+
{
|
228
|
+
"Domain": "example.com"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"Parameters": [
|
232
|
+
{
|
233
|
+
"Name": "tenantName",
|
234
|
+
"Value": "first-tenant"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"Enabled": true,
|
238
|
+
"Name": "new-tenant-self-hosted",
|
239
|
+
"ManagedCertificateRequest": {
|
240
|
+
"ValidationTokenHost": "self-hosted"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
Output::
|
245
|
+
|
246
|
+
{
|
247
|
+
"ETag": "E23ZP02F0ABC",
|
248
|
+
"DistributionTenant": {
|
249
|
+
"Id": "dt_2zhTFBV93OfFJJ3YMdNM5BC1AB",
|
250
|
+
"DistributionId": "E2GJ5J9QN12ABC",
|
251
|
+
"Name": "new-tenant-self-hosted",
|
252
|
+
"Arn": "arn:aws:cloudfront::123456789012:distribution-tenant/dt_2zhTFBV93OfFJJ3YMdNM5BC1AB",
|
253
|
+
"Domains": [
|
254
|
+
{
|
255
|
+
"Domain": "example.com",
|
256
|
+
"Status": "inactive"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"Parameters": [
|
260
|
+
{
|
261
|
+
"Name": "tenantName",
|
262
|
+
"Value": "first-tenant"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
"ConnectionGroupId": "cg_2yQEwpipGFN0hhA0ZemPabOABC",
|
266
|
+
"CreatedTime": "2025-07-10T21:16:39.828000+00:00",
|
267
|
+
"LastModifiedTime": "2025-07-10T21:16:39.828000+00:00",
|
268
|
+
"Enabled": true,
|
269
|
+
"Status": "InProgress"
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
**Important:** After you run this command, the distribution tenant will be created without validation. To validate the managed certificate request and configure the DNS when you're ready to start receiving traffic, see `Complete domain setup <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managed-cloudfront-certificates.html#complete-domain-ownership>`__ in the *Amazon CloudFront Developer Guide*.
|
274
|
+
|
275
|
+
For more information about creating distribution tenants, see `Create a distribution <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html>`__ in the *Amazon CloudFront Developer Guide*.
|
@@ -1,235 +1,625 @@
|
|
1
|
-
**Example 1: To create a CloudFront distribution**
|
2
|
-
|
3
|
-
The following example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using command line arguments. ::
|
4
|
-
|
5
|
-
aws cloudfront create-distribution \
|
6
|
-
--origin-domain-name amzn-s3-demo-bucket.s3.amazonaws.com \
|
7
|
-
--default-root-object index.html
|
8
|
-
|
9
|
-
Output::
|
10
|
-
|
11
|
-
{
|
12
|
-
"Location": "https://cloudfront.amazonaws.com/2019-03-26/distribution/EMLARXS9EXAMPLE",
|
13
|
-
"ETag": "E9LHASXEXAMPLE",
|
14
|
-
"Distribution": {
|
15
|
-
"Id": "EMLARXS9EXAMPLE",
|
16
|
-
"ARN": "arn:aws:cloudfront::123456789012:distribution/EMLARXS9EXAMPLE",
|
17
|
-
"Status": "InProgress",
|
18
|
-
"LastModifiedTime": "2019-11-22T00:55:15.705Z",
|
19
|
-
"InProgressInvalidationBatches": 0,
|
20
|
-
"DomainName": "d111111abcdef8.cloudfront.net",
|
21
|
-
"ActiveTrustedSigners": {
|
22
|
-
"Enabled": false,
|
23
|
-
"Quantity": 0
|
24
|
-
},
|
25
|
-
"DistributionConfig": {
|
26
|
-
"CallerReference": "cli-example",
|
27
|
-
"Aliases": {
|
28
|
-
"Quantity": 0
|
29
|
-
},
|
30
|
-
"DefaultRootObject": "index.html",
|
31
|
-
"Origins": {
|
32
|
-
"Quantity": 1,
|
33
|
-
"Items": [
|
34
|
-
{
|
35
|
-
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
36
|
-
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
37
|
-
"OriginPath": "",
|
38
|
-
"CustomHeaders": {
|
39
|
-
"Quantity": 0
|
40
|
-
},
|
41
|
-
"S3OriginConfig": {
|
42
|
-
"OriginAccessIdentity": ""
|
43
|
-
}
|
44
|
-
}
|
45
|
-
]
|
46
|
-
},
|
47
|
-
"OriginGroups": {
|
48
|
-
"Quantity": 0
|
49
|
-
},
|
50
|
-
"DefaultCacheBehavior": {
|
51
|
-
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
52
|
-
"ForwardedValues": {
|
53
|
-
"QueryString": false,
|
54
|
-
"Cookies": {
|
55
|
-
"Forward": "none"
|
56
|
-
},
|
57
|
-
"Headers": {
|
58
|
-
"Quantity": 0
|
59
|
-
},
|
60
|
-
"QueryStringCacheKeys": {
|
61
|
-
"Quantity": 0
|
62
|
-
}
|
63
|
-
},
|
64
|
-
"TrustedSigners": {
|
65
|
-
"Enabled": false,
|
66
|
-
"Quantity": 0
|
67
|
-
},
|
68
|
-
"ViewerProtocolPolicy": "allow-all",
|
69
|
-
"MinTTL": 0,
|
70
|
-
"AllowedMethods": {
|
71
|
-
"Quantity": 2,
|
72
|
-
"Items": [
|
73
|
-
"HEAD",
|
74
|
-
"GET"
|
75
|
-
],
|
76
|
-
"CachedMethods": {
|
77
|
-
"Quantity": 2,
|
78
|
-
"Items": [
|
79
|
-
"HEAD",
|
80
|
-
"GET"
|
81
|
-
]
|
82
|
-
}
|
83
|
-
},
|
84
|
-
"SmoothStreaming": false,
|
85
|
-
"DefaultTTL": 86400,
|
86
|
-
"MaxTTL": 31536000,
|
87
|
-
"Compress": false,
|
88
|
-
"LambdaFunctionAssociations": {
|
89
|
-
"Quantity": 0
|
90
|
-
},
|
91
|
-
"FieldLevelEncryptionId": ""
|
92
|
-
},
|
93
|
-
"CacheBehaviors": {
|
94
|
-
"Quantity": 0
|
95
|
-
},
|
96
|
-
"CustomErrorResponses": {
|
97
|
-
"Quantity": 0
|
98
|
-
},
|
99
|
-
"Comment": "",
|
100
|
-
"Logging": {
|
101
|
-
"Enabled": false,
|
102
|
-
"IncludeCookies": false,
|
103
|
-
"Bucket": "",
|
104
|
-
"Prefix": ""
|
105
|
-
},
|
106
|
-
"PriceClass": "PriceClass_All",
|
107
|
-
"Enabled": true,
|
108
|
-
"ViewerCertificate": {
|
109
|
-
"CloudFrontDefaultCertificate": true,
|
110
|
-
"MinimumProtocolVersion": "TLSv1",
|
111
|
-
"CertificateSource": "cloudfront"
|
112
|
-
},
|
113
|
-
"Restrictions": {
|
114
|
-
"GeoRestriction": {
|
115
|
-
"RestrictionType": "none",
|
116
|
-
"Quantity": 0
|
117
|
-
}
|
118
|
-
},
|
119
|
-
"WebACLId": "",
|
120
|
-
"HttpVersion": "http2",
|
121
|
-
"IsIPV6Enabled": true
|
122
|
-
}
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
|
-
**Example 2: To create a CloudFront distribution using a JSON file**
|
127
|
-
|
128
|
-
The following example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using a JSON file. ::
|
129
|
-
|
130
|
-
aws cloudfront create-distribution \
|
131
|
-
--distribution-config file://dist-config.json
|
132
|
-
|
133
|
-
|
134
|
-
Contents of ``dist-config.json``::
|
135
|
-
|
136
|
-
{
|
137
|
-
"CallerReference": "cli-example",
|
138
|
-
"Aliases": {
|
139
|
-
"Quantity": 0
|
140
|
-
},
|
141
|
-
"DefaultRootObject": "index.html",
|
142
|
-
"Origins": {
|
143
|
-
"Quantity": 1,
|
144
|
-
"Items": [
|
145
|
-
{
|
146
|
-
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
147
|
-
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
148
|
-
"OriginPath": "",
|
149
|
-
"CustomHeaders": {
|
150
|
-
"Quantity": 0
|
151
|
-
},
|
152
|
-
"S3OriginConfig": {
|
153
|
-
"OriginAccessIdentity": ""
|
154
|
-
}
|
155
|
-
}
|
156
|
-
]
|
157
|
-
},
|
158
|
-
"OriginGroups": {
|
159
|
-
"Quantity": 0
|
160
|
-
},
|
161
|
-
"DefaultCacheBehavior": {
|
162
|
-
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
163
|
-
"ForwardedValues": {
|
164
|
-
"QueryString": false,
|
165
|
-
"Cookies": {
|
166
|
-
"Forward": "none"
|
167
|
-
},
|
168
|
-
"Headers": {
|
169
|
-
"Quantity": 0
|
170
|
-
},
|
171
|
-
"QueryStringCacheKeys": {
|
172
|
-
"Quantity": 0
|
173
|
-
}
|
174
|
-
},
|
175
|
-
"TrustedSigners": {
|
176
|
-
"Enabled": false,
|
177
|
-
"Quantity": 0
|
178
|
-
},
|
179
|
-
"ViewerProtocolPolicy": "allow-all",
|
180
|
-
"MinTTL": 0,
|
181
|
-
"AllowedMethods": {
|
182
|
-
"Quantity": 2,
|
183
|
-
"Items": [
|
184
|
-
"HEAD",
|
185
|
-
"GET"
|
186
|
-
],
|
187
|
-
"CachedMethods": {
|
188
|
-
"Quantity": 2,
|
189
|
-
"Items": [
|
190
|
-
"HEAD",
|
191
|
-
"GET"
|
192
|
-
]
|
193
|
-
}
|
194
|
-
},
|
195
|
-
"SmoothStreaming": false,
|
196
|
-
"DefaultTTL": 86400,
|
197
|
-
"MaxTTL": 31536000,
|
198
|
-
"Compress": false,
|
199
|
-
"LambdaFunctionAssociations": {
|
200
|
-
"Quantity": 0
|
201
|
-
},
|
202
|
-
"FieldLevelEncryptionId": ""
|
203
|
-
},
|
204
|
-
"CacheBehaviors": {
|
205
|
-
"Quantity": 0
|
206
|
-
},
|
207
|
-
"CustomErrorResponses": {
|
208
|
-
"Quantity": 0
|
209
|
-
},
|
210
|
-
"Comment": "",
|
211
|
-
"Logging": {
|
212
|
-
"Enabled": false,
|
213
|
-
"IncludeCookies": false,
|
214
|
-
"Bucket": "",
|
215
|
-
"Prefix": ""
|
216
|
-
},
|
217
|
-
"PriceClass": "PriceClass_All",
|
218
|
-
"Enabled": true,
|
219
|
-
"ViewerCertificate": {
|
220
|
-
"CloudFrontDefaultCertificate": true,
|
221
|
-
"MinimumProtocolVersion": "TLSv1",
|
222
|
-
"CertificateSource": "cloudfront"
|
223
|
-
},
|
224
|
-
"Restrictions": {
|
225
|
-
"GeoRestriction": {
|
226
|
-
"RestrictionType": "none",
|
227
|
-
"Quantity": 0
|
228
|
-
}
|
229
|
-
},
|
230
|
-
"WebACLId": "",
|
231
|
-
"HttpVersion": "http2",
|
232
|
-
"IsIPV6Enabled": true
|
233
|
-
}
|
234
|
-
|
235
|
-
See Example 1 for sample output.
|
1
|
+
**Example 1: To create a CloudFront distribution**
|
2
|
+
|
3
|
+
The following ``create-distribution`` example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using command line arguments. ::
|
4
|
+
|
5
|
+
aws cloudfront create-distribution \
|
6
|
+
--origin-domain-name amzn-s3-demo-bucket.s3.amazonaws.com \
|
7
|
+
--default-root-object index.html
|
8
|
+
|
9
|
+
Output::
|
10
|
+
|
11
|
+
{
|
12
|
+
"Location": "https://cloudfront.amazonaws.com/2019-03-26/distribution/EMLARXS9EXAMPLE",
|
13
|
+
"ETag": "E9LHASXEXAMPLE",
|
14
|
+
"Distribution": {
|
15
|
+
"Id": "EMLARXS9EXAMPLE",
|
16
|
+
"ARN": "arn:aws:cloudfront::123456789012:distribution/EMLARXS9EXAMPLE",
|
17
|
+
"Status": "InProgress",
|
18
|
+
"LastModifiedTime": "2019-11-22T00:55:15.705Z",
|
19
|
+
"InProgressInvalidationBatches": 0,
|
20
|
+
"DomainName": "d111111abcdef8.cloudfront.net",
|
21
|
+
"ActiveTrustedSigners": {
|
22
|
+
"Enabled": false,
|
23
|
+
"Quantity": 0
|
24
|
+
},
|
25
|
+
"DistributionConfig": {
|
26
|
+
"CallerReference": "cli-example",
|
27
|
+
"Aliases": {
|
28
|
+
"Quantity": 0
|
29
|
+
},
|
30
|
+
"DefaultRootObject": "index.html",
|
31
|
+
"Origins": {
|
32
|
+
"Quantity": 1,
|
33
|
+
"Items": [
|
34
|
+
{
|
35
|
+
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
36
|
+
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
37
|
+
"OriginPath": "",
|
38
|
+
"CustomHeaders": {
|
39
|
+
"Quantity": 0
|
40
|
+
},
|
41
|
+
"S3OriginConfig": {
|
42
|
+
"OriginAccessIdentity": ""
|
43
|
+
}
|
44
|
+
}
|
45
|
+
]
|
46
|
+
},
|
47
|
+
"OriginGroups": {
|
48
|
+
"Quantity": 0
|
49
|
+
},
|
50
|
+
"DefaultCacheBehavior": {
|
51
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
52
|
+
"ForwardedValues": {
|
53
|
+
"QueryString": false,
|
54
|
+
"Cookies": {
|
55
|
+
"Forward": "none"
|
56
|
+
},
|
57
|
+
"Headers": {
|
58
|
+
"Quantity": 0
|
59
|
+
},
|
60
|
+
"QueryStringCacheKeys": {
|
61
|
+
"Quantity": 0
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"TrustedSigners": {
|
65
|
+
"Enabled": false,
|
66
|
+
"Quantity": 0
|
67
|
+
},
|
68
|
+
"ViewerProtocolPolicy": "allow-all",
|
69
|
+
"MinTTL": 0,
|
70
|
+
"AllowedMethods": {
|
71
|
+
"Quantity": 2,
|
72
|
+
"Items": [
|
73
|
+
"HEAD",
|
74
|
+
"GET"
|
75
|
+
],
|
76
|
+
"CachedMethods": {
|
77
|
+
"Quantity": 2,
|
78
|
+
"Items": [
|
79
|
+
"HEAD",
|
80
|
+
"GET"
|
81
|
+
]
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"SmoothStreaming": false,
|
85
|
+
"DefaultTTL": 86400,
|
86
|
+
"MaxTTL": 31536000,
|
87
|
+
"Compress": false,
|
88
|
+
"LambdaFunctionAssociations": {
|
89
|
+
"Quantity": 0
|
90
|
+
},
|
91
|
+
"FieldLevelEncryptionId": ""
|
92
|
+
},
|
93
|
+
"CacheBehaviors": {
|
94
|
+
"Quantity": 0
|
95
|
+
},
|
96
|
+
"CustomErrorResponses": {
|
97
|
+
"Quantity": 0
|
98
|
+
},
|
99
|
+
"Comment": "",
|
100
|
+
"Logging": {
|
101
|
+
"Enabled": false,
|
102
|
+
"IncludeCookies": false,
|
103
|
+
"Bucket": "",
|
104
|
+
"Prefix": ""
|
105
|
+
},
|
106
|
+
"PriceClass": "PriceClass_All",
|
107
|
+
"Enabled": true,
|
108
|
+
"ViewerCertificate": {
|
109
|
+
"CloudFrontDefaultCertificate": true,
|
110
|
+
"MinimumProtocolVersion": "TLSv1",
|
111
|
+
"CertificateSource": "cloudfront"
|
112
|
+
},
|
113
|
+
"Restrictions": {
|
114
|
+
"GeoRestriction": {
|
115
|
+
"RestrictionType": "none",
|
116
|
+
"Quantity": 0
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"WebACLId": "",
|
120
|
+
"HttpVersion": "http2",
|
121
|
+
"IsIPV6Enabled": true
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
**Example 2: To create a CloudFront distribution using a JSON file**
|
127
|
+
|
128
|
+
The following ``create-distribution`` example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using a JSON file. ::
|
129
|
+
|
130
|
+
aws cloudfront create-distribution \
|
131
|
+
--distribution-config file://dist-config.json
|
132
|
+
|
133
|
+
|
134
|
+
Contents of ``dist-config.json``::
|
135
|
+
|
136
|
+
{
|
137
|
+
"CallerReference": "cli-example",
|
138
|
+
"Aliases": {
|
139
|
+
"Quantity": 0
|
140
|
+
},
|
141
|
+
"DefaultRootObject": "index.html",
|
142
|
+
"Origins": {
|
143
|
+
"Quantity": 1,
|
144
|
+
"Items": [
|
145
|
+
{
|
146
|
+
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
147
|
+
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
148
|
+
"OriginPath": "",
|
149
|
+
"CustomHeaders": {
|
150
|
+
"Quantity": 0
|
151
|
+
},
|
152
|
+
"S3OriginConfig": {
|
153
|
+
"OriginAccessIdentity": ""
|
154
|
+
}
|
155
|
+
}
|
156
|
+
]
|
157
|
+
},
|
158
|
+
"OriginGroups": {
|
159
|
+
"Quantity": 0
|
160
|
+
},
|
161
|
+
"DefaultCacheBehavior": {
|
162
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
163
|
+
"ForwardedValues": {
|
164
|
+
"QueryString": false,
|
165
|
+
"Cookies": {
|
166
|
+
"Forward": "none"
|
167
|
+
},
|
168
|
+
"Headers": {
|
169
|
+
"Quantity": 0
|
170
|
+
},
|
171
|
+
"QueryStringCacheKeys": {
|
172
|
+
"Quantity": 0
|
173
|
+
}
|
174
|
+
},
|
175
|
+
"TrustedSigners": {
|
176
|
+
"Enabled": false,
|
177
|
+
"Quantity": 0
|
178
|
+
},
|
179
|
+
"ViewerProtocolPolicy": "allow-all",
|
180
|
+
"MinTTL": 0,
|
181
|
+
"AllowedMethods": {
|
182
|
+
"Quantity": 2,
|
183
|
+
"Items": [
|
184
|
+
"HEAD",
|
185
|
+
"GET"
|
186
|
+
],
|
187
|
+
"CachedMethods": {
|
188
|
+
"Quantity": 2,
|
189
|
+
"Items": [
|
190
|
+
"HEAD",
|
191
|
+
"GET"
|
192
|
+
]
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"SmoothStreaming": false,
|
196
|
+
"DefaultTTL": 86400,
|
197
|
+
"MaxTTL": 31536000,
|
198
|
+
"Compress": false,
|
199
|
+
"LambdaFunctionAssociations": {
|
200
|
+
"Quantity": 0
|
201
|
+
},
|
202
|
+
"FieldLevelEncryptionId": ""
|
203
|
+
},
|
204
|
+
"CacheBehaviors": {
|
205
|
+
"Quantity": 0
|
206
|
+
},
|
207
|
+
"CustomErrorResponses": {
|
208
|
+
"Quantity": 0
|
209
|
+
},
|
210
|
+
"Comment": "",
|
211
|
+
"Logging": {
|
212
|
+
"Enabled": false,
|
213
|
+
"IncludeCookies": false,
|
214
|
+
"Bucket": "",
|
215
|
+
"Prefix": ""
|
216
|
+
},
|
217
|
+
"PriceClass": "PriceClass_All",
|
218
|
+
"Enabled": true,
|
219
|
+
"ViewerCertificate": {
|
220
|
+
"CloudFrontDefaultCertificate": true,
|
221
|
+
"MinimumProtocolVersion": "TLSv1",
|
222
|
+
"CertificateSource": "cloudfront"
|
223
|
+
},
|
224
|
+
"Restrictions": {
|
225
|
+
"GeoRestriction": {
|
226
|
+
"RestrictionType": "none",
|
227
|
+
"Quantity": 0
|
228
|
+
}
|
229
|
+
},
|
230
|
+
"WebACLId": "",
|
231
|
+
"HttpVersion": "http2",
|
232
|
+
"IsIPV6Enabled": true
|
233
|
+
}
|
234
|
+
|
235
|
+
See Example 1 for sample output.
|
236
|
+
|
237
|
+
**Example 3: To create a CloudFront multi-tenant distribution with a certificate**
|
238
|
+
|
239
|
+
The following ``create-distribution`` example creates a CloudFront distribution with multi-tenant support and a specifies a TLS certificate. ::
|
240
|
+
|
241
|
+
aws cloudfront create-distribution \
|
242
|
+
--distribution-config file://dist-config.json
|
243
|
+
|
244
|
+
Contents of ``dist-config.json``::
|
245
|
+
|
246
|
+
{
|
247
|
+
"CallerReference": "cli-example-with-cert",
|
248
|
+
"Comment": "CLI example distribution",
|
249
|
+
"DefaultRootObject": "index.html",
|
250
|
+
"Origins": {
|
251
|
+
"Quantity": 1,
|
252
|
+
"Items": [
|
253
|
+
{
|
254
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
255
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
256
|
+
"OriginPath": "/{{tenantName}}",
|
257
|
+
"CustomHeaders": {
|
258
|
+
"Quantity": 0
|
259
|
+
},
|
260
|
+
"S3OriginConfig": {
|
261
|
+
"OriginAccessIdentity": ""
|
262
|
+
}
|
263
|
+
}
|
264
|
+
]
|
265
|
+
},
|
266
|
+
"DefaultCacheBehavior": {
|
267
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
268
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
269
|
+
"ViewerProtocolPolicy": "allow-all",
|
270
|
+
"AllowedMethods": {
|
271
|
+
"Quantity": 2,
|
272
|
+
"Items": ["HEAD", "GET"],
|
273
|
+
"CachedMethods": {
|
274
|
+
"Quantity": 2,
|
275
|
+
"Items": ["HEAD", "GET"]
|
276
|
+
}
|
277
|
+
}
|
278
|
+
},
|
279
|
+
"Enabled": true,
|
280
|
+
"ViewerCertificate": {
|
281
|
+
"ACMCertificateArn": "arn:aws:acm:us-east-1:123456789012:certificate/191306a1-db01-49ca-90ef-fc414ee5dabc",
|
282
|
+
"SSLSupportMethod": "sni-only"
|
283
|
+
},
|
284
|
+
"HttpVersion": "http2",
|
285
|
+
"ConnectionMode": "tenant-only",
|
286
|
+
"TenantConfig": {
|
287
|
+
"ParameterDefinitions": [
|
288
|
+
{
|
289
|
+
"Name": "tenantName",
|
290
|
+
"Definition": {
|
291
|
+
"StringSchema": {
|
292
|
+
"Comment": "tenantName parameter",
|
293
|
+
"DefaultValue": "root",
|
294
|
+
"Required": false
|
295
|
+
}
|
296
|
+
}
|
297
|
+
}
|
298
|
+
]
|
299
|
+
}
|
300
|
+
}
|
301
|
+
|
302
|
+
Output::
|
303
|
+
|
304
|
+
{
|
305
|
+
"Location": "https://cloudfront.amazonaws.com/2020-05-31/distribution/E1HVIAU7UABC",
|
306
|
+
"ETag": "E20LT7R1BABC",
|
307
|
+
"Distribution": {
|
308
|
+
"Id": "E1HVIAU7U12ABC",
|
309
|
+
"ARN": "arn:aws:cloudfront::123456789012:distribution/E1HVIAU7U12ABC",
|
310
|
+
"Status": "InProgress",
|
311
|
+
"LastModifiedTime": "2025-07-10T20:33:31.117000+00:00",
|
312
|
+
"InProgressInvalidationBatches": 0,
|
313
|
+
"DomainName": "example.com",
|
314
|
+
"ActiveTrustedSigners": {
|
315
|
+
"Enabled": false,
|
316
|
+
"Quantity": 0
|
317
|
+
},
|
318
|
+
"ActiveTrustedKeyGroups": {
|
319
|
+
"Enabled": false,
|
320
|
+
"Quantity": 0
|
321
|
+
},
|
322
|
+
"DistributionConfig": {
|
323
|
+
"CallerReference": "cli-example-with-cert",
|
324
|
+
"DefaultRootObject": "index.html",
|
325
|
+
"Origins": {
|
326
|
+
"Quantity": 1,
|
327
|
+
"Items": [
|
328
|
+
{
|
329
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
330
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
331
|
+
"OriginPath": "/{{tenantName}}",
|
332
|
+
"CustomHeaders": {
|
333
|
+
"Quantity": 0
|
334
|
+
},
|
335
|
+
"S3OriginConfig": {
|
336
|
+
"OriginAccessIdentity": ""
|
337
|
+
},
|
338
|
+
"ConnectionAttempts": 3,
|
339
|
+
"ConnectionTimeout": 10,
|
340
|
+
"OriginShield": {
|
341
|
+
"Enabled": false
|
342
|
+
},
|
343
|
+
"OriginAccessControlId": ""
|
344
|
+
}
|
345
|
+
]
|
346
|
+
},
|
347
|
+
"OriginGroups": {
|
348
|
+
"Quantity": 0
|
349
|
+
},
|
350
|
+
"DefaultCacheBehavior": {
|
351
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
352
|
+
"TrustedKeyGroups": {
|
353
|
+
"Enabled": false,
|
354
|
+
"Quantity": 0
|
355
|
+
},
|
356
|
+
"ViewerProtocolPolicy": "allow-all",
|
357
|
+
"AllowedMethods": {
|
358
|
+
"Quantity": 2,
|
359
|
+
"Items": ["HEAD", "GET"],
|
360
|
+
"CachedMethods": {
|
361
|
+
"Quantity": 2,
|
362
|
+
"Items": ["HEAD", "GET"]
|
363
|
+
}
|
364
|
+
},
|
365
|
+
"Compress": false,
|
366
|
+
"LambdaFunctionAssociations": {
|
367
|
+
"Quantity": 0
|
368
|
+
},
|
369
|
+
"FunctionAssociations": {
|
370
|
+
"Quantity": 0
|
371
|
+
},
|
372
|
+
"FieldLevelEncryptionId": "",
|
373
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
374
|
+
"GrpcConfig": {
|
375
|
+
"Enabled": false
|
376
|
+
}
|
377
|
+
},
|
378
|
+
"CacheBehaviors": {
|
379
|
+
"Quantity": 0
|
380
|
+
},
|
381
|
+
"CustomErrorResponses": {
|
382
|
+
"Quantity": 0
|
383
|
+
},
|
384
|
+
"Comment": "CLI example distribution",
|
385
|
+
"Logging": {
|
386
|
+
"Enabled": false,
|
387
|
+
"IncludeCookies": false,
|
388
|
+
"Bucket": "",
|
389
|
+
"Prefix": ""
|
390
|
+
},
|
391
|
+
"Enabled": true,
|
392
|
+
"ViewerCertificate": {
|
393
|
+
"CloudFrontDefaultCertificate": false,
|
394
|
+
"ACMCertificateArn": "arn:aws:acm:us-east-1:123456789012:certificate/1954f095-11b6-4daf-9952-0c308a00abc",
|
395
|
+
"SSLSupportMethod": "sni-only",
|
396
|
+
"MinimumProtocolVersion": "TLSv1.2_2021",
|
397
|
+
"Certificate": "arn:aws:acm:us-east-1:123456789012:certificate/1954f095-11b6-4daf-9952-0c308a00abc",
|
398
|
+
"CertificateSource": "acm"
|
399
|
+
},
|
400
|
+
"Restrictions": {
|
401
|
+
"GeoRestriction": {
|
402
|
+
"RestrictionType": "none",
|
403
|
+
"Quantity": 0
|
404
|
+
}
|
405
|
+
},
|
406
|
+
"WebACLId": "",
|
407
|
+
"HttpVersion": "http2",
|
408
|
+
"TenantConfig": {
|
409
|
+
"ParameterDefinitions": [
|
410
|
+
{
|
411
|
+
"Name": "tenantName",
|
412
|
+
"Definition": {
|
413
|
+
"StringSchema": {
|
414
|
+
"Comment": "tenantName parameter",
|
415
|
+
"DefaultValue": "root",
|
416
|
+
"Required": false
|
417
|
+
}
|
418
|
+
}
|
419
|
+
}
|
420
|
+
]
|
421
|
+
},
|
422
|
+
"ConnectionMode": "tenant-only"
|
423
|
+
}
|
424
|
+
}
|
425
|
+
}
|
426
|
+
|
427
|
+
For more information, see `Working with distributions <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-working-with.html>`__ in the *Amazon CloudFront Developer Guide*.
|
428
|
+
|
429
|
+
**Example 4: To create a CloudFront multi-tenant distribution without a certificate**
|
430
|
+
|
431
|
+
The following ``create-distribution`` example creates a CloudFront distribution with multi-tenant support but without a TLS certificate. ::
|
432
|
+
|
433
|
+
aws cloudfront create-distribution \
|
434
|
+
--distribution-config file://dist-config.json
|
435
|
+
|
436
|
+
Contents of ``dist-config.json``::
|
437
|
+
|
438
|
+
{
|
439
|
+
"CallerReference": "cli-example",
|
440
|
+
"Comment": "CLI example distribution",
|
441
|
+
"DefaultRootObject": "index.html",
|
442
|
+
"Origins": {
|
443
|
+
"Quantity": 1,
|
444
|
+
"Items": [
|
445
|
+
{
|
446
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
447
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
448
|
+
"OriginPath": "/{{tenantName}}",
|
449
|
+
"CustomHeaders": {
|
450
|
+
"Quantity": 0
|
451
|
+
},
|
452
|
+
"S3OriginConfig": {
|
453
|
+
"OriginAccessIdentity": ""
|
454
|
+
}
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
"DefaultCacheBehavior": {
|
459
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
460
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
461
|
+
"ViewerProtocolPolicy": "allow-all",
|
462
|
+
"AllowedMethods": {
|
463
|
+
"Quantity": 2,
|
464
|
+
"Items": [
|
465
|
+
"HEAD",
|
466
|
+
"GET"
|
467
|
+
],
|
468
|
+
"CachedMethods": {
|
469
|
+
"Quantity": 2,
|
470
|
+
"Items": [
|
471
|
+
"HEAD",
|
472
|
+
"GET"
|
473
|
+
]
|
474
|
+
}
|
475
|
+
}
|
476
|
+
},
|
477
|
+
"Enabled": true,
|
478
|
+
"HttpVersion": "http2",
|
479
|
+
"ConnectionMode": "tenant-only",
|
480
|
+
"TenantConfig": {
|
481
|
+
"ParameterDefinitions": [
|
482
|
+
{
|
483
|
+
"Name": "tenantName",
|
484
|
+
"Definition": {
|
485
|
+
"StringSchema": {
|
486
|
+
"Comment": "tenantName parameter",
|
487
|
+
"DefaultValue": "root",
|
488
|
+
"Required": false
|
489
|
+
}
|
490
|
+
}
|
491
|
+
}
|
492
|
+
]
|
493
|
+
}
|
494
|
+
}
|
495
|
+
|
496
|
+
Output::
|
497
|
+
|
498
|
+
{
|
499
|
+
"Location": "https://cloudfront.amazonaws.com/2020-05-31/distribution/E2GJ5J9QN12ABC",
|
500
|
+
"ETag": "E37YLVVQIABC",
|
501
|
+
"Distribution": {
|
502
|
+
"Id": "E2GJ5J9QNABC",
|
503
|
+
"ARN": "arn:aws:cloudfront::123456789012:distribution/E2GJ5J9QN12ABC",
|
504
|
+
"Status": "InProgress",
|
505
|
+
"LastModifiedTime": "2025-07-10T20:35:20.565000+00:00",
|
506
|
+
"InProgressInvalidationBatches": 0,
|
507
|
+
"DomainName": "example.com",
|
508
|
+
"ActiveTrustedSigners": {
|
509
|
+
"Enabled": false,
|
510
|
+
"Quantity": 0
|
511
|
+
},
|
512
|
+
"ActiveTrustedKeyGroups": {
|
513
|
+
"Enabled": false,
|
514
|
+
"Quantity": 0
|
515
|
+
},
|
516
|
+
"DistributionConfig": {
|
517
|
+
"CallerReference": "cli-example-no-cert",
|
518
|
+
"DefaultRootObject": "index.html",
|
519
|
+
"Origins": {
|
520
|
+
"Quantity": 1,
|
521
|
+
"Items": [
|
522
|
+
{
|
523
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
524
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
525
|
+
"OriginPath": "/{{tenantName}}",
|
526
|
+
"CustomHeaders": {
|
527
|
+
"Quantity": 0
|
528
|
+
},
|
529
|
+
"S3OriginConfig": {
|
530
|
+
"OriginAccessIdentity": ""
|
531
|
+
},
|
532
|
+
"ConnectionAttempts": 3,
|
533
|
+
"ConnectionTimeout": 10,
|
534
|
+
"OriginShield": {
|
535
|
+
"Enabled": false
|
536
|
+
},
|
537
|
+
"OriginAccessControlId": ""
|
538
|
+
}
|
539
|
+
]
|
540
|
+
},
|
541
|
+
"OriginGroups": {
|
542
|
+
"Quantity": 0
|
543
|
+
},
|
544
|
+
"DefaultCacheBehavior": {
|
545
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
546
|
+
"TrustedKeyGroups": {
|
547
|
+
"Enabled": false,
|
548
|
+
"Quantity": 0
|
549
|
+
},
|
550
|
+
"ViewerProtocolPolicy": "allow-all",
|
551
|
+
"AllowedMethods": {
|
552
|
+
"Quantity": 2,
|
553
|
+
"Items": [
|
554
|
+
"HEAD",
|
555
|
+
"GET"
|
556
|
+
],
|
557
|
+
"CachedMethods": {
|
558
|
+
"Quantity": 2,
|
559
|
+
"Items": [
|
560
|
+
"HEAD",
|
561
|
+
"GET"
|
562
|
+
]
|
563
|
+
}
|
564
|
+
},
|
565
|
+
"Compress": false,
|
566
|
+
"LambdaFunctionAssociations": {
|
567
|
+
"Quantity": 0
|
568
|
+
},
|
569
|
+
"FunctionAssociations": {
|
570
|
+
"Quantity": 0
|
571
|
+
},
|
572
|
+
"FieldLevelEncryptionId": "",
|
573
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
574
|
+
"GrpcConfig": {
|
575
|
+
"Enabled": false
|
576
|
+
}
|
577
|
+
},
|
578
|
+
"CacheBehaviors": {
|
579
|
+
"Quantity": 0
|
580
|
+
},
|
581
|
+
"CustomErrorResponses": {
|
582
|
+
"Quantity": 0
|
583
|
+
},
|
584
|
+
"Comment": "CLI example distribution",
|
585
|
+
"Logging": {
|
586
|
+
"Enabled": false,
|
587
|
+
"IncludeCookies": false,
|
588
|
+
"Bucket": "",
|
589
|
+
"Prefix": ""
|
590
|
+
},
|
591
|
+
"Enabled": true,
|
592
|
+
"ViewerCertificate": {
|
593
|
+
"CloudFrontDefaultCertificate": true,
|
594
|
+
"SSLSupportMethod": "sni-only",
|
595
|
+
"MinimumProtocolVersion": "TLSv1",
|
596
|
+
"CertificateSource": "cloudfront"
|
597
|
+
},
|
598
|
+
"Restrictions": {
|
599
|
+
"GeoRestriction": {
|
600
|
+
"RestrictionType": "none",
|
601
|
+
"Quantity": 0
|
602
|
+
}
|
603
|
+
},
|
604
|
+
"WebACLId": "",
|
605
|
+
"HttpVersion": "http2",
|
606
|
+
"TenantConfig": {
|
607
|
+
"ParameterDefinitions": [
|
608
|
+
{
|
609
|
+
"Name": "tenantName",
|
610
|
+
"Definition": {
|
611
|
+
"StringSchema": {
|
612
|
+
"Comment": "tenantName parameter",
|
613
|
+
"DefaultValue": "root",
|
614
|
+
"Required": false
|
615
|
+
}
|
616
|
+
}
|
617
|
+
}
|
618
|
+
]
|
619
|
+
},
|
620
|
+
"ConnectionMode": "tenant-only"
|
621
|
+
}
|
622
|
+
}
|
623
|
+
}
|
624
|
+
|
625
|
+
For more information, see `Configure distributions <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-working-with.html>`__ in the *Amazon CloudFront Developer Guide*.
|
@@ -4,7 +4,7 @@ The following ``get-domain-detail`` command displays detailed information about
|
|
4
4
|
|
5
5
|
This command runs only in the ``us-east-1`` Region. If your default region is set to ``us-east-1``, you can omit the ``region`` parameter. ::
|
6
6
|
|
7
|
-
aws route53domains get-domain-detail \
|
7
|
+
aws route53domains get-domain-detail \
|
8
8
|
--region us-east-1 \
|
9
9
|
--domain-name example.com
|
10
10
|
|
@@ -77,7 +77,7 @@ Output::
|
|
77
77
|
"RegistrantPrivacy": true,
|
78
78
|
"TechPrivacy": true,
|
79
79
|
"RegistrarName": "Amazon Registrar, Inc.",
|
80
|
-
"WhoIsServer": "whois.registrar.amazon
|
80
|
+
"WhoIsServer": "whois.registrar.amazon",
|
81
81
|
"RegistrarUrl": "http://registrar.amazon.com",
|
82
82
|
"AbuseContactEmail": "abuse@registrar.amazon.com",
|
83
83
|
"AbuseContactPhone": "+1.2062661000",
|
@@ -86,4 +86,4 @@ Output::
|
|
86
86
|
"StatusList": [
|
87
87
|
"clientTransferProhibited"
|
88
88
|
]
|
89
|
-
}
|
89
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: awscli
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.42.0
|
4
4
|
Summary: Universal Command Line Environment for AWS.
|
5
5
|
Home-page: http://aws.amazon.com/cli/
|
6
6
|
Author: Amazon Web Services
|
@@ -23,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.13
|
24
24
|
Requires-Python: >= 3.9
|
25
25
|
License-File: LICENSE.txt
|
26
|
-
Requires-Dist: botocore (==1.
|
26
|
+
Requires-Dist: botocore (==1.40.0)
|
27
27
|
Requires-Dist: docutils (<=0.19,>=0.18.1)
|
28
28
|
Requires-Dist: s3transfer (<0.14.0,>=0.13.0)
|
29
29
|
Requires-Dist: PyYAML (<6.1,>=3.10)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
awscli/__init__.py,sha256=
|
1
|
+
awscli/__init__.py,sha256=2QNOPFbisvPiDs8D-tK_21IPytN6ZL_-esz8XlYOSQY,1533
|
2
2
|
awscli/__main__.py,sha256=iBjOg0tBxNlhzTi_tyc1G0SMGBvHMVvBJzX3JqYaooY,662
|
3
3
|
awscli/alias.py,sha256=Jj2jetpajUMcjqx9tFhHUOKpzLChQygnH2zqDFfmgIM,11315
|
4
4
|
awscli/argparser.py,sha256=3Pxx-vWytdV985Y6MIl9DeutUXyehIvACIs_PDby8GI,7650
|
@@ -821,9 +821,9 @@ awscli/examples/cloudfront/associate-distribution-tenant-web-acl.rst,sha256=wAHU
|
|
821
821
|
awscli/examples/cloudfront/associate-distribution-web-acl.rst,sha256=BUwB7HfxLhpAq2B4tsV9vOqepaZ_bgQJcTyBBCEEMns,836
|
822
822
|
awscli/examples/cloudfront/create-cloud-front-origin-access-identity.rst,sha256=xXR3yMitEp1A8cDJKnzUEppzKFjsvMUTuLJrz2GCJdk,1450
|
823
823
|
awscli/examples/cloudfront/create-connection-group.rst,sha256=Io_9TXItxaIV-b5EmlwDGQWiqYd42Gl1xWOeKNxXUzs,1570
|
824
|
-
awscli/examples/cloudfront/create-distribution-tenant.rst,sha256=
|
824
|
+
awscli/examples/cloudfront/create-distribution-tenant.rst,sha256=z61cAIJiq4wjRmRRImOMZP1lUmhAcQgMUPXwK_z9CRo,9567
|
825
825
|
awscli/examples/cloudfront/create-distribution-with-tags.rst,sha256=plp3UVf9COjVHRDiZ7nMfmG5vduhk4OXcYe61dYW_qk,8537
|
826
|
-
awscli/examples/cloudfront/create-distribution.rst,sha256=
|
826
|
+
awscli/examples/cloudfront/create-distribution.rst,sha256=1Lqbdf-1akNc2bZTwvJCDgrh6R2yUfgtUwRIXetC4Hg,23508
|
827
827
|
awscli/examples/cloudfront/create-field-level-encryption-config.rst,sha256=3VjfGgPdM2ulTUobAi3qT3ICEL2-swYcRta415QUfHA,2970
|
828
828
|
awscli/examples/cloudfront/create-field-level-encryption-profile.rst,sha256=XLGMPFo2mXsf-mP9YPkAxuG6zj0Tty4FIkK7-rOTapQ,2647
|
829
829
|
awscli/examples/cloudfront/create-invalidation-for-distribution-tenant.rst,sha256=C3FhxAB9iPfPH0AjUO_WBwIxSsqanr7-E0QtT5G03Q4,1302
|
@@ -5126,7 +5126,7 @@ awscli/examples/route53domains/disable-domain-transfer-lock.rst,sha256=D5J6WsYmD
|
|
5126
5126
|
awscli/examples/route53domains/enable-domain-auto-renew.rst,sha256=HvXXWAyZlSQO9UJtJvBTS-HzD46FWhzNZSZ4RzJWynE,964
|
5127
5127
|
awscli/examples/route53domains/enable-domain-transfer-lock.rst,sha256=ChwklByv5nymXqcKfwnZq5mPcyjpNhYzPZegf-0tTHc,1148
|
5128
5128
|
awscli/examples/route53domains/get-contact-reachability-status.rst,sha256=ynk5A_ViwXArmotedTg5zlqOqY1bcuzcQaDTaIkfyFY,847
|
5129
|
-
awscli/examples/route53domains/get-domain-detail.rst,sha256=
|
5129
|
+
awscli/examples/route53domains/get-domain-detail.rst,sha256=3teR33LS-yLXcpUDqmiuGEvS2DOg8NVXOsuHv-5q65I,2993
|
5130
5130
|
awscli/examples/route53domains/get-domain-suggestions.rst,sha256=J7a1h9BET8MNdJLqwkXjQp4lyW8X8mXLZ04YFP4TymM,1763
|
5131
5131
|
awscli/examples/route53domains/get-operation-detail.rst,sha256=PIpEHKlePoNUA8Nm9U8QHrZyrsifNmCLuMoQw8WcKiU,851
|
5132
5132
|
awscli/examples/route53domains/list-domains.rst,sha256=1q4DphjKbpIYAA-R7lxdoV3mjFIDUlv30GWyjn9_2R4,1059
|
@@ -6180,13 +6180,13 @@ awscli/topics/return-codes.rst,sha256=d9lpNFZwD75IiYcDEADQzu-4QiR8P28UPHkrNwPV5J
|
|
6180
6180
|
awscli/topics/s3-config.rst,sha256=5EIVd4ggLBHtzjtHFvQp9hY415yMGZiG7S_rO9qy2t0,11663
|
6181
6181
|
awscli/topics/s3-faq.rst,sha256=9qO0HFI6F9hx1wVEUDl8Jy6yoCUd9zbtv-Z0Re4dsiw,2934
|
6182
6182
|
awscli/topics/topic-tags.json,sha256=6lUSrs3FKCZNRSQMnjcXNgWyRNGjZIeur1988a4IO5o,1577
|
6183
|
-
awscli-1.
|
6184
|
-
awscli-1.
|
6185
|
-
awscli-1.
|
6186
|
-
awscli-1.
|
6187
|
-
awscli-1.
|
6188
|
-
awscli-1.
|
6189
|
-
awscli-1.
|
6190
|
-
awscli-1.
|
6191
|
-
awscli-1.
|
6192
|
-
awscli-1.
|
6183
|
+
awscli-1.42.0.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
|
6184
|
+
awscli-1.42.0.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
|
6185
|
+
awscli-1.42.0.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
|
6186
|
+
awscli-1.42.0.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
|
6187
|
+
awscli-1.42.0.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
|
6188
|
+
awscli-1.42.0.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
|
6189
|
+
awscli-1.42.0.dist-info/METADATA,sha256=gfwrX48_dwU_683d6qxZAxmy-kOM51kPO9O280fqJP0,11126
|
6190
|
+
awscli-1.42.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
6191
|
+
awscli-1.42.0.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
|
6192
|
+
awscli-1.42.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|