Package Exports
- @pulumi/awsx
- @pulumi/awsx/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pulumi/awsx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pulumi AWS Infrastructure Components
Pulumi's framework for Amazon Web Services (AWS) infrastructure.
This package is meant for use with the Pulumi CLI. Please visit pulumi.io for installation instructions.
The AWS Infrastructure package is intended to provide component wrappers around many core AWS 'raw' resources to make them easier and more convenient to use. In general, the @pulumi/awsx package mirrors the module structure of @pulumi/aws (i.e. @pulumi/awsx/ecs or @pulumi/awsx/ec2). These components are designed to take care of much of the redundancy and boilerplate necessary when using the raw AWS resources, while still striving to expose all underlying functionality if needed.
The AWS Infrastructure package undergoes constant improvements and additions. While we will strive to maintain backward compatability here, we will occasionally make breaks here as appropriate if it helps improve the overall quality of this package.
The AWS Infrastructure package exposes many high level abstractions. Including:
ec2. A module that makes it easier to work with your AWS network, subnets, and security groups. By default, the resources in the package follow the AWS Best Practices, but can be configured as desired in whatever ways you want. Most commonly, this package is used to acquire the default Vpc for a region (usingawsx.ec2.DefaultNetwork). However, it can also be used to easily create or augment an existing Vpc.ecs. A module that makes it easy to create and configure clusters, tasks and services for running containers. Convenience resources are created to make the common tasks of creating EC2 or Fargate services and tasks much simpler.lb. A module for simply setting up Elastic Load Balancing. This module provides convenient ways to set up eitherNetworkorApplicationload balancers, along with the appropriate ELB Target Groups and Listeners in order to have a high availability, automatically-scaled service. These ELB components also work well with the other awsx components. For example, anlb.defaultTargetcan be passed in directly as theportMappingtarget of anecs.FargateService.
The library also exposes the classic AWSx (the previous TypeScript) implementation. You can find these modules in the classic namespace. These modules include:
apigatewayautoscalingecsec2cloudwatchlbcloudtrail
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/awsxor yarn:
yarn add @pulumi/awsxPython
To use from Python, install using pip:
pip install pulumi_awsxGo
To use from Go, use go get to grab the latest version of the library
go get github.com/pulumi/pulumi-awsx/sdk.NET
To use from .NET, install using dotnet add package:
dotnet add package Pulumi.AwsxConfiguration
The configuration options available for this provider mirror those of the Pulumi AWS Classic Provider
Reference
For further information, visit AWS in the Pulumi Registry or for detailed API reference documentation, visit AWS API Docs in the Pulumi Registry.