Skip to content

Commit

Permalink
Update aws-ts-assume-role to BucketV2 (#1693)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 authored Oct 3, 2024
1 parent 032ee3a commit c925f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-ts-assume-role/assume-role/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const provider = new aws.Provider("privileged", {
});

// Create an AWS resource (S3 Bucket)
const bucket = new aws.s3.Bucket("my-bucket", {}, {provider: provider});
const bucket = new aws.s3.BucketV2("my-bucket", {}, {provider: provider});

// Export the DNS name of the bucket
export const bucketName = bucket.bucketDomainName;

0 comments on commit c925f8d

Please sign in to comment.