awscli 1.36.25__py3-none-any.whl → 1.36.27__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.
Potentially problematic release.
This version of awscli might be problematic. Click here for more details.
- awscli/__init__.py +1 -1
- awscli/examples/cloudfront/create-distribution.rst +118 -118
- awscli/examples/cloudfront/get-distribution-config.rst +6 -10
- awscli/examples/cloudfront/list-distributions.rst +29 -249
- awscli/examples/cloudfront/update-distribution.rst +16 -24
- awscli/examples/cognito-idp/admin-disable-provider-for-user.rst +9 -0
- awscli/examples/cognito-idp/admin-disable-user.rst +9 -0
- awscli/examples/cognito-idp/admin-enable-user.rst +9 -0
- awscli/examples/cognito-idp/admin-get-device.rst +51 -8
- awscli/examples/cognito-idp/admin-initiate-auth.rst +24 -25
- awscli/examples/cognito-idp/admin-link-provider-for-user.rst +10 -0
- awscli/examples/cognito-idp/admin-list-devices.rst +53 -7
- awscli/examples/cognito-idp/admin-list-user-auth-events.rst +40 -8
- awscli/examples/cognito-idp/admin-respond-to-auth-challenge.rst +29 -0
- awscli/examples/cognito-idp/admin-set-user-password.rst +13 -0
- awscli/examples/cognito-idp/admin-user-global-sign-out.rst +9 -0
- awscli/examples/cognito-idp/associate-software-token.rst +14 -0
- awscli/examples/cognito-idp/confirm-device.rst +16 -0
- awscli/examples/cognito-idp/create-identity-provider.rst +102 -0
- awscli/examples/cognito-idp/create-resource-server.rst +31 -0
- awscli/examples/cognito-idp/create-user-pool-client.rst +86 -18
- awscli/examples/cognito-idp/create-user-pool-domain.rst +23 -5
- awscli/examples/cognito-idp/delete-user-attributes.rst +8 -5
- awscli/examples/cognito-idp/describe-user-pool.rst +347 -238
- awscli/examples/cognito-idp/get-device.rst +50 -0
- awscli/examples/cognito-idp/get-group.rst +15 -12
- awscli/examples/cognito-idp/list-devices.rst +53 -0
- awscli/examples/ec2/describe-capacity-reservation-fleets.rst +3 -3
- awscli/examples/ec2/import-snapshot.rst +1 -1
- awscli/examples/ecr-public/batch-delete-image.rst +92 -0
- awscli/examples/ecr-public/create-repository.rst +3 -2
- awscli/examples/ecr-public/delete-repository-policy.rst +17 -0
- awscli/examples/ecr-public/delete-repository.rst +1 -1
- awscli/examples/ecr-public/describe-image-tags.rst +25 -0
- awscli/examples/ecr-public/describe-images.rst +82 -0
- awscli/examples/ecr-public/get-authorization-token.rst +32 -0
- awscli/examples/ecr-public/get-repository-policy.rst +17 -0
- awscli/examples/ecr-public/put-repository-catalog-data.rst +50 -0
- awscli/examples/ecr-public/set-repository-policy.rst +118 -0
- awscli/examples/ecs/capacity-provider-update.rst +33 -0
- awscli/examples/ecs/get-task-protection.rst +21 -0
- awscli/examples/ecs/update-cluster.rst +176 -0
- awscli/examples/ecs/update-task-protection.rst +46 -0
- awscli/examples/inspector2/associate-member.rst +14 -0
- awscli/examples/inspector2/disassociate-member.rst +14 -0
- awscli/examples/inspector2/get-member.rst +17 -0
- awscli/examples/inspector2/list-members.rst +83 -0
- awscli/examples/ivs-realtime/create-ingest-configuration.rst +25 -0
- awscli/examples/ivs-realtime/create-stage.rst +6 -2
- awscli/examples/ivs-realtime/delete-ingest-configuration.rst +22 -0
- awscli/examples/ivs-realtime/get-ingest-configuration.rst +24 -0
- awscli/examples/ivs-realtime/get-stage.rst +4 -2
- awscli/examples/ivs-realtime/list-ingest-configurations.rst +23 -0
- awscli/examples/ivs-realtime/update-ingest-configuration.rst +25 -0
- awscli/examples/ivs-realtime/update-stage.rst +3 -1
- awscli/examples/s3/sync.rst +1 -1
- awscli/examples/s3api/put-object.rst +15 -7
- awscli/examples/workmail/list-organizations.rst +1 -1
- {awscli-1.36.25.dist-info → awscli-1.36.27.dist-info}/METADATA +2 -2
- {awscli-1.36.25.dist-info → awscli-1.36.27.dist-info}/RECORD +68 -36
- awscli/examples/cognito-idp/admim-disable-user.rst +0 -8
- awscli/examples/cognito-idp/admim-enable-user.rst +0 -8
- {awscli-1.36.25.data → awscli-1.36.27.data}/scripts/aws +0 -0
- {awscli-1.36.25.data → awscli-1.36.27.data}/scripts/aws.cmd +0 -0
- {awscli-1.36.25.data → awscli-1.36.27.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.36.25.data → awscli-1.36.27.data}/scripts/aws_completer +0 -0
- {awscli-1.36.25.data → awscli-1.36.27.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.36.25.dist-info → awscli-1.36.27.dist-info}/LICENSE.txt +0 -0
- {awscli-1.36.25.dist-info → awscli-1.36.27.dist-info}/WHEEL +0 -0
- {awscli-1.36.25.dist-info → awscli-1.36.27.dist-info}/top_level.txt +0 -0
awscli/__init__.py
CHANGED
|
@@ -1,123 +1,12 @@
|
|
|
1
|
-
**To create a CloudFront distribution**
|
|
1
|
+
**Example 1: To create a CloudFront distribution**
|
|
2
2
|
|
|
3
|
-
The following example creates a distribution for an S3 bucket named
|
|
4
|
-
``awsexamplebucket``, and also specifies ``index.html`` as the default root
|
|
5
|
-
object, using command line arguments::
|
|
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. ::
|
|
6
4
|
|
|
7
5
|
aws cloudfront create-distribution \
|
|
8
|
-
--origin-domain-name
|
|
6
|
+
--origin-domain-name amzn-s3-demo-bucket.s3.amazonaws.com \
|
|
9
7
|
--default-root-object index.html
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
configuration in a JSON file, as shown in the following example::
|
|
13
|
-
|
|
14
|
-
aws cloudfront create-distribution \
|
|
15
|
-
--distribution-config file://dist-config.json
|
|
16
|
-
|
|
17
|
-
The file ``dist-config.json`` is a JSON document in the current folder that
|
|
18
|
-
contains the following::
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
"CallerReference": "cli-example",
|
|
22
|
-
"Aliases": {
|
|
23
|
-
"Quantity": 0
|
|
24
|
-
},
|
|
25
|
-
"DefaultRootObject": "index.html",
|
|
26
|
-
"Origins": {
|
|
27
|
-
"Quantity": 1,
|
|
28
|
-
"Items": [
|
|
29
|
-
{
|
|
30
|
-
"Id": "awsexamplebucket.s3.amazonaws.com-cli-example",
|
|
31
|
-
"DomainName": "awsexamplebucket.s3.amazonaws.com",
|
|
32
|
-
"OriginPath": "",
|
|
33
|
-
"CustomHeaders": {
|
|
34
|
-
"Quantity": 0
|
|
35
|
-
},
|
|
36
|
-
"S3OriginConfig": {
|
|
37
|
-
"OriginAccessIdentity": ""
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"OriginGroups": {
|
|
43
|
-
"Quantity": 0
|
|
44
|
-
},
|
|
45
|
-
"DefaultCacheBehavior": {
|
|
46
|
-
"TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example",
|
|
47
|
-
"ForwardedValues": {
|
|
48
|
-
"QueryString": false,
|
|
49
|
-
"Cookies": {
|
|
50
|
-
"Forward": "none"
|
|
51
|
-
},
|
|
52
|
-
"Headers": {
|
|
53
|
-
"Quantity": 0
|
|
54
|
-
},
|
|
55
|
-
"QueryStringCacheKeys": {
|
|
56
|
-
"Quantity": 0
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"TrustedSigners": {
|
|
60
|
-
"Enabled": false,
|
|
61
|
-
"Quantity": 0
|
|
62
|
-
},
|
|
63
|
-
"ViewerProtocolPolicy": "allow-all",
|
|
64
|
-
"MinTTL": 0,
|
|
65
|
-
"AllowedMethods": {
|
|
66
|
-
"Quantity": 2,
|
|
67
|
-
"Items": [
|
|
68
|
-
"HEAD",
|
|
69
|
-
"GET"
|
|
70
|
-
],
|
|
71
|
-
"CachedMethods": {
|
|
72
|
-
"Quantity": 2,
|
|
73
|
-
"Items": [
|
|
74
|
-
"HEAD",
|
|
75
|
-
"GET"
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"SmoothStreaming": false,
|
|
80
|
-
"DefaultTTL": 86400,
|
|
81
|
-
"MaxTTL": 31536000,
|
|
82
|
-
"Compress": false,
|
|
83
|
-
"LambdaFunctionAssociations": {
|
|
84
|
-
"Quantity": 0
|
|
85
|
-
},
|
|
86
|
-
"FieldLevelEncryptionId": ""
|
|
87
|
-
},
|
|
88
|
-
"CacheBehaviors": {
|
|
89
|
-
"Quantity": 0
|
|
90
|
-
},
|
|
91
|
-
"CustomErrorResponses": {
|
|
92
|
-
"Quantity": 0
|
|
93
|
-
},
|
|
94
|
-
"Comment": "",
|
|
95
|
-
"Logging": {
|
|
96
|
-
"Enabled": false,
|
|
97
|
-
"IncludeCookies": false,
|
|
98
|
-
"Bucket": "",
|
|
99
|
-
"Prefix": ""
|
|
100
|
-
},
|
|
101
|
-
"PriceClass": "PriceClass_All",
|
|
102
|
-
"Enabled": true,
|
|
103
|
-
"ViewerCertificate": {
|
|
104
|
-
"CloudFrontDefaultCertificate": true,
|
|
105
|
-
"MinimumProtocolVersion": "TLSv1",
|
|
106
|
-
"CertificateSource": "cloudfront"
|
|
107
|
-
},
|
|
108
|
-
"Restrictions": {
|
|
109
|
-
"GeoRestriction": {
|
|
110
|
-
"RestrictionType": "none",
|
|
111
|
-
"Quantity": 0
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"WebACLId": "",
|
|
115
|
-
"HttpVersion": "http2",
|
|
116
|
-
"IsIPV6Enabled": true
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
Whether you provide the distribution information with a command line argument
|
|
120
|
-
or a JSON file, the output is the same::
|
|
9
|
+
Output::
|
|
121
10
|
|
|
122
11
|
{
|
|
123
12
|
"Location": "https://cloudfront.amazonaws.com/2019-03-26/distribution/EMLARXS9EXAMPLE",
|
|
@@ -143,8 +32,8 @@ or a JSON file, the output is the same::
|
|
|
143
32
|
"Quantity": 1,
|
|
144
33
|
"Items": [
|
|
145
34
|
{
|
|
146
|
-
"Id": "
|
|
147
|
-
"DomainName": "
|
|
35
|
+
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
36
|
+
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
|
148
37
|
"OriginPath": "",
|
|
149
38
|
"CustomHeaders": {
|
|
150
39
|
"Quantity": 0
|
|
@@ -159,7 +48,7 @@ or a JSON file, the output is the same::
|
|
|
159
48
|
"Quantity": 0
|
|
160
49
|
},
|
|
161
50
|
"DefaultCacheBehavior": {
|
|
162
|
-
"TargetOriginId": "
|
|
51
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
163
52
|
"ForwardedValues": {
|
|
164
53
|
"QueryString": false,
|
|
165
54
|
"Cookies": {
|
|
@@ -233,3 +122,114 @@ or a JSON file, the output is the same::
|
|
|
233
122
|
}
|
|
234
123
|
}
|
|
235
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,13 +1,9 @@
|
|
|
1
1
|
**To get a CloudFront distribution configuration**
|
|
2
2
|
|
|
3
|
-
The following example gets metadata about the CloudFront distribution with the
|
|
4
|
-
ID ``EDFDVBD6EXAMPLE``, including its ``ETag``. The distribution ID is returned
|
|
5
|
-
in the `create-distribution <create-distribution.html>`_ and
|
|
6
|
-
`list-distributions <list-distributions.html>`_ commands.
|
|
3
|
+
The following example gets metadata about the CloudFront distribution with the ID ``EDFDVBD6EXAMPLE``, including its ``ETag``. The distribution ID is returned in the `create-distribution <create-distribution.html>`__ and `list-distributions <list-distributions.html>`__ commands. ::
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
aws cloudfront get-distribution-config --id EDFDVBD6EXAMPLE
|
|
5
|
+
aws cloudfront get-distribution-config \
|
|
6
|
+
--id EDFDVBD6EXAMPLE
|
|
11
7
|
|
|
12
8
|
Output::
|
|
13
9
|
|
|
@@ -23,8 +19,8 @@ Output::
|
|
|
23
19
|
"Quantity": 1,
|
|
24
20
|
"Items": [
|
|
25
21
|
{
|
|
26
|
-
"Id": "
|
|
27
|
-
"DomainName": "
|
|
22
|
+
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
23
|
+
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
|
28
24
|
"OriginPath": "",
|
|
29
25
|
"CustomHeaders": {
|
|
30
26
|
"Quantity": 0
|
|
@@ -39,7 +35,7 @@ Output::
|
|
|
39
35
|
"Quantity": 0
|
|
40
36
|
},
|
|
41
37
|
"DefaultCacheBehavior": {
|
|
42
|
-
"TargetOriginId": "
|
|
38
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
43
39
|
"ForwardedValues": {
|
|
44
40
|
"QueryString": false,
|
|
45
41
|
"Cookies": {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
**To list CloudFront distributions**
|
|
2
2
|
|
|
3
|
-
The following example gets a list of the CloudFront distributions in your AWS
|
|
4
|
-
account::
|
|
3
|
+
The following example gets a list of the CloudFront distributions in your AWS account. ::
|
|
5
4
|
|
|
6
5
|
aws cloudfront list-distributions
|
|
7
6
|
|
|
@@ -11,231 +10,11 @@ Output::
|
|
|
11
10
|
"DistributionList": {
|
|
12
11
|
"Items": [
|
|
13
12
|
{
|
|
14
|
-
"Id": "
|
|
15
|
-
"ARN": "arn:aws:cloudfront::123456789012:distribution/
|
|
16
|
-
"Status": "InProgress",
|
|
17
|
-
"LastModifiedTime": "2019-11-22T00:55:15.705Z",
|
|
18
|
-
"InProgressInvalidationBatches": 0,
|
|
19
|
-
"DomainName": "d111111abcdef8.cloudfront.net",
|
|
20
|
-
"ActiveTrustedSigners": {
|
|
21
|
-
"Enabled": false,
|
|
22
|
-
"Quantity": 0
|
|
23
|
-
},
|
|
24
|
-
"DistributionConfig": {
|
|
25
|
-
"CallerReference": "cli-example",
|
|
26
|
-
"Aliases": {
|
|
27
|
-
"Quantity": 0
|
|
28
|
-
},
|
|
29
|
-
"DefaultRootObject": "index.html",
|
|
30
|
-
"Origins": {
|
|
31
|
-
"Quantity": 1,
|
|
32
|
-
"Items": [
|
|
33
|
-
{
|
|
34
|
-
"Id": "awsexamplebucket.s3.amazonaws.com-cli-example",
|
|
35
|
-
"DomainName": "awsexamplebucket.s3.amazonaws.com",
|
|
36
|
-
"OriginPath": "",
|
|
37
|
-
"CustomHeaders": {
|
|
38
|
-
"Quantity": 0
|
|
39
|
-
},
|
|
40
|
-
"S3OriginConfig": {
|
|
41
|
-
"OriginAccessIdentity": ""
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"OriginGroups": {
|
|
47
|
-
"Quantity": 0
|
|
48
|
-
},
|
|
49
|
-
"DefaultCacheBehavior": {
|
|
50
|
-
"TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example",
|
|
51
|
-
"ForwardedValues": {
|
|
52
|
-
"QueryString": false,
|
|
53
|
-
"Cookies": {
|
|
54
|
-
"Forward": "none"
|
|
55
|
-
},
|
|
56
|
-
"Headers": {
|
|
57
|
-
"Quantity": 0
|
|
58
|
-
},
|
|
59
|
-
"QueryStringCacheKeys": {
|
|
60
|
-
"Quantity": 0
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"TrustedSigners": {
|
|
64
|
-
"Enabled": false,
|
|
65
|
-
"Quantity": 0
|
|
66
|
-
},
|
|
67
|
-
"ViewerProtocolPolicy": "allow-all",
|
|
68
|
-
"MinTTL": 0,
|
|
69
|
-
"AllowedMethods": {
|
|
70
|
-
"Quantity": 2,
|
|
71
|
-
"Items": [
|
|
72
|
-
"HEAD",
|
|
73
|
-
"GET"
|
|
74
|
-
],
|
|
75
|
-
"CachedMethods": {
|
|
76
|
-
"Quantity": 2,
|
|
77
|
-
"Items": [
|
|
78
|
-
"HEAD",
|
|
79
|
-
"GET"
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"SmoothStreaming": false,
|
|
84
|
-
"DefaultTTL": 86400,
|
|
85
|
-
"MaxTTL": 31536000,
|
|
86
|
-
"Compress": false,
|
|
87
|
-
"LambdaFunctionAssociations": {
|
|
88
|
-
"Quantity": 0
|
|
89
|
-
},
|
|
90
|
-
"FieldLevelEncryptionId": ""
|
|
91
|
-
},
|
|
92
|
-
"CacheBehaviors": {
|
|
93
|
-
"Quantity": 0
|
|
94
|
-
},
|
|
95
|
-
"CustomErrorResponses": {
|
|
96
|
-
"Quantity": 0
|
|
97
|
-
},
|
|
98
|
-
"Comment": "",
|
|
99
|
-
"Logging": {
|
|
100
|
-
"Enabled": false,
|
|
101
|
-
"IncludeCookies": false,
|
|
102
|
-
"Bucket": "",
|
|
103
|
-
"Prefix": ""
|
|
104
|
-
},
|
|
105
|
-
"PriceClass": "PriceClass_All",
|
|
106
|
-
"Enabled": true,
|
|
107
|
-
"ViewerCertificate": {
|
|
108
|
-
"CloudFrontDefaultCertificate": true,
|
|
109
|
-
"MinimumProtocolVersion": "TLSv1",
|
|
110
|
-
"CertificateSource": "cloudfront"
|
|
111
|
-
},
|
|
112
|
-
"Restrictions": {
|
|
113
|
-
"GeoRestriction": {
|
|
114
|
-
"RestrictionType": "none",
|
|
115
|
-
"Quantity": 0
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"WebACLId": "",
|
|
119
|
-
"HttpVersion": "http2",
|
|
120
|
-
"IsIPV6Enabled": true
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"Id": "EDFDVBD6EXAMPLE",
|
|
125
|
-
"ARN": "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE",
|
|
126
|
-
"Status": "InProgress",
|
|
127
|
-
"LastModifiedTime": "2019-12-04T23:35:41.433Z",
|
|
128
|
-
"InProgressInvalidationBatches": 0,
|
|
129
|
-
"DomainName": "d930174dauwrn8.cloudfront.net",
|
|
130
|
-
"ActiveTrustedSigners": {
|
|
131
|
-
"Enabled": false,
|
|
132
|
-
"Quantity": 0
|
|
133
|
-
},
|
|
134
|
-
"DistributionConfig": {
|
|
135
|
-
"CallerReference": "cli-example",
|
|
136
|
-
"Aliases": {
|
|
137
|
-
"Quantity": 0
|
|
138
|
-
},
|
|
139
|
-
"DefaultRootObject": "index.html",
|
|
140
|
-
"Origins": {
|
|
141
|
-
"Quantity": 1,
|
|
142
|
-
"Items": [
|
|
143
|
-
{
|
|
144
|
-
"Id": "awsexamplebucket1.s3.amazonaws.com-cli-example",
|
|
145
|
-
"DomainName": "awsexamplebucket1.s3.amazonaws.com",
|
|
146
|
-
"OriginPath": "",
|
|
147
|
-
"CustomHeaders": {
|
|
148
|
-
"Quantity": 0
|
|
149
|
-
},
|
|
150
|
-
"S3OriginConfig": {
|
|
151
|
-
"OriginAccessIdentity": ""
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"OriginGroups": {
|
|
157
|
-
"Quantity": 0
|
|
158
|
-
},
|
|
159
|
-
"DefaultCacheBehavior": {
|
|
160
|
-
"TargetOriginId": "awsexamplebucket1.s3.amazonaws.com-cli-example",
|
|
161
|
-
"ForwardedValues": {
|
|
162
|
-
"QueryString": false,
|
|
163
|
-
"Cookies": {
|
|
164
|
-
"Forward": "none"
|
|
165
|
-
},
|
|
166
|
-
"Headers": {
|
|
167
|
-
"Quantity": 0
|
|
168
|
-
},
|
|
169
|
-
"QueryStringCacheKeys": {
|
|
170
|
-
"Quantity": 0
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"TrustedSigners": {
|
|
174
|
-
"Enabled": false,
|
|
175
|
-
"Quantity": 0
|
|
176
|
-
},
|
|
177
|
-
"ViewerProtocolPolicy": "allow-all",
|
|
178
|
-
"MinTTL": 0,
|
|
179
|
-
"AllowedMethods": {
|
|
180
|
-
"Quantity": 2,
|
|
181
|
-
"Items": [
|
|
182
|
-
"HEAD",
|
|
183
|
-
"GET"
|
|
184
|
-
],
|
|
185
|
-
"CachedMethods": {
|
|
186
|
-
"Quantity": 2,
|
|
187
|
-
"Items": [
|
|
188
|
-
"HEAD",
|
|
189
|
-
"GET"
|
|
190
|
-
]
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
"SmoothStreaming": false,
|
|
194
|
-
"DefaultTTL": 86400,
|
|
195
|
-
"MaxTTL": 31536000,
|
|
196
|
-
"Compress": false,
|
|
197
|
-
"LambdaFunctionAssociations": {
|
|
198
|
-
"Quantity": 0
|
|
199
|
-
},
|
|
200
|
-
"FieldLevelEncryptionId": ""
|
|
201
|
-
},
|
|
202
|
-
"CacheBehaviors": {
|
|
203
|
-
"Quantity": 0
|
|
204
|
-
},
|
|
205
|
-
"CustomErrorResponses": {
|
|
206
|
-
"Quantity": 0
|
|
207
|
-
},
|
|
208
|
-
"Comment": "",
|
|
209
|
-
"Logging": {
|
|
210
|
-
"Enabled": false,
|
|
211
|
-
"IncludeCookies": false,
|
|
212
|
-
"Bucket": "",
|
|
213
|
-
"Prefix": ""
|
|
214
|
-
},
|
|
215
|
-
"PriceClass": "PriceClass_All",
|
|
216
|
-
"Enabled": true,
|
|
217
|
-
"ViewerCertificate": {
|
|
218
|
-
"CloudFrontDefaultCertificate": true,
|
|
219
|
-
"MinimumProtocolVersion": "TLSv1",
|
|
220
|
-
"CertificateSource": "cloudfront"
|
|
221
|
-
},
|
|
222
|
-
"Restrictions": {
|
|
223
|
-
"GeoRestriction": {
|
|
224
|
-
"RestrictionType": "none",
|
|
225
|
-
"Quantity": 0
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"WebACLId": "",
|
|
229
|
-
"HttpVersion": "http2",
|
|
230
|
-
"IsIPV6Enabled": true
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"Id": "E1X5IZQEXAMPLE",
|
|
235
|
-
"ARN": "arn:aws:cloudfront::123456789012:distribution/E1X5IZQEXAMPLE",
|
|
13
|
+
"Id": "E23YS8OEXAMPLE",
|
|
14
|
+
"ARN": "arn:aws:cloudfront::123456789012:distribution/E23YS8OEXAMPLE",
|
|
236
15
|
"Status": "Deployed",
|
|
237
|
-
"LastModifiedTime": "
|
|
238
|
-
"DomainName": "
|
|
16
|
+
"LastModifiedTime": "2024-08-05T18:23:40.375000+00:00",
|
|
17
|
+
"DomainName": "abcdefgh12ijk.cloudfront.net",
|
|
239
18
|
"Aliases": {
|
|
240
19
|
"Quantity": 0
|
|
241
20
|
},
|
|
@@ -243,15 +22,21 @@ Output::
|
|
|
243
22
|
"Quantity": 1,
|
|
244
23
|
"Items": [
|
|
245
24
|
{
|
|
246
|
-
"Id": "
|
|
247
|
-
"DomainName": "
|
|
25
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
26
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
248
27
|
"OriginPath": "",
|
|
249
28
|
"CustomHeaders": {
|
|
250
29
|
"Quantity": 0
|
|
251
30
|
},
|
|
252
31
|
"S3OriginConfig": {
|
|
253
32
|
"OriginAccessIdentity": ""
|
|
254
|
-
}
|
|
33
|
+
},
|
|
34
|
+
"ConnectionAttempts": 3,
|
|
35
|
+
"ConnectionTimeout": 10,
|
|
36
|
+
"OriginShield": {
|
|
37
|
+
"Enabled": false
|
|
38
|
+
},
|
|
39
|
+
"OriginAccessControlId": "EIAP8PEXAMPLE"
|
|
255
40
|
}
|
|
256
41
|
]
|
|
257
42
|
},
|
|
@@ -259,25 +44,16 @@ Output::
|
|
|
259
44
|
"Quantity": 0
|
|
260
45
|
},
|
|
261
46
|
"DefaultCacheBehavior": {
|
|
262
|
-
"TargetOriginId": "
|
|
263
|
-
"ForwardedValues": {
|
|
264
|
-
"QueryString": false,
|
|
265
|
-
"Cookies": {
|
|
266
|
-
"Forward": "none"
|
|
267
|
-
},
|
|
268
|
-
"Headers": {
|
|
269
|
-
"Quantity": 0
|
|
270
|
-
},
|
|
271
|
-
"QueryStringCacheKeys": {
|
|
272
|
-
"Quantity": 0
|
|
273
|
-
}
|
|
274
|
-
},
|
|
47
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
275
48
|
"TrustedSigners": {
|
|
276
49
|
"Enabled": false,
|
|
277
50
|
"Quantity": 0
|
|
278
51
|
},
|
|
52
|
+
"TrustedKeyGroups": {
|
|
53
|
+
"Enabled": false,
|
|
54
|
+
"Quantity": 0
|
|
55
|
+
},
|
|
279
56
|
"ViewerProtocolPolicy": "allow-all",
|
|
280
|
-
"MinTTL": 0,
|
|
281
57
|
"AllowedMethods": {
|
|
282
58
|
"Quantity": 2,
|
|
283
59
|
"Items": [
|
|
@@ -293,13 +69,15 @@ Output::
|
|
|
293
69
|
}
|
|
294
70
|
},
|
|
295
71
|
"SmoothStreaming": false,
|
|
296
|
-
"
|
|
297
|
-
"MaxTTL": 31536000,
|
|
298
|
-
"Compress": false,
|
|
72
|
+
"Compress": true,
|
|
299
73
|
"LambdaFunctionAssociations": {
|
|
300
74
|
"Quantity": 0
|
|
301
75
|
},
|
|
302
|
-
"
|
|
76
|
+
"FunctionAssociations": {
|
|
77
|
+
"Quantity": 0
|
|
78
|
+
},
|
|
79
|
+
"FieldLevelEncryptionId": "",
|
|
80
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e886EXAMPLE"
|
|
303
81
|
},
|
|
304
82
|
"CacheBehaviors": {
|
|
305
83
|
"Quantity": 0
|
|
@@ -312,6 +90,7 @@ Output::
|
|
|
312
90
|
"Enabled": true,
|
|
313
91
|
"ViewerCertificate": {
|
|
314
92
|
"CloudFrontDefaultCertificate": true,
|
|
93
|
+
"SSLSupportMethod": "vip",
|
|
315
94
|
"MinimumProtocolVersion": "TLSv1",
|
|
316
95
|
"CertificateSource": "cloudfront"
|
|
317
96
|
},
|
|
@@ -322,8 +101,9 @@ Output::
|
|
|
322
101
|
}
|
|
323
102
|
},
|
|
324
103
|
"WebACLId": "",
|
|
325
|
-
"HttpVersion": "
|
|
326
|
-
"IsIPV6Enabled": true
|
|
104
|
+
"HttpVersion": "HTTP2",
|
|
105
|
+
"IsIPV6Enabled": true,
|
|
106
|
+
"Staging": false
|
|
327
107
|
}
|
|
328
108
|
]
|
|
329
109
|
}
|