helpful-ice-5738
02/04/2019, 6:32 PMlemon-spoon-91807
02/04/2019, 10:03 PMhelpful-ice-5738
02/04/2019, 10:05 PMlemon-spoon-91807
02/04/2019, 10:06 PMconst lambda = new aws.Lambda.Function("name", ...all your args that make sense for the python version...);
const api = new aws.apigateway.x.Api("name", {
routes: [{
path: "/yourpath",
method: "GET",
eventHandler: lambda,
}]
});
helpful-ice-5738
02/04/2019, 10:09 PMlemon-spoon-91807
02/04/2019, 10:09 PMhelpful-ice-5738
02/04/2019, 10:09 PMlemon-spoon-91807
02/04/2019, 10:10 PMaws.iam.AWSLambdaFullAccess, // Provides wide access to "serverless" services (Dynamo, S3, etc.)
aws.iam.AmazonEC2ContainerServiceFullAccess, // Required for lambda compute to be able to run Tasks
helpful-ice-5738
02/04/2019, 10:11 PMlemon-spoon-91807
02/04/2019, 10:11 PMincalculable-sundown-82514
02/04/2019, 10:13 PMhelpful-ice-5738
02/04/2019, 10:13 PMlemon-spoon-91807
02/04/2019, 10:19 PM@pulumi/awsx
.@pulumi/aws
awsx
is coming very soon, and will be our package for great aws
-specific advanced functionalityhelpful-ice-5738
02/06/2019, 6:25 PMAttributeError: module 'pulumi_aws.apigateway' has no attribute 'x'
lemon-spoon-91807
02/06/2019, 6:25 PMhelpful-ice-5738
02/06/2019, 6:27 PMlemon-spoon-91807
02/06/2019, 6:28 PMincalculable-sundown-82514
02/06/2019, 6:29 PMhelpful-ice-5738
02/06/2019, 6:30 PMincalculable-sundown-82514
02/06/2019, 6:32 PMhelpful-ice-5738
02/06/2019, 6:34 PMincalculable-sundown-82514
02/06/2019, 6:35 PMhelpful-ice-5738
02/06/2019, 7:17 PMlemon-spoon-91807
02/06/2019, 7:19 PM/**
* The Lambda environment's configuration settings. Fields documented below.
*/
readonly environment?: pulumi.Input<{ variables?: pulumi.Input<{[key: string]: pulumi.Input<string>}> }>;