@pulumi/aws 6.56.0 → 6.56.1
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.
- package/package.json +2 -2
- package/s3/bucket.d.ts +398 -122
- package/s3/bucket.js +318 -6
- package/s3/bucket.js.map +1 -1
- package/types/input.d.ts +43 -31
- package/types/output.d.ts +43 -31
package/types/output.d.ts
CHANGED
|
@@ -68466,19 +68466,19 @@ export declare namespace s3 {
|
|
|
68466
68466
|
}
|
|
68467
68467
|
interface BucketCorsRule {
|
|
68468
68468
|
/**
|
|
68469
|
-
*
|
|
68469
|
+
* Specifies which headers are allowed.
|
|
68470
68470
|
*/
|
|
68471
68471
|
allowedHeaders?: string[];
|
|
68472
68472
|
/**
|
|
68473
|
-
*
|
|
68473
|
+
* Specifies which methods are allowed. Can be `GET`, `PUT`, `POST`, `DELETE` or `HEAD`.
|
|
68474
68474
|
*/
|
|
68475
68475
|
allowedMethods: string[];
|
|
68476
68476
|
/**
|
|
68477
|
-
*
|
|
68477
|
+
* Specifies which origins are allowed.
|
|
68478
68478
|
*/
|
|
68479
68479
|
allowedOrigins: string[];
|
|
68480
68480
|
/**
|
|
68481
|
-
*
|
|
68481
|
+
* Specifies expose header in the response.
|
|
68482
68482
|
*/
|
|
68483
68483
|
exposeHeaders?: string[];
|
|
68484
68484
|
/**
|
|
@@ -68686,7 +68686,7 @@ export declare namespace s3 {
|
|
|
68686
68686
|
*/
|
|
68687
68687
|
enabled: boolean;
|
|
68688
68688
|
/**
|
|
68689
|
-
* Specifies a period in the object's expire
|
|
68689
|
+
* Specifies a period in the object's expire (documented below).
|
|
68690
68690
|
*/
|
|
68691
68691
|
expiration?: outputs.s3.BucketLifecycleRuleExpiration;
|
|
68692
68692
|
/**
|
|
@@ -68694,11 +68694,13 @@ export declare namespace s3 {
|
|
|
68694
68694
|
*/
|
|
68695
68695
|
id: string;
|
|
68696
68696
|
/**
|
|
68697
|
-
* Specifies when noncurrent object versions expire
|
|
68697
|
+
* Specifies when noncurrent object versions expire (documented below).
|
|
68698
68698
|
*/
|
|
68699
68699
|
noncurrentVersionExpiration?: outputs.s3.BucketLifecycleRuleNoncurrentVersionExpiration;
|
|
68700
68700
|
/**
|
|
68701
|
-
* Specifies when noncurrent object versions transitions
|
|
68701
|
+
* Specifies when noncurrent object versions transitions (documented below).
|
|
68702
|
+
*
|
|
68703
|
+
* At least one of `abortIncompleteMultipartUploadDays`, `expiration`, `transition`, `noncurrentVersionExpiration`, `noncurrentVersionTransition` must be specified.
|
|
68702
68704
|
*/
|
|
68703
68705
|
noncurrentVersionTransitions?: outputs.s3.BucketLifecycleRuleNoncurrentVersionTransition[];
|
|
68704
68706
|
/**
|
|
@@ -68712,7 +68714,7 @@ export declare namespace s3 {
|
|
|
68712
68714
|
[key: string]: string;
|
|
68713
68715
|
};
|
|
68714
68716
|
/**
|
|
68715
|
-
* Specifies a period in the object's transitions
|
|
68717
|
+
* Specifies a period in the object's transitions (documented below).
|
|
68716
68718
|
*/
|
|
68717
68719
|
transitions?: outputs.s3.BucketLifecycleRuleTransition[];
|
|
68718
68720
|
}
|
|
@@ -68762,7 +68764,7 @@ export declare namespace s3 {
|
|
|
68762
68764
|
}
|
|
68763
68765
|
interface BucketLogging {
|
|
68764
68766
|
/**
|
|
68765
|
-
*
|
|
68767
|
+
* The name of the bucket that will receive the log objects.
|
|
68766
68768
|
*/
|
|
68767
68769
|
targetBucket: string;
|
|
68768
68770
|
/**
|
|
@@ -68901,31 +68903,37 @@ export declare namespace s3 {
|
|
|
68901
68903
|
}
|
|
68902
68904
|
interface BucketObjectLockConfiguration {
|
|
68903
68905
|
/**
|
|
68904
|
-
* Indicates whether this bucket has an Object Lock configuration enabled. Valid
|
|
68906
|
+
* Indicates whether this bucket has an Object Lock configuration enabled. Valid value is `Enabled`.
|
|
68905
68907
|
*/
|
|
68906
68908
|
objectLockEnabled: string;
|
|
68907
68909
|
/**
|
|
68908
|
-
* Object Lock rule in place for this bucket
|
|
68910
|
+
* The Object Lock rule in place for this bucket.
|
|
68909
68911
|
*/
|
|
68910
68912
|
rule?: outputs.s3.BucketObjectLockConfigurationRule;
|
|
68911
68913
|
}
|
|
68912
68914
|
interface BucketObjectLockConfigurationRule {
|
|
68913
68915
|
/**
|
|
68914
|
-
*
|
|
68916
|
+
* The default retention period that you want to apply to new objects placed in this bucket.
|
|
68915
68917
|
*/
|
|
68916
68918
|
defaultRetention: outputs.s3.BucketObjectLockConfigurationRuleDefaultRetention;
|
|
68917
68919
|
}
|
|
68918
68920
|
interface BucketObjectLockConfigurationRuleDefaultRetention {
|
|
68919
68921
|
/**
|
|
68920
|
-
*
|
|
68922
|
+
* The number of days that you want to specify for the default retention period.
|
|
68921
68923
|
*/
|
|
68922
68924
|
days?: number;
|
|
68923
68925
|
/**
|
|
68924
|
-
*
|
|
68926
|
+
* The default Object Lock retention mode you want to apply to new objects placed in this bucket. Valid values are `GOVERNANCE` and `COMPLIANCE`.
|
|
68925
68927
|
*/
|
|
68926
68928
|
mode: string;
|
|
68927
68929
|
/**
|
|
68928
|
-
*
|
|
68930
|
+
* The number of years that you want to specify for the default retention period.
|
|
68931
|
+
*
|
|
68932
|
+
* Either `days` or `years` must be specified, but not both.
|
|
68933
|
+
*
|
|
68934
|
+
* > **NOTE on `objectLockConfiguration`:** You can only enable S3 Object Lock for new buckets. If you need to turn on S3 Object Lock for an existing bucket, please contact AWS Support.
|
|
68935
|
+
* When you create a bucket with S3 Object Lock enabled, Amazon S3 automatically enables versioning for the bucket.
|
|
68936
|
+
* Once you create a bucket with S3 Object Lock enabled, you can't disable Object Lock or suspend versioning for the bucket.
|
|
68929
68937
|
*/
|
|
68930
68938
|
years?: number;
|
|
68931
68939
|
}
|
|
@@ -69158,7 +69166,7 @@ export declare namespace s3 {
|
|
|
69158
69166
|
}
|
|
69159
69167
|
interface BucketReplicationConfiguration {
|
|
69160
69168
|
/**
|
|
69161
|
-
* ARN of the IAM role for Amazon S3 to assume when replicating the objects.
|
|
69169
|
+
* The ARN of the IAM role for Amazon S3 to assume when replicating the objects.
|
|
69162
69170
|
*/
|
|
69163
69171
|
role: string;
|
|
69164
69172
|
/**
|
|
@@ -69188,7 +69196,7 @@ export declare namespace s3 {
|
|
|
69188
69196
|
*/
|
|
69189
69197
|
prefix?: string;
|
|
69190
69198
|
/**
|
|
69191
|
-
*
|
|
69199
|
+
* The priority associated with the rule. Priority should only be set if `filter` is configured. If not provided, defaults to `0`. Priority must be unique between multiple rules.
|
|
69192
69200
|
*/
|
|
69193
69201
|
priority?: number;
|
|
69194
69202
|
/**
|
|
@@ -69196,21 +69204,23 @@ export declare namespace s3 {
|
|
|
69196
69204
|
*/
|
|
69197
69205
|
sourceSelectionCriteria?: outputs.s3.BucketReplicationConfigurationRuleSourceSelectionCriteria;
|
|
69198
69206
|
/**
|
|
69199
|
-
*
|
|
69207
|
+
* The status of the rule. Either `Enabled` or `Disabled`. The rule is ignored if status is not Enabled.
|
|
69208
|
+
*
|
|
69209
|
+
* > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rules` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
|
|
69200
69210
|
*/
|
|
69201
69211
|
status: string;
|
|
69202
69212
|
}
|
|
69203
69213
|
interface BucketReplicationConfigurationRuleDestination {
|
|
69204
69214
|
/**
|
|
69205
|
-
* Specifies the overrides to use for object owners on replication
|
|
69215
|
+
* Specifies the overrides to use for object owners on replication. Must be used in conjunction with `accountId` owner override configuration.
|
|
69206
69216
|
*/
|
|
69207
69217
|
accessControlTranslation?: outputs.s3.BucketReplicationConfigurationRuleDestinationAccessControlTranslation;
|
|
69208
69218
|
/**
|
|
69209
|
-
* Account ID to use for overriding the object owner on replication. Must be used in conjunction with `accessControlTranslation` override configuration.
|
|
69219
|
+
* The Account ID to use for overriding the object owner on replication. Must be used in conjunction with `accessControlTranslation` override configuration.
|
|
69210
69220
|
*/
|
|
69211
69221
|
accountId?: string;
|
|
69212
69222
|
/**
|
|
69213
|
-
* ARN of the S3 bucket where you want Amazon S3 to store replicas of the object identified by the rule.
|
|
69223
|
+
* The ARN of the S3 bucket where you want Amazon S3 to store replicas of the object identified by the rule.
|
|
69214
69224
|
*/
|
|
69215
69225
|
bucket: string;
|
|
69216
69226
|
/**
|
|
@@ -69233,7 +69243,7 @@ export declare namespace s3 {
|
|
|
69233
69243
|
}
|
|
69234
69244
|
interface BucketReplicationConfigurationRuleDestinationAccessControlTranslation {
|
|
69235
69245
|
/**
|
|
69236
|
-
*
|
|
69246
|
+
* The override value for the owner on replicated objects. Currently only `Destination` is supported.
|
|
69237
69247
|
*/
|
|
69238
69248
|
owner: string;
|
|
69239
69249
|
}
|
|
@@ -69243,7 +69253,7 @@ export declare namespace s3 {
|
|
|
69243
69253
|
*/
|
|
69244
69254
|
minutes?: number;
|
|
69245
69255
|
/**
|
|
69246
|
-
*
|
|
69256
|
+
* The status of replication metrics. Either `Enabled` or `Disabled`.
|
|
69247
69257
|
*/
|
|
69248
69258
|
status?: string;
|
|
69249
69259
|
}
|
|
@@ -69253,7 +69263,7 @@ export declare namespace s3 {
|
|
|
69253
69263
|
*/
|
|
69254
69264
|
minutes?: number;
|
|
69255
69265
|
/**
|
|
69256
|
-
*
|
|
69266
|
+
* The status of RTC. Either `Enabled` or `Disabled`.
|
|
69257
69267
|
*/
|
|
69258
69268
|
status?: string;
|
|
69259
69269
|
}
|
|
@@ -69285,13 +69295,13 @@ export declare namespace s3 {
|
|
|
69285
69295
|
}
|
|
69286
69296
|
interface BucketServerSideEncryptionConfiguration {
|
|
69287
69297
|
/**
|
|
69288
|
-
*
|
|
69298
|
+
* A single object for server-side encryption by default configuration. (documented below)
|
|
69289
69299
|
*/
|
|
69290
69300
|
rule: outputs.s3.BucketServerSideEncryptionConfigurationRule;
|
|
69291
69301
|
}
|
|
69292
69302
|
interface BucketServerSideEncryptionConfigurationRule {
|
|
69293
69303
|
/**
|
|
69294
|
-
*
|
|
69304
|
+
* A single object for setting server-side encryption by default. (documented below)
|
|
69295
69305
|
*/
|
|
69296
69306
|
applyServerSideEncryptionByDefault: outputs.s3.BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault;
|
|
69297
69307
|
/**
|
|
@@ -69301,11 +69311,11 @@ export declare namespace s3 {
|
|
|
69301
69311
|
}
|
|
69302
69312
|
interface BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault {
|
|
69303
69313
|
/**
|
|
69304
|
-
* AWS KMS master key ID used for the SSE-KMS encryption. This can only be used when you set the value of `sseAlgorithm` as `aws:kms`. The default `aws/s3` AWS KMS master key is used if this element is absent while the `sseAlgorithm` is `aws:kms`.
|
|
69314
|
+
* The AWS KMS master key ID used for the SSE-KMS encryption. This can only be used when you set the value of `sseAlgorithm` as `aws:kms`. The default `aws/s3` AWS KMS master key is used if this element is absent while the `sseAlgorithm` is `aws:kms`.
|
|
69305
69315
|
*/
|
|
69306
69316
|
kmsMasterKeyId?: string;
|
|
69307
69317
|
/**
|
|
69308
|
-
*
|
|
69318
|
+
* The server-side encryption algorithm to use. Valid values are `AES256` and `aws:kms`
|
|
69309
69319
|
*/
|
|
69310
69320
|
sseAlgorithm: string;
|
|
69311
69321
|
}
|
|
@@ -69701,7 +69711,7 @@ export declare namespace s3 {
|
|
|
69701
69711
|
}
|
|
69702
69712
|
interface BucketWebsite {
|
|
69703
69713
|
/**
|
|
69704
|
-
*
|
|
69714
|
+
* An absolute path to the document to return in case of a 4XX error.
|
|
69705
69715
|
*/
|
|
69706
69716
|
errorDocument?: string;
|
|
69707
69717
|
/**
|
|
@@ -69709,12 +69719,14 @@ export declare namespace s3 {
|
|
|
69709
69719
|
*/
|
|
69710
69720
|
indexDocument?: string;
|
|
69711
69721
|
/**
|
|
69712
|
-
*
|
|
69722
|
+
* A hostname to redirect all website requests for this bucket to. Hostname can optionally be prefixed with a protocol (`http://` or `https://`) to use when redirecting requests. The default is the protocol that is used in the original request.
|
|
69713
69723
|
*/
|
|
69714
69724
|
redirectAllRequestsTo?: string;
|
|
69715
69725
|
/**
|
|
69716
|
-
*
|
|
69726
|
+
* A json array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html)
|
|
69717
69727
|
* describing redirect behavior and when redirects are applied.
|
|
69728
|
+
*
|
|
69729
|
+
* The `CORS` object supports the following:
|
|
69718
69730
|
*/
|
|
69719
69731
|
routingRules?: string;
|
|
69720
69732
|
}
|