Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The AWS provider must be configured with credentials to deploy and update resour
```typescript
const aws = require("@pulumi/aws");

const bucket = new aws.s3.BucketV2("mybucket");
const bucket = new aws.s3.Bucket("mybucket");
```

{{% /choosable %}}
Expand All @@ -30,7 +30,7 @@ const bucket = new aws.s3.BucketV2("mybucket");
import pulumi
import pulumi_aws as aws

bucket = aws.s3.BucketV2("bucket")
bucket = aws.s3.Bucket("bucket")
```

{{% /choosable %}}
Expand All @@ -47,7 +47,7 @@ import (

func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := s3.NewBucketV2(ctx, "bucket", &s3.BucketV2Args{})
_, err := s3.NewBucket(ctx, "bucket", &s3.BucketArgs{})
if err != nil {
return err
}
Expand All @@ -67,7 +67,7 @@ using Aws = Pulumi.Aws;

await Deployment.RunAsync(() =>
{
var bucket = new Aws.S3.BucketV2("bucket");
var bucket = new Aws.S3.Bucket("bucket");
});
```

Expand All @@ -86,7 +86,7 @@ public class App {
}

private static void stack(Context ctx) {
final var bucket = new BucketV2("my-bucket");
final var bucket = new Bucket("my-bucket");
ctx.export("bucketName", bucket.name());
}
}
Expand All @@ -99,7 +99,7 @@ public class App {
```yaml
resources:
mybucket:
type: aws:s3:BucketV2
type: aws:s3:Bucket
outputs:
bucketName: ${mybucket.name}
```
Expand Down
Loading
Loading