Skip to content

Commit d0ed212

Browse files
authored
Move the authoritative source of docs for pulumi-aws into pulumi-aws (#4861)
1 parent a8a426c commit d0ed212

File tree

2 files changed

+489
-0
lines changed

2 files changed

+489
-0
lines changed

docs/_index.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
---
2+
title: AWS
3+
meta_desc: Learn how you can use Pulumi's AWS Provider to reduce the complexity of provisioning and managing resources on AWS.
4+
layout: package
5+
---
6+
7+
The Amazon Web Services (AWS) provider for Pulumi can provision many of the cloud resources available in [AWS](https://aws.amazon.com/). It uses the AWS SDK to manage and provision resources.
8+
9+
The AWS provider must be configured with credentials to deploy and update resources in AWS; see [Installation & Configuration](./installation-configuration/) for instructions.
10+
11+
**New to Pulumi and AWS?** [Get started with AWS using our tutorial](/docs/get-started/aws).
12+
13+
## Example
14+
15+
{{< chooser language "typescript,python,go,csharp,java,yaml" >}}
16+
17+
{{% choosable language typescript %}}
18+
19+
```typescript
20+
const aws = require("@pulumi/aws");
21+
22+
const bucket = new aws.s3.Bucket("mybucket");
23+
```
24+
25+
{{% /choosable %}}
26+
27+
{{% choosable language python %}}
28+
29+
```python
30+
import pulumi
31+
import pulumi_aws as aws
32+
33+
bucket = aws.s3.Bucket("bucket")
34+
```
35+
36+
{{% /choosable %}}
37+
38+
{{% choosable language go %}}
39+
40+
```go
41+
package main
42+
43+
import (
44+
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/s3"
45+
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
46+
)
47+
48+
func main() {
49+
pulumi.Run(func(ctx *pulumi.Context) error {
50+
_, err := s3.NewBucket(ctx, "bucket", &s3.BucketArgs{})
51+
if err != nil {
52+
return err
53+
}
54+
return nil
55+
})
56+
}
57+
58+
```
59+
60+
{{% /choosable %}}
61+
62+
{{% choosable language csharp %}}
63+
64+
```csharp
65+
using Pulumi;
66+
using Aws = Pulumi.Aws;
67+
68+
await Deployment.RunAsync(() =>
69+
{
70+
var bucket = new Aws.S3.Bucket("bucket");
71+
});
72+
```
73+
74+
{{% /choosable %}}
75+
76+
{{% choosable language java %}}
77+
78+
```java
79+
import com.pulumi.Context;
80+
import com.pulumi.Pulumi;
81+
import com.pulumi.aws.s3.Bucket;
82+
83+
public class App {
84+
public static void main(String[] args) {
85+
Pulumi.run(App::stack);
86+
}
87+
88+
private static void stack(Context ctx) {
89+
final var bucket = new Bucket("my-bucket");
90+
ctx.export("bucketName", bucket.name());
91+
}
92+
}
93+
```
94+
95+
{{% /choosable %}}
96+
97+
{{% choosable language yaml %}}
98+
99+
```yaml
100+
resources:
101+
mybucket:
102+
type: aws:s3:Bucket
103+
outputs:
104+
bucketName: ${mybucket.name}
105+
```
106+
107+
{{% /choosable %}}
108+
109+
{{< /chooser >}}
110+
111+
Visit the [How-to Guides](./how-to-guides) to find step-by-step guides for specific scenarios like creating a serverless application or setting up Athena search.
112+
113+
## Components
114+
115+
Pulumi offers Components that provide simpler interfaces and higher-productivity APIs for many areas of AWS:
116+
117+
* [Amazon EKS](/registry/packages/eks)
118+
* [Crosswalk for AWS](/docs/guides/crosswalk/aws), which includes API Gateway, CloudWatch, Elastic Container Registry, Elastic Container Service, Elastic Kubernetes Service, Elastic Load Balancing, Identity & Access Management, Lambda, Virtual Private Cloud, and more

0 commit comments

Comments
 (0)