@mstuercke/pulumi-modules 0.0.21 → 0.0.22
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/dist/auth0/Auth0.d.ts +0 -1
- package/dist/auth0/index.d.ts +0 -1
- package/dist/domain/getDomain.d.ts +0 -1
- package/dist/domain/index.d.ts +0 -1
- package/dist/iam/SimpleIamRolePolicy.d.ts +0 -1
- package/dist/iam/SimpleIamRolePolicyConfig.d.ts +0 -1
- package/dist/iam/index.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/lambda/LambdaCronTrigger.d.ts +0 -1
- package/dist/lambda/NodeLambdaFunction.d.ts +0 -1
- package/dist/lambda/WithInputs.d.ts +0 -1
- package/dist/lambda/index.d.ts +0 -1
- package/dist/mongodb/MongoDBCustomInstance.d.ts +0 -1
- package/dist/mongodb/MongoDBDefaultInstance.d.ts +0 -1
- package/dist/mongodb/MongoDBUser.d.ts +0 -1
- package/dist/mongodb/index.d.ts +0 -1
- package/dist/postgres/Postgres.d.ts +0 -1
- package/dist/postgres/index.d.ts +0 -1
- package/dist/rest/RestApi.d.ts +0 -1
- package/dist/rest/index.d.ts +0 -1
- package/dist/s3/PublicS3Bucket.d.ts +3 -4
- package/dist/s3/PublicS3Bucket.js +7 -7
- package/dist/s3/index.d.ts +0 -1
- package/dist/website/StaticWebsite.d.ts +0 -1
- package/dist/website/index.d.ts +0 -1
- package/dist/website/readFilesRecursive.d.ts +0 -1
- package/dist/websocket/WebsocketApi.d.ts +0 -1
- package/dist/websocket/index.d.ts +0 -1
- package/package.json +2 -2
package/dist/auth0/Auth0.d.ts
CHANGED
package/dist/auth0/index.d.ts
CHANGED
package/dist/domain/index.d.ts
CHANGED
|
@@ -4,4 +4,3 @@ import { type ComponentResourceOptions } from '@pulumi/pulumi';
|
|
|
4
4
|
export declare class SimpleIamRolePolicy extends iam.RolePolicy {
|
|
5
5
|
constructor(iamRoleId: string, config: SimpleIamRolePolicyConfig, opts?: ComponentResourceOptions);
|
|
6
6
|
}
|
|
7
|
-
//# sourceMappingURL=SimpleIamRolePolicy.d.ts.map
|
package/dist/iam/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/lambda/index.d.ts
CHANGED
package/dist/mongodb/index.d.ts
CHANGED
package/dist/postgres/index.d.ts
CHANGED
package/dist/rest/RestApi.d.ts
CHANGED
package/dist/rest/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s3 } from '@pulumi/aws';
|
|
2
2
|
import type { ComponentResourceOptions } from '@pulumi/pulumi';
|
|
3
3
|
type PublicS3BucketArgs = {
|
|
4
4
|
name: string;
|
|
5
5
|
allowPresignedPost?: boolean;
|
|
6
|
-
tags?: BucketArgs['tags'];
|
|
6
|
+
tags?: s3.BucketArgs['tags'];
|
|
7
7
|
};
|
|
8
|
-
export declare class PublicS3Bucket extends Bucket {
|
|
8
|
+
export declare class PublicS3Bucket extends s3.Bucket {
|
|
9
9
|
constructor(id: string, args: PublicS3BucketArgs, opts?: ComponentResourceOptions);
|
|
10
10
|
}
|
|
11
11
|
export {};
|
|
12
|
-
//# sourceMappingURL=PublicS3Bucket.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export class PublicS3Bucket extends Bucket {
|
|
1
|
+
import { s3 } from '@pulumi/aws';
|
|
2
|
+
export class PublicS3Bucket extends s3.Bucket {
|
|
3
3
|
constructor(id, args, opts) {
|
|
4
4
|
const { name, allowPresignedPost = false, tags } = args;
|
|
5
5
|
super(id, { bucket: name, tags }, opts);
|
|
6
|
-
const accessBlock = new BucketPublicAccessBlock('public-access', {
|
|
6
|
+
const accessBlock = new s3.BucketPublicAccessBlock('public-access', {
|
|
7
7
|
bucket: this.id,
|
|
8
8
|
blockPublicAcls: false,
|
|
9
9
|
blockPublicPolicy: false,
|
|
10
10
|
ignorePublicAcls: false,
|
|
11
11
|
restrictPublicBuckets: false,
|
|
12
12
|
}, { parent: this });
|
|
13
|
-
const ownershipControls = new BucketOwnershipControls('ownership', {
|
|
13
|
+
const ownershipControls = new s3.BucketOwnershipControls('ownership', {
|
|
14
14
|
bucket: this.id,
|
|
15
15
|
rule: { objectOwnership: 'BucketOwnerPreferred' },
|
|
16
16
|
}, { parent: this, dependsOn: [accessBlock] });
|
|
17
|
-
new BucketAclV2('acl', {
|
|
17
|
+
new s3.BucketAclV2('acl', {
|
|
18
18
|
bucket: this.id,
|
|
19
19
|
acl: 'public-read',
|
|
20
20
|
}, { parent: this, dependsOn: [ownershipControls] });
|
|
21
|
-
new BucketPolicy('policy', {
|
|
21
|
+
new s3.BucketPolicy('policy', {
|
|
22
22
|
bucket: this.id,
|
|
23
23
|
policy: this.arn.apply((arn) => JSON.stringify({
|
|
24
24
|
Version: '2012-10-17',
|
|
@@ -33,7 +33,7 @@ export class PublicS3Bucket extends Bucket {
|
|
|
33
33
|
],
|
|
34
34
|
})),
|
|
35
35
|
}, { parent: this, dependsOn: [accessBlock] });
|
|
36
|
-
new BucketCorsConfigurationV2('allowAll', {
|
|
36
|
+
new s3.BucketCorsConfigurationV2('allowAll', {
|
|
37
37
|
bucket: this.bucket,
|
|
38
38
|
corsRules: [
|
|
39
39
|
{
|
package/dist/s3/index.d.ts
CHANGED
package/dist/website/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mstuercke/pulumi-modules",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/!(*.test|*.fixture){.d.ts,.js}",
|
|
6
6
|
"README.md"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"mime": "^3.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@mstuercke/node-utils": "0.0.
|
|
32
|
+
"@mstuercke/node-utils": "0.0.3",
|
|
33
33
|
"typescript": "5.7.3"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|