@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.
Files changed (66) hide show
  1. package/ecr/index.d.ts +1 -0
  2. package/ecr/index.js +1 -0
  3. package/ecr/index.js.map +1 -1
  4. package/ecr/lifecyclePolicyDocument.d.ts +5 -0
  5. package/ecr/lifecyclePolicyDocument.js +3 -0
  6. package/ecr/lifecyclePolicyDocument.js.map +1 -0
  7. package/iam/documents.d.ts +5 -0
  8. package/package.json +2 -2
  9. package/s3/bucketAccelerateConfiguration.js +1 -1
  10. package/s3/bucketAccelerateConfiguration.js.map +1 -1
  11. package/s3/bucketAccelerateConfigurationV2.d.ts +122 -0
  12. package/s3/bucketAccelerateConfigurationV2.js +103 -0
  13. package/s3/bucketAccelerateConfigurationV2.js.map +1 -0
  14. package/s3/bucketAcl.js +1 -1
  15. package/s3/bucketAcl.js.map +1 -1
  16. package/s3/bucketAclV2.d.ts +241 -0
  17. package/s3/bucketAclV2.js +207 -0
  18. package/s3/bucketAclV2.js.map +1 -0
  19. package/s3/bucketCorsConfiguration.js +1 -1
  20. package/s3/bucketCorsConfiguration.js.map +1 -1
  21. package/s3/bucketCorsConfigurationV2.d.ts +141 -0
  22. package/s3/bucketCorsConfigurationV2.js +120 -0
  23. package/s3/bucketCorsConfigurationV2.js.map +1 -0
  24. package/s3/bucketLifecycleConfiguration.js +1 -1
  25. package/s3/bucketLifecycleConfiguration.js.map +1 -1
  26. package/s3/bucketLifecycleConfigurationV2.d.ts +437 -0
  27. package/s3/bucketLifecycleConfigurationV2.js +402 -0
  28. package/s3/bucketLifecycleConfigurationV2.js.map +1 -0
  29. package/s3/bucketLogging.js +1 -1
  30. package/s3/bucketLogging.js.map +1 -1
  31. package/s3/bucketLoggingV2.d.ts +174 -0
  32. package/s3/bucketLoggingV2.js +126 -0
  33. package/s3/bucketLoggingV2.js.map +1 -0
  34. package/s3/bucketObjectLockConfiguration.js +1 -1
  35. package/s3/bucketObjectLockConfiguration.js.map +1 -1
  36. package/s3/bucketObjectLockConfigurationV2.d.ts +164 -0
  37. package/s3/bucketObjectLockConfigurationV2.js +119 -0
  38. package/s3/bucketObjectLockConfigurationV2.js.map +1 -0
  39. package/s3/bucketRequestPaymentConfiguration.js +1 -1
  40. package/s3/bucketRequestPaymentConfiguration.js.map +1 -1
  41. package/s3/bucketRequestPaymentConfigurationV2.d.ts +123 -0
  42. package/s3/bucketRequestPaymentConfigurationV2.js +104 -0
  43. package/s3/bucketRequestPaymentConfigurationV2.js.map +1 -0
  44. package/s3/bucketServerSideEncryptionConfiguration.js +1 -1
  45. package/s3/bucketServerSideEncryptionConfiguration.js.map +1 -1
  46. package/s3/bucketServerSideEncryptionConfigurationV2.d.ts +133 -0
  47. package/s3/bucketServerSideEncryptionConfigurationV2.js +112 -0
  48. package/s3/bucketServerSideEncryptionConfigurationV2.js.map +1 -0
  49. package/s3/bucketV2.d.ts +518 -0
  50. package/s3/bucketV2.js +138 -0
  51. package/s3/bucketV2.js.map +1 -0
  52. package/s3/bucketVersioning.js +1 -1
  53. package/s3/bucketVersioning.js.map +1 -1
  54. package/s3/bucketVersioningV2.d.ts +195 -0
  55. package/s3/bucketVersioningV2.js +164 -0
  56. package/s3/bucketVersioningV2.js.map +1 -0
  57. package/s3/bucketWebsiteConfiguration.js +1 -1
  58. package/s3/bucketWebsiteConfiguration.js.map +1 -1
  59. package/s3/bucketWebsiteConfigurationV2.d.ts +231 -0
  60. package/s3/bucketWebsiteConfigurationV2.js +152 -0
  61. package/s3/bucketWebsiteConfigurationV2.js.map +1 -0
  62. package/s3/index.d.ts +33 -0
  63. package/s3/index.js +57 -1
  64. package/s3/index.js.map +1 -1
  65. package/types/input.d.ts +781 -21
  66. package/types/output.d.ts +781 -21
