open-index/open-npm huggingface dataset:
npm package: @pulumi/aws-iam
Description: This repo is a [Pulumi Package](https://www.pulumi.com/docs/guides/pulumi-packages/) used to deploy different AWS IAM roles. This package is based on the [Terraform AWS IAM Module](https://github.com/terraform-aws-modules/terraform-aws-iam).
Latest version: 0.2.0

# AWS IAM

This repo is a [Pulumi Package](https://www.pulumi.com/docs/guides/pulumi-packages/) used to deploy different AWS IAM roles. This
package is based on the [Terraform AWS IAM Module](https://github.com/terraform-aws-modules/terraform-aws-iam).

It's written in Go, but thanks to Pulumi's multi language SDK generating capability, it create usable SDKs for all of Pulumi's [supported languages](https://www.pulumi.com/docs/intro/languages/)

> :warning: **This package is a work in progress**: Please do not use this in a production environment!

# Building and Installing

## Building from source

But if you need to build it yourself, run the following command to build and install the plugin in the correct folder (resolved automatically based on the current Operating System):

```sh
make install
```

## Install your chosen SDK

You need to install your desired language SDK using your languages package manager.

### Python

```
pip3 install pulumi_aws_iam
```

### NodeJS

```
npm install @pulumi/aws-iam
```

### Go

```
go get -t github.com/pulumi/pulumi-aws-iam/sdk
```

# Usage

Once you've installed all the dependencies, you can use the library like any other Pulumi SDK. See the [examples](examples/) directory for examples of how you might use it.
npm package: @pulumi/aws-quickstart-vpc
Description: Easily deploy an AWS VPC with multiple public, private, and/or isolated subnets. Also provisions networking resources like NAT Gateways, Internet Gateways, Route Tables, Security Group, and VPC Flow Logs. This component is based on the best practices reco
Latest version: 0.0.5

# Pulumi AWS VPC

Easily deploy an AWS VPC with multiple public, private, and/or isolated subnets. Also provisions networking resources like NAT Gateways, Internet Gateways, Route Tables, Security Group, and VPC Flow Logs. This component is based on the best practices recommended by AWS in the [VPC Architecture](https://aws.amazon.com/quickstart/architecture/vpc/)

# Examples

See the `/examples` directory for more

Go:
```go
publicSubnet1Cidr := "10.0.128.0/20"
privateSubnet1ACidr := "10.0.32.0/19"

publicSubnet2Cidr := "10.0.64.0/19"

// Create an AWS resource (S3 Bucket)
_, err := quickstartVpc.NewVpc(ctx, "simple-vpc", &quickstartVpc.VpcArgs{
  CidrBlock: "10.0.0.0/16",
  AvailabilityZoneConfig: []quickstartVpc.AvailabilityZoneArgs{
    quickstartVpc.AvailabilityZoneArgs{
      AvailabilityZone:   "us-east-1a",
      PublicSubnetCidr:   &publicSubnet1Cidr,
      PrivateSubnetACidr: &privateSubnet1ACidr,
    },
    quickstartVpc.AvailabilityZoneArgs{
      AvailabilityZone: "us-east-1b",
      PublicSubnetCidr: &publicSubnet2Cidr,
    },
  },
})
```

Typescript:
```typescript
const myVpc = new quickstartVpc.Vpc("simple-vpc", {
    cidrBlock: "10.0.0.0/16",
    availabilityZoneConfig: [{
        availabilityZone: "us-east-1a",
        publicSubnetCidr: "10.0.128.0/20",
        privateSubnetACidr: "10.0.32.0/19",
    }, {
        availabilityZone: "us-east-1b",
        privateSubnetACidr: "10.0.64.0/19",
    }]
})

```
npm package: @pulumi/aws-s3-replicated-bucket
Description: Create a [s3](https://www.pulumi.com/docs/reference/pkg/aws/s3/bucket/) that replicates its contents to another [region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
Latest version: 0.0.6

# Replicated Bucket Pulumi Component Provider 

Create a [s3](https://www.pulumi.com/docs/reference/pkg/aws/s3/bucket/) that replicates its contents to another [region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). 

--- 

## Installing
This package is available in many languages in the standard packaging formats.

### Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either `npm`:

    $ npm install @pulumi/replicatedbucket

or `yarn`:

    $ yarn add @pulumi/replicatedbucket

### Python

To use from Python, install using `pip`:

    $ pip install pulumi_replicatedbucket

### Go

To use from Go, use `go get` to grab the latest version of the library

    $ go get github.com/pulumi/pulumi-replicatedbucket/sdk

### .NET

To use from .NET, install using `dotnet add package`:

    $ dotnet add package Pulumi.ReplicatedBucket

## Concept

---

The Pulumi replicated Bucket provides a simple and correct implementation of a
s3 bucket replicated to another region. 

``` typescript
const bucket = new replicatedBucket.Bucket("bucket", {
    destinationRegion: "us-east-1",
});
```

``` c#
var bucket = new ReplicatedBucket.Bucket(ctx, "bucket", new ReplicatedBucket.BucketArgs{
    DestinationRegion: pulumi.String("us-east-1")
})
```

``` go
bucket, err = replicatedbucket.NewBucket(ctx, "bucket", &replicatedbucket.BucketArgs{
	DestinationRegion: pulumi.String("us-east-1"),
})
```

``` python
bucket = pulumi_replicatedbucket.Bucket("bucket", destination_region="us-east-1")
```