@pulumi/aws 7.0.0-alpha.1 → 7.0.0-alpha.2
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/ecr/index.d.ts +1 -0
- package/ecr/index.js +1 -0
- package/ecr/index.js.map +1 -1
- package/ecr/lifecyclePolicyDocument.d.ts +5 -0
- package/ecr/lifecyclePolicyDocument.js +3 -0
- package/ecr/lifecyclePolicyDocument.js.map +1 -0
- package/iam/documents.d.ts +5 -0
- package/package.json +2 -2
- package/s3/bucketAccelerateConfiguration.js +1 -1
- package/s3/bucketAccelerateConfiguration.js.map +1 -1
- package/s3/bucketAccelerateConfigurationV2.d.ts +122 -0
- package/s3/bucketAccelerateConfigurationV2.js +103 -0
- package/s3/bucketAccelerateConfigurationV2.js.map +1 -0
- package/s3/bucketAcl.js +1 -1
- package/s3/bucketAcl.js.map +1 -1
- package/s3/bucketAclV2.d.ts +241 -0
- package/s3/bucketAclV2.js +207 -0
- package/s3/bucketAclV2.js.map +1 -0
- package/s3/bucketCorsConfiguration.js +1 -1
- package/s3/bucketCorsConfiguration.js.map +1 -1
- package/s3/bucketCorsConfigurationV2.d.ts +141 -0
- package/s3/bucketCorsConfigurationV2.js +120 -0
- package/s3/bucketCorsConfigurationV2.js.map +1 -0
- package/s3/bucketLifecycleConfiguration.js +1 -1
- package/s3/bucketLifecycleConfiguration.js.map +1 -1
- package/s3/bucketLifecycleConfigurationV2.d.ts +437 -0
- package/s3/bucketLifecycleConfigurationV2.js +402 -0
- package/s3/bucketLifecycleConfigurationV2.js.map +1 -0
- package/s3/bucketLogging.js +1 -1
- package/s3/bucketLogging.js.map +1 -1
- package/s3/bucketLoggingV2.d.ts +174 -0
- package/s3/bucketLoggingV2.js +126 -0
- package/s3/bucketLoggingV2.js.map +1 -0
- package/s3/bucketObjectLockConfiguration.js +1 -1
- package/s3/bucketObjectLockConfiguration.js.map +1 -1
- package/s3/bucketObjectLockConfigurationV2.d.ts +164 -0
- package/s3/bucketObjectLockConfigurationV2.js +119 -0
- package/s3/bucketObjectLockConfigurationV2.js.map +1 -0
- package/s3/bucketRequestPaymentConfiguration.js +1 -1
- package/s3/bucketRequestPaymentConfiguration.js.map +1 -1
- package/s3/bucketRequestPaymentConfigurationV2.d.ts +123 -0
- package/s3/bucketRequestPaymentConfigurationV2.js +104 -0
- package/s3/bucketRequestPaymentConfigurationV2.js.map +1 -0
- package/s3/bucketServerSideEncryptionConfiguration.js +1 -1
- package/s3/bucketServerSideEncryptionConfiguration.js.map +1 -1
- package/s3/bucketServerSideEncryptionConfigurationV2.d.ts +133 -0
- package/s3/bucketServerSideEncryptionConfigurationV2.js +112 -0
- package/s3/bucketServerSideEncryptionConfigurationV2.js.map +1 -0
- package/s3/bucketV2.d.ts +518 -0
- package/s3/bucketV2.js +138 -0
- package/s3/bucketV2.js.map +1 -0
- package/s3/bucketVersioning.js +1 -1
- package/s3/bucketVersioning.js.map +1 -1
- package/s3/bucketVersioningV2.d.ts +195 -0
- package/s3/bucketVersioningV2.js +164 -0
- package/s3/bucketVersioningV2.js.map +1 -0
- package/s3/bucketWebsiteConfiguration.js +1 -1
- package/s3/bucketWebsiteConfiguration.js.map +1 -1
- package/s3/bucketWebsiteConfigurationV2.d.ts +231 -0
- package/s3/bucketWebsiteConfigurationV2.js +152 -0
- package/s3/bucketWebsiteConfigurationV2.js.map +1 -0
- package/s3/index.d.ts +33 -0
- package/s3/index.js +57 -1
- package/s3/index.js.map +1 -1
- package/types/input.d.ts +781 -21
- package/types/output.d.ts +781 -21
package/types/input.d.ts
CHANGED
|
@@ -64767,6 +64767,58 @@ export declare namespace s3 {
|
|
|
64767
64767
|
*/
|
|
64768
64768
|
id: pulumi.Input<string>;
|
|
64769
64769
|
}
|
|
64770
|
+
interface BucketAclV2AccessControlPolicy {
|
|
64771
|
+
/**
|
|
64772
|
+
* Set of `grant` configuration blocks. See below.
|
|
64773
|
+
*/
|
|
64774
|
+
grants?: pulumi.Input<pulumi.Input<inputs.s3.BucketAclV2AccessControlPolicyGrant>[]>;
|
|
64775
|
+
/**
|
|
64776
|
+
* Configuration block for the bucket owner's display name and ID. See below.
|
|
64777
|
+
*/
|
|
64778
|
+
owner: pulumi.Input<inputs.s3.BucketAclV2AccessControlPolicyOwner>;
|
|
64779
|
+
}
|
|
64780
|
+
interface BucketAclV2AccessControlPolicyGrant {
|
|
64781
|
+
/**
|
|
64782
|
+
* Configuration block for the person being granted permissions. See below.
|
|
64783
|
+
*/
|
|
64784
|
+
grantee?: pulumi.Input<inputs.s3.BucketAclV2AccessControlPolicyGrantGrantee>;
|
|
64785
|
+
/**
|
|
64786
|
+
* Logging permissions assigned to the grantee for the bucket. Valid values: `FULL_CONTROL`, `WRITE`, `WRITE_ACP`, `READ`, `READ_ACP`. See [What permissions can I grant?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#permissions) for more details about what each permission means in the context of buckets.
|
|
64787
|
+
*/
|
|
64788
|
+
permission: pulumi.Input<string>;
|
|
64789
|
+
}
|
|
64790
|
+
interface BucketAclV2AccessControlPolicyGrantGrantee {
|
|
64791
|
+
/**
|
|
64792
|
+
* Display name of the owner.
|
|
64793
|
+
*/
|
|
64794
|
+
displayName?: pulumi.Input<string>;
|
|
64795
|
+
/**
|
|
64796
|
+
* Email address of the grantee. See [Regions and Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) for supported AWS regions where this argument can be specified.
|
|
64797
|
+
*/
|
|
64798
|
+
emailAddress?: pulumi.Input<string>;
|
|
64799
|
+
/**
|
|
64800
|
+
* Canonical user ID of the grantee.
|
|
64801
|
+
*/
|
|
64802
|
+
id?: pulumi.Input<string>;
|
|
64803
|
+
/**
|
|
64804
|
+
* Type of grantee. Valid values: `CanonicalUser`, `AmazonCustomerByEmail`, `Group`.
|
|
64805
|
+
*/
|
|
64806
|
+
type: pulumi.Input<string>;
|
|
64807
|
+
/**
|
|
64808
|
+
* URI of the grantee group.
|
|
64809
|
+
*/
|
|
64810
|
+
uri?: pulumi.Input<string>;
|
|
64811
|
+
}
|
|
64812
|
+
interface BucketAclV2AccessControlPolicyOwner {
|
|
64813
|
+
/**
|
|
64814
|
+
* Display name of the owner.
|
|
64815
|
+
*/
|
|
64816
|
+
displayName?: pulumi.Input<string>;
|
|
64817
|
+
/**
|
|
64818
|
+
* ID of the owner.
|
|
64819
|
+
*/
|
|
64820
|
+
id: pulumi.Input<string>;
|
|
64821
|
+
}
|
|
64770
64822
|
interface BucketCorsConfigurationCorsRule {
|
|
64771
64823
|
/**
|
|
64772
64824
|
* Set of Headers that are specified in the `Access-Control-Request-Headers` header.
|
|
@@ -64793,6 +64845,32 @@ export declare namespace s3 {
|
|
|
64793
64845
|
*/
|
|
64794
64846
|
maxAgeSeconds?: pulumi.Input<number>;
|
|
64795
64847
|
}
|
|
64848
|
+
interface BucketCorsConfigurationV2CorsRule {
|
|
64849
|
+
/**
|
|
64850
|
+
* Set of Headers that are specified in the `Access-Control-Request-Headers` header.
|
|
64851
|
+
*/
|
|
64852
|
+
allowedHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
64853
|
+
/**
|
|
64854
|
+
* Set of HTTP methods that you allow the origin to execute. Valid values are `GET`, `PUT`, `HEAD`, `POST`, and `DELETE`.
|
|
64855
|
+
*/
|
|
64856
|
+
allowedMethods: pulumi.Input<pulumi.Input<string>[]>;
|
|
64857
|
+
/**
|
|
64858
|
+
* Set of origins you want customers to be able to access the bucket from.
|
|
64859
|
+
*/
|
|
64860
|
+
allowedOrigins: pulumi.Input<pulumi.Input<string>[]>;
|
|
64861
|
+
/**
|
|
64862
|
+
* Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript `XMLHttpRequest` object).
|
|
64863
|
+
*/
|
|
64864
|
+
exposeHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
64865
|
+
/**
|
|
64866
|
+
* Unique identifier for the rule. The value cannot be longer than 255 characters.
|
|
64867
|
+
*/
|
|
64868
|
+
id?: pulumi.Input<string>;
|
|
64869
|
+
/**
|
|
64870
|
+
* Time in seconds that your browser is to cache the preflight response for the specified resource.
|
|
64871
|
+
*/
|
|
64872
|
+
maxAgeSeconds?: pulumi.Input<number>;
|
|
64873
|
+
}
|
|
64796
64874
|
interface BucketCorsRule {
|
|
64797
64875
|
/**
|
|
64798
64876
|
* List of headers allowed.
|
|
@@ -65024,6 +65102,175 @@ export declare namespace s3 {
|
|
|
65024
65102
|
*/
|
|
65025
65103
|
update?: pulumi.Input<string>;
|
|
65026
65104
|
}
|
|
65105
|
+
interface BucketLifecycleConfigurationV2Rule {
|
|
65106
|
+
/**
|
|
65107
|
+
* Configuration block that specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. See below.
|
|
65108
|
+
*/
|
|
65109
|
+
abortIncompleteMultipartUpload?: pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleAbortIncompleteMultipartUpload>;
|
|
65110
|
+
/**
|
|
65111
|
+
* Configuration block that specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker. See below.
|
|
65112
|
+
*/
|
|
65113
|
+
expiration?: pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleExpiration>;
|
|
65114
|
+
/**
|
|
65115
|
+
* Configuration block used to identify objects that a Lifecycle Rule applies to.
|
|
65116
|
+
* See below.
|
|
65117
|
+
* If not specified, the `rule` will default to using `prefix`.
|
|
65118
|
+
* One of `filter` or `prefix` should be specified.
|
|
65119
|
+
*/
|
|
65120
|
+
filter?: pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleFilter>;
|
|
65121
|
+
/**
|
|
65122
|
+
* Unique identifier for the rule. The value cannot be longer than 255 characters.
|
|
65123
|
+
*/
|
|
65124
|
+
id: pulumi.Input<string>;
|
|
65125
|
+
/**
|
|
65126
|
+
* Configuration block that specifies when noncurrent object versions expire. See below.
|
|
65127
|
+
*/
|
|
65128
|
+
noncurrentVersionExpiration?: pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleNoncurrentVersionExpiration>;
|
|
65129
|
+
/**
|
|
65130
|
+
* Set of configuration blocks that specify the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. See below.
|
|
65131
|
+
*/
|
|
65132
|
+
noncurrentVersionTransitions?: pulumi.Input<pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleNoncurrentVersionTransition>[]>;
|
|
65133
|
+
/**
|
|
65134
|
+
* **DEPRECATED** Use `filter` instead.
|
|
65135
|
+
* This has been deprecated by Amazon S3.
|
|
65136
|
+
* Prefix identifying one or more objects to which the rule applies.
|
|
65137
|
+
* Defaults to an empty string (`""`) if `filter` is not specified.
|
|
65138
|
+
* One of `prefix` or `filter` should be specified.
|
|
65139
|
+
*
|
|
65140
|
+
* @deprecated Specify a prefix using 'filter' instead
|
|
65141
|
+
*/
|
|
65142
|
+
prefix?: pulumi.Input<string>;
|
|
65143
|
+
/**
|
|
65144
|
+
* Whether the rule is currently being applied. Valid values: `Enabled` or `Disabled`.
|
|
65145
|
+
*/
|
|
65146
|
+
status: pulumi.Input<string>;
|
|
65147
|
+
/**
|
|
65148
|
+
* Set of configuration blocks that specify when an Amazon S3 object transitions to a specified storage class. See below.
|
|
65149
|
+
*/
|
|
65150
|
+
transitions?: pulumi.Input<pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleTransition>[]>;
|
|
65151
|
+
}
|
|
65152
|
+
interface BucketLifecycleConfigurationV2RuleAbortIncompleteMultipartUpload {
|
|
65153
|
+
/**
|
|
65154
|
+
* Number of days after which Amazon S3 aborts an incomplete multipart upload.
|
|
65155
|
+
*/
|
|
65156
|
+
daysAfterInitiation?: pulumi.Input<number>;
|
|
65157
|
+
}
|
|
65158
|
+
interface BucketLifecycleConfigurationV2RuleExpiration {
|
|
65159
|
+
/**
|
|
65160
|
+
* Date the object is to be moved or deleted. The date value must be in [RFC3339 full-date format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) e.g. `2023-08-22`.
|
|
65161
|
+
*/
|
|
65162
|
+
date?: pulumi.Input<string>;
|
|
65163
|
+
/**
|
|
65164
|
+
* Lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
|
|
65165
|
+
*/
|
|
65166
|
+
days?: pulumi.Input<number>;
|
|
65167
|
+
/**
|
|
65168
|
+
* Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to `true`, the delete marker will be expired; if set to `false` the policy takes no action.
|
|
65169
|
+
*/
|
|
65170
|
+
expiredObjectDeleteMarker?: pulumi.Input<boolean>;
|
|
65171
|
+
}
|
|
65172
|
+
interface BucketLifecycleConfigurationV2RuleFilter {
|
|
65173
|
+
/**
|
|
65174
|
+
* Configuration block used to apply a logical `AND` to two or more predicates. See below. The Lifecycle Rule will apply to any object matching all the predicates configured inside the `and` block.
|
|
65175
|
+
*/
|
|
65176
|
+
and?: pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleFilterAnd>;
|
|
65177
|
+
/**
|
|
65178
|
+
* Minimum object size (in bytes) to which the rule applies.
|
|
65179
|
+
*/
|
|
65180
|
+
objectSizeGreaterThan?: pulumi.Input<number>;
|
|
65181
|
+
/**
|
|
65182
|
+
* Maximum object size (in bytes) to which the rule applies.
|
|
65183
|
+
*/
|
|
65184
|
+
objectSizeLessThan?: pulumi.Input<number>;
|
|
65185
|
+
/**
|
|
65186
|
+
* Prefix identifying one or more objects to which the rule applies. Defaults to an empty string (`""`) if not specified.
|
|
65187
|
+
*/
|
|
65188
|
+
prefix?: pulumi.Input<string>;
|
|
65189
|
+
/**
|
|
65190
|
+
* Configuration block for specifying a tag key and value. See below.
|
|
65191
|
+
*/
|
|
65192
|
+
tag?: pulumi.Input<inputs.s3.BucketLifecycleConfigurationV2RuleFilterTag>;
|
|
65193
|
+
}
|
|
65194
|
+
interface BucketLifecycleConfigurationV2RuleFilterAnd {
|
|
65195
|
+
/**
|
|
65196
|
+
* Minimum object size to which the rule applies. Value must be at least `0` if specified. Defaults to 128000 (128 KB) for all `storageClass` values unless `transitionDefaultMinimumObjectSize` specifies otherwise.
|
|
65197
|
+
*/
|
|
65198
|
+
objectSizeGreaterThan?: pulumi.Input<number>;
|
|
65199
|
+
/**
|
|
65200
|
+
* Maximum object size to which the rule applies. Value must be at least `1` if specified.
|
|
65201
|
+
*/
|
|
65202
|
+
objectSizeLessThan?: pulumi.Input<number>;
|
|
65203
|
+
/**
|
|
65204
|
+
* Prefix identifying one or more objects to which the rule applies.
|
|
65205
|
+
*/
|
|
65206
|
+
prefix?: pulumi.Input<string>;
|
|
65207
|
+
/**
|
|
65208
|
+
* Key-value map of resource tags.
|
|
65209
|
+
* All of these tags must exist in the object's tag set in order for the rule to apply.
|
|
65210
|
+
* If set, must contain at least one key-value pair.
|
|
65211
|
+
*/
|
|
65212
|
+
tags?: pulumi.Input<{
|
|
65213
|
+
[key: string]: pulumi.Input<string>;
|
|
65214
|
+
}>;
|
|
65215
|
+
}
|
|
65216
|
+
interface BucketLifecycleConfigurationV2RuleFilterTag {
|
|
65217
|
+
/**
|
|
65218
|
+
* Name of the object key.
|
|
65219
|
+
*/
|
|
65220
|
+
key: pulumi.Input<string>;
|
|
65221
|
+
/**
|
|
65222
|
+
* Value of the tag.
|
|
65223
|
+
*/
|
|
65224
|
+
value: pulumi.Input<string>;
|
|
65225
|
+
}
|
|
65226
|
+
interface BucketLifecycleConfigurationV2RuleNoncurrentVersionExpiration {
|
|
65227
|
+
/**
|
|
65228
|
+
* Number of noncurrent versions Amazon S3 will retain. Must be a non-zero positive integer.
|
|
65229
|
+
*/
|
|
65230
|
+
newerNoncurrentVersions?: pulumi.Input<number>;
|
|
65231
|
+
/**
|
|
65232
|
+
* Number of days an object is noncurrent before Amazon S3 can perform the associated action. Must be a positive integer.
|
|
65233
|
+
*/
|
|
65234
|
+
noncurrentDays: pulumi.Input<number>;
|
|
65235
|
+
}
|
|
65236
|
+
interface BucketLifecycleConfigurationV2RuleNoncurrentVersionTransition {
|
|
65237
|
+
/**
|
|
65238
|
+
* Number of noncurrent versions Amazon S3 will retain. Must be a non-zero positive integer.
|
|
65239
|
+
*/
|
|
65240
|
+
newerNoncurrentVersions?: pulumi.Input<number>;
|
|
65241
|
+
/**
|
|
65242
|
+
* Number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
|
65243
|
+
*/
|
|
65244
|
+
noncurrentDays: pulumi.Input<number>;
|
|
65245
|
+
/**
|
|
65246
|
+
* Class of storage used to store the object. Valid Values: `GLACIER`, `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `DEEP_ARCHIVE`, `GLACIER_IR`.
|
|
65247
|
+
*/
|
|
65248
|
+
storageClass: pulumi.Input<string>;
|
|
65249
|
+
}
|
|
65250
|
+
interface BucketLifecycleConfigurationV2RuleTransition {
|
|
65251
|
+
/**
|
|
65252
|
+
* Date objects are transitioned to the specified storage class. The date value must be in [RFC3339 full-date format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) e.g. `2023-08-22`.
|
|
65253
|
+
*/
|
|
65254
|
+
date?: pulumi.Input<string>;
|
|
65255
|
+
/**
|
|
65256
|
+
* Number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. If both `days` and `date` are not specified, defaults to `0`. Valid values depend on `storageClass`, see [Transition objects using Amazon S3 Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html) for more details.
|
|
65257
|
+
*/
|
|
65258
|
+
days?: pulumi.Input<number>;
|
|
65259
|
+
/**
|
|
65260
|
+
* Class of storage used to store the object. Valid Values: `GLACIER`, `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `DEEP_ARCHIVE`, `GLACIER_IR`.
|
|
65261
|
+
*/
|
|
65262
|
+
storageClass: pulumi.Input<string>;
|
|
65263
|
+
}
|
|
65264
|
+
interface BucketLifecycleConfigurationV2Timeouts {
|
|
65265
|
+
/**
|
|
65266
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
65267
|
+
*/
|
|
65268
|
+
create?: pulumi.Input<string>;
|
|
65269
|
+
/**
|
|
65270
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
65271
|
+
*/
|
|
65272
|
+
update?: pulumi.Input<string>;
|
|
65273
|
+
}
|
|
65027
65274
|
interface BucketLifecycleRule {
|
|
65028
65275
|
/**
|
|
65029
65276
|
* Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
@@ -65165,41 +65412,88 @@ export declare namespace s3 {
|
|
|
65165
65412
|
}
|
|
65166
65413
|
interface BucketLoggingTargetObjectKeyFormatSimplePrefix {
|
|
65167
65414
|
}
|
|
65168
|
-
interface
|
|
65169
|
-
/**
|
|
65170
|
-
* S3 Access Point ARN for filtering (singular).
|
|
65171
|
-
*/
|
|
65172
|
-
accessPoint?: pulumi.Input<string>;
|
|
65415
|
+
interface BucketLoggingV2TargetGrant {
|
|
65173
65416
|
/**
|
|
65174
|
-
*
|
|
65417
|
+
* Configuration block for the person being granted permissions. See below.
|
|
65175
65418
|
*/
|
|
65176
|
-
|
|
65419
|
+
grantee: pulumi.Input<inputs.s3.BucketLoggingV2TargetGrantGrantee>;
|
|
65177
65420
|
/**
|
|
65178
|
-
*
|
|
65421
|
+
* Logging permissions assigned to the grantee for the bucket. Valid values: `FULL_CONTROL`, `READ`, `WRITE`.
|
|
65179
65422
|
*/
|
|
65180
|
-
|
|
65181
|
-
[key: string]: pulumi.Input<string>;
|
|
65182
|
-
}>;
|
|
65423
|
+
permission: pulumi.Input<string>;
|
|
65183
65424
|
}
|
|
65184
|
-
interface
|
|
65425
|
+
interface BucketLoggingV2TargetGrantGrantee {
|
|
65426
|
+
displayName?: pulumi.Input<string>;
|
|
65185
65427
|
/**
|
|
65186
|
-
* [
|
|
65428
|
+
* Email address of the grantee. See [Regions and Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) for supported AWS regions where this argument can be specified.
|
|
65187
65429
|
*/
|
|
65188
|
-
|
|
65430
|
+
emailAddress?: pulumi.Input<string>;
|
|
65189
65431
|
/**
|
|
65190
|
-
*
|
|
65432
|
+
* Canonical user ID of the grantee.
|
|
65191
65433
|
*/
|
|
65192
|
-
|
|
65434
|
+
id?: pulumi.Input<string>;
|
|
65193
65435
|
/**
|
|
65194
|
-
*
|
|
65436
|
+
* Type of grantee. Valid values: `CanonicalUser`, `AmazonCustomerByEmail`, `Group`.
|
|
65195
65437
|
*/
|
|
65196
|
-
|
|
65438
|
+
type: pulumi.Input<string>;
|
|
65197
65439
|
/**
|
|
65198
|
-
*
|
|
65440
|
+
* URI of the grantee group.
|
|
65199
65441
|
*/
|
|
65200
|
-
|
|
65442
|
+
uri?: pulumi.Input<string>;
|
|
65443
|
+
}
|
|
65444
|
+
interface BucketLoggingV2TargetObjectKeyFormat {
|
|
65201
65445
|
/**
|
|
65202
|
-
*
|
|
65446
|
+
* Partitioned S3 key for log objects. See below.
|
|
65447
|
+
*/
|
|
65448
|
+
partitionedPrefix?: pulumi.Input<inputs.s3.BucketLoggingV2TargetObjectKeyFormatPartitionedPrefix>;
|
|
65449
|
+
/**
|
|
65450
|
+
* Use the simple format for S3 keys for log objects. To use, set `simplePrefix {}`.
|
|
65451
|
+
*/
|
|
65452
|
+
simplePrefix?: pulumi.Input<inputs.s3.BucketLoggingV2TargetObjectKeyFormatSimplePrefix>;
|
|
65453
|
+
}
|
|
65454
|
+
interface BucketLoggingV2TargetObjectKeyFormatPartitionedPrefix {
|
|
65455
|
+
/**
|
|
65456
|
+
* Specifies the partition date source for the partitioned prefix. Valid values: `EventTime`, `DeliveryTime`.
|
|
65457
|
+
*/
|
|
65458
|
+
partitionDateSource: pulumi.Input<string>;
|
|
65459
|
+
}
|
|
65460
|
+
interface BucketLoggingV2TargetObjectKeyFormatSimplePrefix {
|
|
65461
|
+
}
|
|
65462
|
+
interface BucketMetricFilter {
|
|
65463
|
+
/**
|
|
65464
|
+
* S3 Access Point ARN for filtering (singular).
|
|
65465
|
+
*/
|
|
65466
|
+
accessPoint?: pulumi.Input<string>;
|
|
65467
|
+
/**
|
|
65468
|
+
* Object prefix for filtering (singular).
|
|
65469
|
+
*/
|
|
65470
|
+
prefix?: pulumi.Input<string>;
|
|
65471
|
+
/**
|
|
65472
|
+
* Object tags for filtering (up to 10).
|
|
65473
|
+
*/
|
|
65474
|
+
tags?: pulumi.Input<{
|
|
65475
|
+
[key: string]: pulumi.Input<string>;
|
|
65476
|
+
}>;
|
|
65477
|
+
}
|
|
65478
|
+
interface BucketNotificationLambdaFunction {
|
|
65479
|
+
/**
|
|
65480
|
+
* [Event](http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations) for which to send notifications.
|
|
65481
|
+
*/
|
|
65482
|
+
events: pulumi.Input<pulumi.Input<string>[]>;
|
|
65483
|
+
/**
|
|
65484
|
+
* Object key name prefix.
|
|
65485
|
+
*/
|
|
65486
|
+
filterPrefix?: pulumi.Input<string>;
|
|
65487
|
+
/**
|
|
65488
|
+
* Object key name suffix.
|
|
65489
|
+
*/
|
|
65490
|
+
filterSuffix?: pulumi.Input<string>;
|
|
65491
|
+
/**
|
|
65492
|
+
* Unique identifier for each of the notification configurations.
|
|
65493
|
+
*/
|
|
65494
|
+
id?: pulumi.Input<string>;
|
|
65495
|
+
/**
|
|
65496
|
+
* Lambda function ARN.
|
|
65203
65497
|
*/
|
|
65204
65498
|
lambdaFunctionArn?: pulumi.Input<string>;
|
|
65205
65499
|
}
|
|
@@ -65281,6 +65575,26 @@ export declare namespace s3 {
|
|
|
65281
65575
|
*/
|
|
65282
65576
|
years?: pulumi.Input<number>;
|
|
65283
65577
|
}
|
|
65578
|
+
interface BucketObjectLockConfigurationV2Rule {
|
|
65579
|
+
/**
|
|
65580
|
+
* Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket. See below.
|
|
65581
|
+
*/
|
|
65582
|
+
defaultRetention: pulumi.Input<inputs.s3.BucketObjectLockConfigurationV2RuleDefaultRetention>;
|
|
65583
|
+
}
|
|
65584
|
+
interface BucketObjectLockConfigurationV2RuleDefaultRetention {
|
|
65585
|
+
/**
|
|
65586
|
+
* Number of days that you want to specify for the default retention period.
|
|
65587
|
+
*/
|
|
65588
|
+
days?: pulumi.Input<number>;
|
|
65589
|
+
/**
|
|
65590
|
+
* Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Valid values: `COMPLIANCE`, `GOVERNANCE`.
|
|
65591
|
+
*/
|
|
65592
|
+
mode?: pulumi.Input<string>;
|
|
65593
|
+
/**
|
|
65594
|
+
* Number of years that you want to specify for the default retention period.
|
|
65595
|
+
*/
|
|
65596
|
+
years?: pulumi.Input<number>;
|
|
65597
|
+
}
|
|
65284
65598
|
interface BucketObjectv2OverrideProvider {
|
|
65285
65599
|
/**
|
|
65286
65600
|
* Override the provider `defaultTags` configuration block.
|
|
@@ -65641,6 +65955,376 @@ export declare namespace s3 {
|
|
|
65641
65955
|
*/
|
|
65642
65956
|
sseAlgorithm: pulumi.Input<string>;
|
|
65643
65957
|
}
|
|
65958
|
+
interface BucketServerSideEncryptionConfigurationV2Rule {
|
|
65959
|
+
/**
|
|
65960
|
+
* Single object for setting server-side encryption by default. See below.
|
|
65961
|
+
*/
|
|
65962
|
+
applyServerSideEncryptionByDefault?: pulumi.Input<inputs.s3.BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefault>;
|
|
65963
|
+
/**
|
|
65964
|
+
* Whether or not to use [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) for SSE-KMS.
|
|
65965
|
+
*/
|
|
65966
|
+
bucketKeyEnabled?: pulumi.Input<boolean>;
|
|
65967
|
+
}
|
|
65968
|
+
interface BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefault {
|
|
65969
|
+
/**
|
|
65970
|
+
* 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`.
|
|
65971
|
+
*/
|
|
65972
|
+
kmsMasterKeyId?: pulumi.Input<string>;
|
|
65973
|
+
/**
|
|
65974
|
+
* Server-side encryption algorithm to use. Valid values are `AES256`, `aws:kms`, and `aws:kms:dsse`
|
|
65975
|
+
*/
|
|
65976
|
+
sseAlgorithm: pulumi.Input<string>;
|
|
65977
|
+
}
|
|
65978
|
+
interface BucketV2CorsRule {
|
|
65979
|
+
/**
|
|
65980
|
+
* List of headers allowed.
|
|
65981
|
+
*/
|
|
65982
|
+
allowedHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
65983
|
+
/**
|
|
65984
|
+
* One or more HTTP methods that you allow the origin to execute. Can be `GET`, `PUT`, `POST`, `DELETE` or `HEAD`.
|
|
65985
|
+
*/
|
|
65986
|
+
allowedMethods: pulumi.Input<pulumi.Input<string>[]>;
|
|
65987
|
+
/**
|
|
65988
|
+
* One or more origins you want customers to be able to access the bucket from.
|
|
65989
|
+
*/
|
|
65990
|
+
allowedOrigins: pulumi.Input<pulumi.Input<string>[]>;
|
|
65991
|
+
/**
|
|
65992
|
+
* One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript `XMLHttpRequest` object).
|
|
65993
|
+
*/
|
|
65994
|
+
exposeHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
65995
|
+
/**
|
|
65996
|
+
* Specifies time in seconds that browser can cache the response for a preflight request.
|
|
65997
|
+
*/
|
|
65998
|
+
maxAgeSeconds?: pulumi.Input<number>;
|
|
65999
|
+
}
|
|
66000
|
+
interface BucketV2Grant {
|
|
66001
|
+
/**
|
|
66002
|
+
* Canonical user id to grant for. Used only when `type` is `CanonicalUser`.
|
|
66003
|
+
*/
|
|
66004
|
+
id?: pulumi.Input<string>;
|
|
66005
|
+
/**
|
|
66006
|
+
* List of permissions to apply for grantee. Valid values are `READ`, `WRITE`, `READ_ACP`, `WRITE_ACP`, `FULL_CONTROL`.
|
|
66007
|
+
*/
|
|
66008
|
+
permissions: pulumi.Input<pulumi.Input<string>[]>;
|
|
66009
|
+
/**
|
|
66010
|
+
* Type of grantee to apply for. Valid values are `CanonicalUser` and `Group`. `AmazonCustomerByEmail` is not supported.
|
|
66011
|
+
*/
|
|
66012
|
+
type: pulumi.Input<string>;
|
|
66013
|
+
/**
|
|
66014
|
+
* Uri address to grant for. Used only when `type` is `Group`.
|
|
66015
|
+
*/
|
|
66016
|
+
uri?: pulumi.Input<string>;
|
|
66017
|
+
}
|
|
66018
|
+
interface BucketV2LifecycleRule {
|
|
66019
|
+
/**
|
|
66020
|
+
* Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
66021
|
+
*/
|
|
66022
|
+
abortIncompleteMultipartUploadDays?: pulumi.Input<number>;
|
|
66023
|
+
/**
|
|
66024
|
+
* Specifies lifecycle rule status.
|
|
66025
|
+
*/
|
|
66026
|
+
enabled: pulumi.Input<boolean>;
|
|
66027
|
+
/**
|
|
66028
|
+
* Specifies a period in the object's expire. See Expiration below for details.
|
|
66029
|
+
*/
|
|
66030
|
+
expirations?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2LifecycleRuleExpiration>[]>;
|
|
66031
|
+
/**
|
|
66032
|
+
* Unique identifier for the rule. Must be less than or equal to 255 characters in length.
|
|
66033
|
+
*/
|
|
66034
|
+
id?: pulumi.Input<string>;
|
|
66035
|
+
/**
|
|
66036
|
+
* Specifies when noncurrent object versions expire. See Noncurrent Version Expiration below for details.
|
|
66037
|
+
*/
|
|
66038
|
+
noncurrentVersionExpirations?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2LifecycleRuleNoncurrentVersionExpiration>[]>;
|
|
66039
|
+
/**
|
|
66040
|
+
* Specifies when noncurrent object versions transitions. See Noncurrent Version Transition below for details.
|
|
66041
|
+
*/
|
|
66042
|
+
noncurrentVersionTransitions?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2LifecycleRuleNoncurrentVersionTransition>[]>;
|
|
66043
|
+
/**
|
|
66044
|
+
* Object key prefix identifying one or more objects to which the rule applies.
|
|
66045
|
+
*/
|
|
66046
|
+
prefix?: pulumi.Input<string>;
|
|
66047
|
+
/**
|
|
66048
|
+
* Specifies object tags key and value.
|
|
66049
|
+
*/
|
|
66050
|
+
tags?: pulumi.Input<{
|
|
66051
|
+
[key: string]: pulumi.Input<string>;
|
|
66052
|
+
}>;
|
|
66053
|
+
/**
|
|
66054
|
+
* Specifies a period in the object's transitions. See Transition below for details.
|
|
66055
|
+
*/
|
|
66056
|
+
transitions?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2LifecycleRuleTransition>[]>;
|
|
66057
|
+
}
|
|
66058
|
+
interface BucketV2LifecycleRuleExpiration {
|
|
66059
|
+
/**
|
|
66060
|
+
* Specifies the date after which you want the corresponding action to take effect.
|
|
66061
|
+
*/
|
|
66062
|
+
date?: pulumi.Input<string>;
|
|
66063
|
+
/**
|
|
66064
|
+
* Specifies the number of days after object creation when the specific rule action takes effect.
|
|
66065
|
+
*/
|
|
66066
|
+
days?: pulumi.Input<number>;
|
|
66067
|
+
/**
|
|
66068
|
+
* On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct Amazon S3 to delete expired object delete markers. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
|
|
66069
|
+
*/
|
|
66070
|
+
expiredObjectDeleteMarker?: pulumi.Input<boolean>;
|
|
66071
|
+
}
|
|
66072
|
+
interface BucketV2LifecycleRuleNoncurrentVersionExpiration {
|
|
66073
|
+
/**
|
|
66074
|
+
* Specifies the number of days noncurrent object versions expire.
|
|
66075
|
+
*/
|
|
66076
|
+
days?: pulumi.Input<number>;
|
|
66077
|
+
}
|
|
66078
|
+
interface BucketV2LifecycleRuleNoncurrentVersionTransition {
|
|
66079
|
+
/**
|
|
66080
|
+
* Specifies the number of days noncurrent object versions transition.
|
|
66081
|
+
*/
|
|
66082
|
+
days?: pulumi.Input<number>;
|
|
66083
|
+
/**
|
|
66084
|
+
* Specifies the Amazon S3 [storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Transition.html#AmazonS3-Type-Transition-StorageClass) to which you want the object to transition.
|
|
66085
|
+
*/
|
|
66086
|
+
storageClass: pulumi.Input<string>;
|
|
66087
|
+
}
|
|
66088
|
+
interface BucketV2LifecycleRuleTransition {
|
|
66089
|
+
/**
|
|
66090
|
+
* Specifies the date after which you want the corresponding action to take effect.
|
|
66091
|
+
*/
|
|
66092
|
+
date?: pulumi.Input<string>;
|
|
66093
|
+
/**
|
|
66094
|
+
* Specifies the number of days after object creation when the specific rule action takes effect.
|
|
66095
|
+
*/
|
|
66096
|
+
days?: pulumi.Input<number>;
|
|
66097
|
+
/**
|
|
66098
|
+
* Specifies the Amazon S3 [storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Transition.html#AmazonS3-Type-Transition-StorageClass) to which you want the object to transition.
|
|
66099
|
+
*/
|
|
66100
|
+
storageClass: pulumi.Input<string>;
|
|
66101
|
+
}
|
|
66102
|
+
interface BucketV2Logging {
|
|
66103
|
+
/**
|
|
66104
|
+
* Name of the bucket that will receive the log objects.
|
|
66105
|
+
*/
|
|
66106
|
+
targetBucket: pulumi.Input<string>;
|
|
66107
|
+
/**
|
|
66108
|
+
* To specify a key prefix for log objects.
|
|
66109
|
+
*/
|
|
66110
|
+
targetPrefix?: pulumi.Input<string>;
|
|
66111
|
+
}
|
|
66112
|
+
interface BucketV2ObjectLockConfiguration {
|
|
66113
|
+
/**
|
|
66114
|
+
* Indicates whether this bucket has an Object Lock configuration enabled. Valid values are `true` or `false`. This argument is not supported in all regions or partitions.
|
|
66115
|
+
*
|
|
66116
|
+
* @deprecated object_lock_enabled is deprecated. Use the top-level parameter objectLockEnabled instead.
|
|
66117
|
+
*/
|
|
66118
|
+
objectLockEnabled?: pulumi.Input<string>;
|
|
66119
|
+
/**
|
|
66120
|
+
* Object Lock rule in place for this bucket (documented below).
|
|
66121
|
+
*
|
|
66122
|
+
* @deprecated rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.
|
|
66123
|
+
*/
|
|
66124
|
+
rules?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ObjectLockConfigurationRule>[]>;
|
|
66125
|
+
}
|
|
66126
|
+
interface BucketV2ObjectLockConfigurationRule {
|
|
66127
|
+
/**
|
|
66128
|
+
* Default retention period that you want to apply to new objects placed in this bucket (documented below).
|
|
66129
|
+
*/
|
|
66130
|
+
defaultRetentions: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ObjectLockConfigurationRuleDefaultRetention>[]>;
|
|
66131
|
+
}
|
|
66132
|
+
interface BucketV2ObjectLockConfigurationRuleDefaultRetention {
|
|
66133
|
+
/**
|
|
66134
|
+
* Number of days that you want to specify for the default retention period.
|
|
66135
|
+
*/
|
|
66136
|
+
days?: pulumi.Input<number>;
|
|
66137
|
+
/**
|
|
66138
|
+
* Default Object Lock retention mode you want to apply to new objects placed in this bucket. Valid values are `GOVERNANCE` and `COMPLIANCE`.
|
|
66139
|
+
*/
|
|
66140
|
+
mode: pulumi.Input<string>;
|
|
66141
|
+
/**
|
|
66142
|
+
* Number of years that you want to specify for the default retention period.
|
|
66143
|
+
*/
|
|
66144
|
+
years?: pulumi.Input<number>;
|
|
66145
|
+
}
|
|
66146
|
+
interface BucketV2ReplicationConfiguration {
|
|
66147
|
+
/**
|
|
66148
|
+
* ARN of the IAM role for Amazon S3 to assume when replicating the objects.
|
|
66149
|
+
*/
|
|
66150
|
+
role: pulumi.Input<string>;
|
|
66151
|
+
/**
|
|
66152
|
+
* Specifies the rules managing the replication (documented below).
|
|
66153
|
+
*/
|
|
66154
|
+
rules: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRule>[]>;
|
|
66155
|
+
}
|
|
66156
|
+
interface BucketV2ReplicationConfigurationRule {
|
|
66157
|
+
/**
|
|
66158
|
+
* Whether delete markers are replicated. The only valid value is `Enabled`. To disable, omit this argument. This argument is only valid with V2 replication configurations (i.e., when `filter` is used).
|
|
66159
|
+
*/
|
|
66160
|
+
deleteMarkerReplicationStatus?: pulumi.Input<string>;
|
|
66161
|
+
/**
|
|
66162
|
+
* Specifies the destination for the rule (documented below).
|
|
66163
|
+
*/
|
|
66164
|
+
destinations: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRuleDestination>[]>;
|
|
66165
|
+
/**
|
|
66166
|
+
* Filter that identifies subset of objects to which the replication rule applies (documented below).
|
|
66167
|
+
*/
|
|
66168
|
+
filters?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRuleFilter>[]>;
|
|
66169
|
+
/**
|
|
66170
|
+
* Unique identifier for the rule. Must be less than or equal to 255 characters in length.
|
|
66171
|
+
*/
|
|
66172
|
+
id?: pulumi.Input<string>;
|
|
66173
|
+
/**
|
|
66174
|
+
* Object keyname prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length.
|
|
66175
|
+
*/
|
|
66176
|
+
prefix?: pulumi.Input<string>;
|
|
66177
|
+
/**
|
|
66178
|
+
* 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.
|
|
66179
|
+
*/
|
|
66180
|
+
priority?: pulumi.Input<number>;
|
|
66181
|
+
/**
|
|
66182
|
+
* Specifies special object selection criteria (documented below).
|
|
66183
|
+
*/
|
|
66184
|
+
sourceSelectionCriterias?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRuleSourceSelectionCriteria>[]>;
|
|
66185
|
+
/**
|
|
66186
|
+
* Status of the rule. Either `Enabled` or `Disabled`. The rule is ignored if status is not Enabled.
|
|
66187
|
+
*/
|
|
66188
|
+
status: pulumi.Input<string>;
|
|
66189
|
+
}
|
|
66190
|
+
interface BucketV2ReplicationConfigurationRuleDestination {
|
|
66191
|
+
/**
|
|
66192
|
+
* Specifies the overrides to use for object owners on replication (documented below). Must be used in conjunction with `accountId` owner override configuration.
|
|
66193
|
+
*/
|
|
66194
|
+
accessControlTranslations?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRuleDestinationAccessControlTranslation>[]>;
|
|
66195
|
+
/**
|
|
66196
|
+
* Account ID to use for overriding the object owner on replication. Must be used in conjunction with `accessControlTranslation` override configuration.
|
|
66197
|
+
*/
|
|
66198
|
+
accountId?: pulumi.Input<string>;
|
|
66199
|
+
/**
|
|
66200
|
+
* ARN of the S3 bucket where you want Amazon S3 to store replicas of the object identified by the rule.
|
|
66201
|
+
*/
|
|
66202
|
+
bucket: pulumi.Input<string>;
|
|
66203
|
+
/**
|
|
66204
|
+
* Enables replication metrics (required for S3 RTC) (documented below).
|
|
66205
|
+
*/
|
|
66206
|
+
metrics?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRuleDestinationMetric>[]>;
|
|
66207
|
+
/**
|
|
66208
|
+
* Destination KMS encryption key ARN for SSE-KMS replication. Must be used in conjunction with
|
|
66209
|
+
* `sseKmsEncryptedObjects` source selection criteria.
|
|
66210
|
+
*/
|
|
66211
|
+
replicaKmsKeyId?: pulumi.Input<string>;
|
|
66212
|
+
/**
|
|
66213
|
+
* Enables S3 Replication Time Control (S3 RTC) (documented below).
|
|
66214
|
+
*/
|
|
66215
|
+
replicationTimes?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRuleDestinationReplicationTime>[]>;
|
|
66216
|
+
/**
|
|
66217
|
+
* The [storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Destination.html#AmazonS3-Type-Destination-StorageClass) used to store the object. By default, Amazon S3 uses the storage class of the source object to create the object replica.
|
|
66218
|
+
*/
|
|
66219
|
+
storageClass?: pulumi.Input<string>;
|
|
66220
|
+
}
|
|
66221
|
+
interface BucketV2ReplicationConfigurationRuleDestinationAccessControlTranslation {
|
|
66222
|
+
/**
|
|
66223
|
+
* Specifies the replica ownership. For default and valid values, see [PUT bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html) in the Amazon S3 API Reference. The only valid value is `Destination`.
|
|
66224
|
+
*/
|
|
66225
|
+
owner: pulumi.Input<string>;
|
|
66226
|
+
}
|
|
66227
|
+
interface BucketV2ReplicationConfigurationRuleDestinationMetric {
|
|
66228
|
+
/**
|
|
66229
|
+
* Threshold within which objects are to be replicated. The only valid value is `15`.
|
|
66230
|
+
*/
|
|
66231
|
+
minutes?: pulumi.Input<number>;
|
|
66232
|
+
/**
|
|
66233
|
+
* Status of replication metrics. Either `Enabled` or `Disabled`.
|
|
66234
|
+
*/
|
|
66235
|
+
status?: pulumi.Input<string>;
|
|
66236
|
+
}
|
|
66237
|
+
interface BucketV2ReplicationConfigurationRuleDestinationReplicationTime {
|
|
66238
|
+
/**
|
|
66239
|
+
* Threshold within which objects are to be replicated. The only valid value is `15`.
|
|
66240
|
+
*/
|
|
66241
|
+
minutes?: pulumi.Input<number>;
|
|
66242
|
+
/**
|
|
66243
|
+
* Status of RTC. Either `Enabled` or `Disabled`.
|
|
66244
|
+
*/
|
|
66245
|
+
status?: pulumi.Input<string>;
|
|
66246
|
+
}
|
|
66247
|
+
interface BucketV2ReplicationConfigurationRuleFilter {
|
|
66248
|
+
/**
|
|
66249
|
+
* Object keyname prefix that identifies subset of objects to which the rule applies. Must be less than or equal to 1024 characters in length.
|
|
66250
|
+
*/
|
|
66251
|
+
prefix?: pulumi.Input<string>;
|
|
66252
|
+
/**
|
|
66253
|
+
* A map of tags that identifies subset of objects to which the rule applies.
|
|
66254
|
+
* The rule applies only to objects having all the tags in its tagset.
|
|
66255
|
+
*/
|
|
66256
|
+
tags?: pulumi.Input<{
|
|
66257
|
+
[key: string]: pulumi.Input<string>;
|
|
66258
|
+
}>;
|
|
66259
|
+
}
|
|
66260
|
+
interface BucketV2ReplicationConfigurationRuleSourceSelectionCriteria {
|
|
66261
|
+
/**
|
|
66262
|
+
* Match SSE-KMS encrypted objects (documented below). If specified, `replicaKmsKeyId`
|
|
66263
|
+
* in `destination` must be specified as well.
|
|
66264
|
+
*/
|
|
66265
|
+
sseKmsEncryptedObjects?: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObject>[]>;
|
|
66266
|
+
}
|
|
66267
|
+
interface BucketV2ReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObject {
|
|
66268
|
+
/**
|
|
66269
|
+
* Boolean which indicates if this criteria is enabled.
|
|
66270
|
+
*/
|
|
66271
|
+
enabled: pulumi.Input<boolean>;
|
|
66272
|
+
}
|
|
66273
|
+
interface BucketV2ServerSideEncryptionConfiguration {
|
|
66274
|
+
/**
|
|
66275
|
+
* Single object for server-side encryption by default configuration. (documented below)
|
|
66276
|
+
*/
|
|
66277
|
+
rules: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ServerSideEncryptionConfigurationRule>[]>;
|
|
66278
|
+
}
|
|
66279
|
+
interface BucketV2ServerSideEncryptionConfigurationRule {
|
|
66280
|
+
/**
|
|
66281
|
+
* Single object for setting server-side encryption by default. (documented below)
|
|
66282
|
+
*/
|
|
66283
|
+
applyServerSideEncryptionByDefaults: pulumi.Input<pulumi.Input<inputs.s3.BucketV2ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault>[]>;
|
|
66284
|
+
/**
|
|
66285
|
+
* Whether or not to use [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) for SSE-KMS.
|
|
66286
|
+
*/
|
|
66287
|
+
bucketKeyEnabled?: pulumi.Input<boolean>;
|
|
66288
|
+
}
|
|
66289
|
+
interface BucketV2ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault {
|
|
66290
|
+
/**
|
|
66291
|
+
* 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`.
|
|
66292
|
+
*/
|
|
66293
|
+
kmsMasterKeyId?: pulumi.Input<string>;
|
|
66294
|
+
/**
|
|
66295
|
+
* Server-side encryption algorithm to use. Valid values are `AES256` and `aws:kms`
|
|
66296
|
+
*/
|
|
66297
|
+
sseAlgorithm: pulumi.Input<string>;
|
|
66298
|
+
}
|
|
66299
|
+
interface BucketV2Versioning {
|
|
66300
|
+
/**
|
|
66301
|
+
* Enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket.
|
|
66302
|
+
*/
|
|
66303
|
+
enabled?: pulumi.Input<boolean>;
|
|
66304
|
+
/**
|
|
66305
|
+
* Enable MFA delete for either `Change the versioning state of your bucket` or `Permanently delete an object version`. Default is `false`. This cannot be used to toggle this setting but is available to allow managed buckets to reflect the state in AWS
|
|
66306
|
+
*/
|
|
66307
|
+
mfaDelete?: pulumi.Input<boolean>;
|
|
66308
|
+
}
|
|
66309
|
+
interface BucketV2Website {
|
|
66310
|
+
/**
|
|
66311
|
+
* Absolute path to the document to return in case of a 4XX error.
|
|
66312
|
+
*/
|
|
66313
|
+
errorDocument?: pulumi.Input<string>;
|
|
66314
|
+
/**
|
|
66315
|
+
* Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders.
|
|
66316
|
+
*/
|
|
66317
|
+
indexDocument?: pulumi.Input<string>;
|
|
66318
|
+
/**
|
|
66319
|
+
* 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.
|
|
66320
|
+
*/
|
|
66321
|
+
redirectAllRequestsTo?: pulumi.Input<string>;
|
|
66322
|
+
/**
|
|
66323
|
+
* JSON array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html)
|
|
66324
|
+
* describing redirect behavior and when redirects are applied.
|
|
66325
|
+
*/
|
|
66326
|
+
routingRules?: pulumi.Input<string>;
|
|
66327
|
+
}
|
|
65644
66328
|
interface BucketVersioning {
|
|
65645
66329
|
/**
|
|
65646
66330
|
* Enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket.
|
|
@@ -65651,6 +66335,16 @@ export declare namespace s3 {
|
|
|
65651
66335
|
*/
|
|
65652
66336
|
mfaDelete?: pulumi.Input<boolean>;
|
|
65653
66337
|
}
|
|
66338
|
+
interface BucketVersioningV2VersioningConfiguration {
|
|
66339
|
+
/**
|
|
66340
|
+
* Specifies whether MFA delete is enabled in the bucket versioning configuration. Valid values: `Enabled` or `Disabled`.
|
|
66341
|
+
*/
|
|
66342
|
+
mfaDelete?: pulumi.Input<string>;
|
|
66343
|
+
/**
|
|
66344
|
+
* Versioning state of the bucket. Valid values: `Enabled`, `Suspended`, or `Disabled`. `Disabled` should only be used when creating or importing resources that correspond to unversioned S3 buckets.
|
|
66345
|
+
*/
|
|
66346
|
+
status: pulumi.Input<string>;
|
|
66347
|
+
}
|
|
65654
66348
|
interface BucketVersioningVersioningConfiguration {
|
|
65655
66349
|
/**
|
|
65656
66350
|
* Specifies whether MFA delete is enabled in the bucket versioning configuration. Valid values: `Enabled` or `Disabled`.
|
|
@@ -65746,6 +66440,72 @@ export declare namespace s3 {
|
|
|
65746
66440
|
*/
|
|
65747
66441
|
replaceKeyWith?: pulumi.Input<string>;
|
|
65748
66442
|
}
|
|
66443
|
+
interface BucketWebsiteConfigurationV2ErrorDocument {
|
|
66444
|
+
/**
|
|
66445
|
+
* Object key name to use when a 4XX class error occurs.
|
|
66446
|
+
*/
|
|
66447
|
+
key: pulumi.Input<string>;
|
|
66448
|
+
}
|
|
66449
|
+
interface BucketWebsiteConfigurationV2IndexDocument {
|
|
66450
|
+
/**
|
|
66451
|
+
* Suffix that is appended to a request that is for a directory on the website endpoint.
|
|
66452
|
+
* For example, if the suffix is `index.html` and you make a request to `samplebucket/images/`, the data that is returned will be for the object with the key name `images/index.html`.
|
|
66453
|
+
* The suffix must not be empty and must not include a slash character.
|
|
66454
|
+
*/
|
|
66455
|
+
suffix: pulumi.Input<string>;
|
|
66456
|
+
}
|
|
66457
|
+
interface BucketWebsiteConfigurationV2RedirectAllRequestsTo {
|
|
66458
|
+
/**
|
|
66459
|
+
* Name of the host where requests are redirected.
|
|
66460
|
+
*/
|
|
66461
|
+
hostName: pulumi.Input<string>;
|
|
66462
|
+
/**
|
|
66463
|
+
* Protocol to use when redirecting requests. The default is the protocol that is used in the original request. Valid values: `http`, `https`.
|
|
66464
|
+
*/
|
|
66465
|
+
protocol?: pulumi.Input<string>;
|
|
66466
|
+
}
|
|
66467
|
+
interface BucketWebsiteConfigurationV2RoutingRule {
|
|
66468
|
+
/**
|
|
66469
|
+
* Configuration block for describing a condition that must be met for the specified redirect to apply. See below.
|
|
66470
|
+
*/
|
|
66471
|
+
condition?: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2RoutingRuleCondition>;
|
|
66472
|
+
/**
|
|
66473
|
+
* Configuration block for redirect information. See below.
|
|
66474
|
+
*/
|
|
66475
|
+
redirect: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2RoutingRuleRedirect>;
|
|
66476
|
+
}
|
|
66477
|
+
interface BucketWebsiteConfigurationV2RoutingRuleCondition {
|
|
66478
|
+
/**
|
|
66479
|
+
* HTTP error code when the redirect is applied. If specified with `keyPrefixEquals`, then both must be true for the redirect to be applied.
|
|
66480
|
+
*/
|
|
66481
|
+
httpErrorCodeReturnedEquals?: pulumi.Input<string>;
|
|
66482
|
+
/**
|
|
66483
|
+
* Object key name prefix when the redirect is applied. If specified with `httpErrorCodeReturnedEquals`, then both must be true for the redirect to be applied.
|
|
66484
|
+
*/
|
|
66485
|
+
keyPrefixEquals?: pulumi.Input<string>;
|
|
66486
|
+
}
|
|
66487
|
+
interface BucketWebsiteConfigurationV2RoutingRuleRedirect {
|
|
66488
|
+
/**
|
|
66489
|
+
* Host name to use in the redirect request.
|
|
66490
|
+
*/
|
|
66491
|
+
hostName?: pulumi.Input<string>;
|
|
66492
|
+
/**
|
|
66493
|
+
* HTTP redirect code to use on the response.
|
|
66494
|
+
*/
|
|
66495
|
+
httpRedirectCode?: pulumi.Input<string>;
|
|
66496
|
+
/**
|
|
66497
|
+
* Protocol to use when redirecting requests. The default is the protocol that is used in the original request. Valid values: `http`, `https`.
|
|
66498
|
+
*/
|
|
66499
|
+
protocol?: pulumi.Input<string>;
|
|
66500
|
+
/**
|
|
66501
|
+
* Object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix `docs/` (objects in the `docs/` folder) to `documents/`, you can set a `condition` block with `keyPrefixEquals` set to `docs/` and in the `redirect` set `replaceKeyPrefixWith` to `/documents`.
|
|
66502
|
+
*/
|
|
66503
|
+
replaceKeyPrefixWith?: pulumi.Input<string>;
|
|
66504
|
+
/**
|
|
66505
|
+
* Specific object key to use in the redirect request. For example, redirect request to `error.html`.
|
|
66506
|
+
*/
|
|
66507
|
+
replaceKeyWith?: pulumi.Input<string>;
|
|
66508
|
+
}
|
|
65749
66509
|
interface DirectoryBucketLocation {
|
|
65750
66510
|
/**
|
|
65751
66511
|
* [Availability Zone ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#az-ids) or Local Zone ID.
|