@@ -0,0 +1,207 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.BucketAclV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an S3 bucket ACL resource.
10
+ *
11
+ * > **Note:** destroy does not delete the S3 Bucket ACL but does remove the resource from state.
12
+ *
13
+ * > This resource cannot be used with S3 directory buckets.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ### With `private` ACL
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as aws from "@pulumi/aws";
22
+ *
23
+ * const example = new aws.s3.Bucket("example", {bucket: "my-tf-example-bucket"});
24
+ * const exampleBucketOwnershipControls = new aws.s3.BucketOwnershipControls("example", {
25
+ * bucket: example.id,
26
+ * rule: {
27
+ * objectOwnership: "BucketOwnerPreferred",
28
+ * },
29
+ * });
30
+ * const exampleBucketAcl = new aws.s3.BucketAcl("example", {
31
+ * bucket: example.id,
32
+ * acl: "private",
33
+ * }, {
34
+ * dependsOn: [exampleBucketOwnershipControls],
35
+ * });
36
+ * ```
37
+ *
38
+ * ### With `public-read` ACL
39
+ *
40
+ * > This example explicitly disables the default S3 bucket security settings. This
41
+ * should be done with caution, as all bucket objects become publicly exposed.
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as aws from "@pulumi/aws";
46
+ *
47
+ * const example = new aws.s3.Bucket("example", {bucket: "my-tf-example-bucket"});
48
+ * const exampleBucketOwnershipControls = new aws.s3.BucketOwnershipControls("example", {
49
+ * bucket: example.id,
50
+ * rule: {
51
+ * objectOwnership: "BucketOwnerPreferred",
52
+ * },
53
+ * });
54
+ * const exampleBucketPublicAccessBlock = new aws.s3.BucketPublicAccessBlock("example", {
55
+ * bucket: example.id,
56
+ * blockPublicAcls: false,
57
+ * blockPublicPolicy: false,
58
+ * ignorePublicAcls: false,
59
+ * restrictPublicBuckets: false,
60
+ * });
61
+ * const exampleBucketAcl = new aws.s3.BucketAcl("example", {
62
+ * bucket: example.id,
63
+ * acl: "public-read",
64
+ * }, {
65
+ * dependsOn: [
66
+ * exampleBucketOwnershipControls,
67
+ * exampleBucketPublicAccessBlock,
68
+ * ],
69
+ * });
70
+ * ```
71
+ *
72
+ * ### With Grants
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as aws from "@pulumi/aws";
77
+ *
78
+ * const current = aws.s3.getCanonicalUserId({});
79
+ * const example = new aws.s3.Bucket("example", {bucket: "my-tf-example-bucket"});
80
+ * const exampleBucketOwnershipControls = new aws.s3.BucketOwnershipControls("example", {
81
+ * bucket: example.id,
82
+ * rule: {
83
+ * objectOwnership: "BucketOwnerPreferred",
84
+ * },
85
+ * });
86
+ * const exampleBucketAcl = new aws.s3.BucketAcl("example", {
87
+ * bucket: example.id,
88
+ * accessControlPolicy: {
89
+ * grants: [
90
+ * {
91
+ * grantee: {
92
+ * id: current.then(current => current.id),
93
+ * type: "CanonicalUser",
94
+ * },
95
+ * permission: "READ",
96
+ * },
97
+ * {
98
+ * grantee: {
99
+ * type: "Group",
100
+ * uri: "http://acs.amazonaws.com/groups/s3/LogDelivery",
101
+ * },
102
+ * permission: "READ_ACP",
103
+ * },
104
+ * ],
105
+ * owner: {
106
+ * id: current.then(current => current.id),
107
+ * },
108
+ * },
109
+ * }, {
110
+ * dependsOn: [exampleBucketOwnershipControls],
111
+ * });
112
+ * ```
113
+ *
114
+ * ## Import
115
+ *
116
+ * If the owner (account ID) of the source bucket is the _same_ account used to configure the AWS Provider, and the source bucket is __configured__ with a
117
+ * [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) (i.e. predefined grant), import using the `bucket` and `acl` separated by a comma (`,`):
118
+ *
119
+ * If the owner (account ID) of the source bucket _differs_ from the account used to configure the AWS Provider, and the source bucket is __not configured__ with a [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) (i.e. predefined grant), imported using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
120
+ *
121
+ * If the owner (account ID) of the source bucket _differs_ from the account used to configure the AWS Provider, and the source bucket is __configured__ with a
122
+ * [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) (i.e. predefined grant), imported using the `bucket`, `expected_bucket_owner`, and `acl` separated by commas (`,`):
123
+ *
124
+ * __Using `pulumi import` to import__ using `bucket`, `expected_bucket_owner`, and/or `acl`, depending on your situation. For example:
125
+ *
126
+ * If the owner (account ID) of the source bucket is the _same_ account used to configure the AWS Provider, and the source bucket is __not configured__ with a
127
+ * [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) (i.e. predefined grant), import using the `bucket`:
128
+ *
129
+ * ```sh
130
+ * $ pulumi import aws:s3/bucketAclV2:BucketAclV2 example bucket-name
131
+ * ```
132
+ * If the owner (account ID) of the source bucket is the _same_ account used to configure the AWS Provider, and the source bucket is __configured__ with a [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) (i.e. predefined grant), import using the `bucket` and `acl` separated by a comma (`,`):
133
+ *
134
+ * ```sh
135
+ * $ pulumi import aws:s3/bucketAclV2:BucketAclV2 example bucket-name,private
136
+ * ```
137
+ * If the owner (account ID) of the source bucket _differs_ from the account used to configure the AWS Provider, and the source bucket is __not configured__ with a [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) (i.e. predefined grant), imported using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
138
+ *
139
+ * ```sh
140
+ * $ pulumi import aws:s3/bucketAclV2:BucketAclV2 example bucket-name,123456789012
141
+ * ```
142
+ * If the owner (account ID) of the source bucket _differs_ from the account used to configure the AWS Provider, and the source bucket is __configured__ with a [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) (i.e. predefined grant), imported using the `bucket`, `expected_bucket_owner`, and `acl` separated by commas (`,`):
143
+ *
144
+ * ```sh
145
+ * $ pulumi import aws:s3/bucketAclV2:BucketAclV2 example bucket-name,123456789012,private
146
+ * ```
147
+ *
148
+ * @deprecated aws.s3/bucketaclv2.BucketAclV2 has been deprecated in favor of aws.s3/bucketacl.BucketAcl
149
+ */
150
+ class BucketAclV2 extends pulumi.CustomResource {
151
+ /**
152
+ * Get an existing BucketAclV2 resource's state with the given name, ID, and optional extra
153
+ * properties used to qualify the lookup.
154
+ *
155
+ * @param name The _unique_ name of the resulting resource.
156
+ * @param id The _unique_ provider ID of the resource to lookup.
157
+ * @param state Any extra arguments used during the lookup.
158
+ * @param opts Optional settings to control the behavior of the CustomResource.
159
+ */
160
+ static get(name, id, state, opts) {
161
+ pulumi.log.warn("BucketAclV2 is deprecated: aws.s3/bucketaclv2.BucketAclV2 has been deprecated in favor of aws.s3/bucketacl.BucketAcl");
162
+ return new BucketAclV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
163
+ }
164
+ /**
165
+ * Returns true if the given object is an instance of BucketAclV2. This is designed to work even
166
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
167
+ */
168
+ static isInstance(obj) {
169
+ if (obj === undefined || obj === null) {
170
+ return false;
171
+ }
172
+ return obj['__pulumiType'] === BucketAclV2.__pulumiType;
173
+ }
174
+ /** @deprecated aws.s3/bucketaclv2.BucketAclV2 has been deprecated in favor of aws.s3/bucketacl.BucketAcl */
175
+ constructor(name, argsOrState, opts) {
176
+ pulumi.log.warn("BucketAclV2 is deprecated: aws.s3/bucketaclv2.BucketAclV2 has been deprecated in favor of aws.s3/bucketacl.BucketAcl");
177
+ let resourceInputs = {};
178
+ opts = opts || {};
179
+ if (opts.id) {
180
+ const state = argsOrState;
181
+ resourceInputs["accessControlPolicy"] = state ? state.accessControlPolicy : undefined;
182
+ resourceInputs["acl"] = state ? state.acl : undefined;
183
+ resourceInputs["bucket"] = state ? state.bucket : undefined;
184
+ resourceInputs["expectedBucketOwner"] = state ? state.expectedBucketOwner : undefined;
185
+ resourceInputs["region"] = state ? state.region : undefined;
186
+ }
187
+ else {
188
+ const args = argsOrState;
189
+ if ((!args || args.bucket === undefined) && !opts.urn) {
190
+ throw new Error("Missing required property 'bucket'");
191
+ }
192
+ resourceInputs["accessControlPolicy"] = args ? args.accessControlPolicy : undefined;
193
+ resourceInputs["acl"] = args ? args.acl : undefined;
194
+ resourceInputs["bucket"] = args ? args.bucket : undefined;
195
+ resourceInputs["expectedBucketOwner"] = args ? args.expectedBucketOwner : undefined;
196
+ resourceInputs["region"] = args ? args.region : undefined;
197
+ }
198
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
199
+ const aliasOpts = { aliases: [{ type: "aws:s3/bucketAclV2:BucketAclV2" }] };
200
+ opts = pulumi.mergeOptions(opts, aliasOpts);
201
+ super(BucketAclV2.__pulumiType, name, resourceInputs, opts);
202
+ }
203
+ }
204
+ exports.BucketAclV2 = BucketAclV2;
205
+ /** @internal */
206
+ BucketAclV2.__pulumiType = 'aws:s3/bucketAclV2:BucketAclV2';
207
+ //# sourceMappingURL=bucketAclV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bucketAclV2.js","sourceRoot":"","sources":["../../s3/bucketAclV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6IG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,sHA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ined;
105
105
  }
106
106
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
- const aliasOpts = { aliases: [{ type: "aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2" }, { type: "aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2" }] };
107
+ const aliasOpts = { aliases: [{ type: "aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2" }] };
108
108
  opts = pulumi.mergeOptions(opts, aliasOpts);
109
109
  super(BucketCorsConfiguration.__pulumiType, name, resourceInputs, opts);
110
110
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bucketCorsConfiguration.js","sourceRoot":"","sources":["../../s3/bucketCorsConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,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,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,4DAA4D,EAAE,CAAC,EAAE,CAAC;QACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA/EL,0DAgFC;AAlEG,gBAAgB;AACO,oCAAY,GAAG,wDAAwD,CAAC"}
@@ -0,0 +1,141 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides an S3 bucket CORS configuration resource. For more information about CORS, go to [Enabling Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/userguide/cors.html) in the Amazon S3 User Guide.
6
+ *
7
+ * > **NOTE:** S3 Buckets only support a single CORS configuration. Declaring multiple `aws.s3.BucketCorsConfiguration` resources to the same S3 Bucket will cause a perpetual difference in configuration.
8
+ *
9
+ * > This resource cannot be used with S3 directory buckets.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.s3.Bucket("example", {bucket: "mybucket"});
18
+ * const exampleBucketCorsConfiguration = new aws.s3.BucketCorsConfiguration("example", {
19
+ * bucket: example.id,
20
+ * corsRules: [
21
+ * {
22
+ * allowedHeaders: ["*"],
23
+ * allowedMethods: [
24
+ * "PUT",
25
+ * "POST",
26
+ * ],
27
+ * allowedOrigins: ["https://s3-website-test.domain.example"],
28
+ * exposeHeaders: ["ETag"],
29
+ * maxAgeSeconds: 3000,
30
+ * },
31
+ * {
32
+ * allowedMethods: ["GET"],
33
+ * allowedOrigins: ["*"],
34
+ * },
35
+ * ],
36
+ * });
37
+ * ```
38
+ *
39
+ * ## Import
40
+ *
41
+ * If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
42
+ *
43
+ * __Using `pulumi import` to import__ S3 bucket CORS configuration using the `bucket` or using the `bucket` and `expected_bucket_owner` separated by a comma (`,`). For example:
44
+ *
45
+ * If the owner (account ID) of the source bucket is the same account used to configure the AWS Provider, import using the `bucket`:
46
+ *
47
+ * ```sh
48
+ * $ pulumi import aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2 example bucket-name
49
+ * ```
50
+ * If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
51
+ *
52
+ * ```sh
53
+ * $ pulumi import aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2 example bucket-name,123456789012
54
+ * ```
55
+ *
56
+ * @deprecated aws.s3/bucketcorsconfigurationv2.BucketCorsConfigurationV2 has been deprecated in favor of aws.s3/bucketcorsconfiguration.BucketCorsConfiguration
57
+ */
58
+ export declare class BucketCorsConfigurationV2 extends pulumi.CustomResource {
59
+ /**
60
+ * Get an existing BucketCorsConfigurationV2 resource's state with the given name, ID, and optional extra
61
+ * properties used to qualify the lookup.
62
+ *
63
+ * @param name The _unique_ name of the resulting resource.
64
+ * @param id The _unique_ provider ID of the resource to lookup.
65
+ * @param state Any extra arguments used during the lookup.
66
+ * @param opts Optional settings to control the behavior of the CustomResource.
67
+ */
68
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketCorsConfigurationV2State, opts?: pulumi.CustomResourceOptions): BucketCorsConfigurationV2;
69
+ /**
70
+ * Returns true if the given object is an instance of BucketCorsConfigurationV2. This is designed to work even
71
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
+ */
73
+ static isInstance(obj: any): obj is BucketCorsConfigurationV2;
74
+ /**
75
+ * Name of the bucket.
76
+ */
77
+ readonly bucket: pulumi.Output<string>;
78
+ /**
79
+ * Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
80
+ */
81
+ readonly corsRules: pulumi.Output<outputs.s3.BucketCorsConfigurationV2CorsRule[]>;
82
+ /**
83
+ * Account ID of the expected bucket owner.
84
+ */
85
+ readonly expectedBucketOwner: pulumi.Output<string | undefined>;
86
+ /**
87
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
88
+ */
89
+ readonly region: pulumi.Output<string>;
90
+ /**
91
+ * Create a BucketCorsConfigurationV2 resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ /** @deprecated aws.s3/bucketcorsconfigurationv2.BucketCorsConfigurationV2 has been deprecated in favor of aws.s3/bucketcorsconfiguration.BucketCorsConfiguration */
98
+ constructor(name: string, args: BucketCorsConfigurationV2Args, opts?: pulumi.CustomResourceOptions);
99
+ }
100
+ /**
101
+ * Input properties used for looking up and filtering BucketCorsConfigurationV2 resources.
102
+ */
103
+ export interface BucketCorsConfigurationV2State {
104
+ /**
105
+ * Name of the bucket.
106
+ */
107
+ bucket?: pulumi.Input<string>;
108
+ /**
109
+ * Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
110
+ */
111
+ corsRules?: pulumi.Input<pulumi.Input<inputs.s3.BucketCorsConfigurationV2CorsRule>[]>;
112
+ /**
113
+ * Account ID of the expected bucket owner.
114
+ */
115
+ expectedBucketOwner?: pulumi.Input<string>;
116
+ /**
117
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
118
+ */
119
+ region?: pulumi.Input<string>;
120
+ }
121
+ /**
122
+ * The set of arguments for constructing a BucketCorsConfigurationV2 resource.
123
+ */
124
+ export interface BucketCorsConfigurationV2Args {
125
+ /**
126
+ * Name of the bucket.
127
+ */
128
+ bucket: pulumi.Input<string>;
129
+ /**
130
+ * Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
131
+ */
132
+ corsRules: pulumi.Input<pulumi.Input<inputs.s3.BucketCorsConfigurationV2CorsRule>[]>;
133
+ /**
134
+ * Account ID of the expected bucket owner.
135
+ */
136
+ expectedBucketOwner?: pulumi.Input<string>;
137
+ /**
138
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
139
+ */
140
+ region?: pulumi.Input<string>;
141
+ }
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.BucketCorsConfigurationV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an S3 bucket CORS configuration resource. For more information about CORS, go to [Enabling Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/userguide/cors.html) in the Amazon S3 User Guide.
10
+ *
11
+ * > **NOTE:** S3 Buckets only support a single CORS configuration. Declaring multiple `aws.s3.BucketCorsConfiguration` resources to the same S3 Bucket will cause a perpetual difference in configuration.
12
+ *
13
+ * > This resource cannot be used with S3 directory buckets.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as aws from "@pulumi/aws";
20
+ *
21
+ * const example = new aws.s3.Bucket("example", {bucket: "mybucket"});
22
+ * const exampleBucketCorsConfiguration = new aws.s3.BucketCorsConfiguration("example", {
23
+ * bucket: example.id,
24
+ * corsRules: [
25
+ * {
26
+ * allowedHeaders: ["*"],
27
+ * allowedMethods: [
28
+ * "PUT",
29
+ * "POST",
30
+ * ],
31
+ * allowedOrigins: ["https://s3-website-test.domain.example"],
32
+ * exposeHeaders: ["ETag"],
33
+ * maxAgeSeconds: 3000,
34
+ * },
35
+ * {
36
+ * allowedMethods: ["GET"],
37
+ * allowedOrigins: ["*"],
38
+ * },
39
+ * ],
40
+ * });
41
+ * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
46
+ *
47
+ * __Using `pulumi import` to import__ S3 bucket CORS configuration using the `bucket` or using the `bucket` and `expected_bucket_owner` separated by a comma (`,`). For example:
48
+ *
49
+ * If the owner (account ID) of the source bucket is the same account used to configure the AWS Provider, import using the `bucket`:
50
+ *
51
+ * ```sh
52
+ * $ pulumi import aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2 example bucket-name
53
+ * ```
54
+ * If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
55
+ *
56
+ * ```sh
57
+ * $ pulumi import aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2 example bucket-name,123456789012
58
+ * ```
59
+ *
60
+ * @deprecated aws.s3/bucketcorsconfigurationv2.BucketCorsConfigurationV2 has been deprecated in favor of aws.s3/bucketcorsconfiguration.BucketCorsConfiguration
61
+ */
62
+ class BucketCorsConfigurationV2 extends pulumi.CustomResource {
63
+ /**
64
+ * Get an existing BucketCorsConfigurationV2 resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name, id, state, opts) {
73
+ pulumi.log.warn("BucketCorsConfigurationV2 is deprecated: aws.s3/bucketcorsconfigurationv2.BucketCorsConfigurationV2 has been deprecated in favor of aws.s3/bucketcorsconfiguration.BucketCorsConfiguration");
74
+ return new BucketCorsConfigurationV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
75
+ }
76
+ /**
77
+ * Returns true if the given object is an instance of BucketCorsConfigurationV2. This is designed to work even
78
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
79
+ */
80
+ static isInstance(obj) {
81
+ if (obj === undefined || obj === null) {
82
+ return false;
83
+ }
84
+ return obj['__pulumiType'] === BucketCorsConfigurationV2.__pulumiType;
85
+ }
86
+ /** @deprecated aws.s3/bucketcorsconfigurationv2.BucketCorsConfigurationV2 has been deprecated in favor of aws.s3/bucketcorsconfiguration.BucketCorsConfiguration */
87
+ constructor(name, argsOrState, opts) {
88
+ pulumi.log.warn("BucketCorsConfigurationV2 is deprecated: aws.s3/bucketcorsconfigurationv2.BucketCorsConfigurationV2 has been deprecated in favor of aws.s3/bucketcorsconfiguration.BucketCorsConfiguration");
89
+ let resourceInputs = {};
90
+ opts = opts || {};
91
+ if (opts.id) {
92
+ const state = argsOrState;
93
+ resourceInputs["bucket"] = state ? state.bucket : undefined;
94
+ resourceInputs["corsRules"] = state ? state.corsRules : undefined;
95
+ resourceInputs["expectedBucketOwner"] = state ? state.expectedBucketOwner : undefined;
96
+ resourceInputs["region"] = state ? state.region : undefined;
97
+ }
98
+ else {
99
+ const args = argsOrState;
100
+ if ((!args || args.bucket === undefined) && !opts.urn) {
101
+ throw new Error("Missing required property 'bucket'");
102
+ }
103
+ if ((!args || args.corsRules === undefined) && !opts.urn) {
104
+ throw new Error("Missing required property 'corsRules'");
105
+ }
106
+ resourceInputs["bucket"] = args ? args.bucket : undefined;
107
+ resourceInputs["corsRules"] = args ? args.corsRules : undefined;
108
+ resourceInputs["expectedBucketOwner"] = args ? args.expectedBucketOwner : undefined;
109
+ resourceInputs["region"] = args ? args.region : undefined;
110
+ }
111
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
112
+ const aliasOpts = { aliases: [{ type: "aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2" }] };
113
+ opts = pulumi.mergeOptions(opts, aliasOpts);
114
+ super(BucketCorsConfigurationV2.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.BucketCorsConfigurationV2 = BucketCorsConfigurationV2;
118
+ /** @internal */
119
+ BucketCorsConfigurationV2.__pulumiType = 'aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2';
120
+ //# sourceMappingURL=bucketCorsConfigurationV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bucketCorsConfigurationV2.js","sourceRoot":"","sources":["../../s3/bucketCorsConfigurationV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4LAA4L,CAAC,CAAA;QAC7M,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK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,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,4DAA4D,EAAE,CAAC,EAAE,CAAC;QACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAnFL,8DAoFC;AArEG,gBAAgB;AACO,sCAAY,GAAG,4DAA4D,CAAC"}
@@ -386,7 +386,7 @@ class BucketLifecycleConfiguration extends pulumi.CustomResource {
386
386
  resourceInputs["transitionDefaultMinimumObjectSize"] = args ? args.transitionDefaultMinimumObjectSize : undefined;
387
387
  }
388
388
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
389
- const aliasOpts = { aliases: [{ type: "aws:s3/bucketLifecycleConfigurationV2:BucketLifecycleConfigurationV2" }, { type: "aws:s3/bucketLifecycleConfigurationV2:BucketLifecycleConfigurationV2" }] };
389
+ const aliasOpts = { aliases: [{ type: "aws:s3/bucketLifecycleConfigurationV2:BucketLifecycleConfigurationV2" }] };
390
390
  opts = pulumi.mergeOptions(opts, aliasOpts);
391
391
  super(BucketLifecycleConfiguration.__pulumiType, name, resourceInputs, opts);
392
392
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bucketLifecycleConfiguration.js","sourceRoot":"","sources":["../../s3/bucketLifecycleConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4UG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,4BAA4B,CAAC,YAAY,CAAC;IAC7E,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,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