@pulumi/aws 6.0.0-alpha.5 → 6.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apigateway/authorizer.d.ts +55 -0
- package/apigateway/authorizer.js +55 -0
- package/apigateway/authorizer.js.map +1 -1
- package/apigateway/methodSettings.d.ts +72 -0
- package/apigateway/methodSettings.js +72 -0
- package/apigateway/methodSettings.js.map +1 -1
- package/apigateway/stage.d.ts +1 -1
- package/apigateway/stage.js +1 -1
- package/appintegrations/dataIntegration.d.ts +1 -2
- package/appintegrations/dataIntegration.js +0 -4
- package/appintegrations/dataIntegration.js.map +1 -1
- package/appmesh/virtualRouter.d.ts +1 -1
- package/appmesh/virtualRouter.js +1 -1
- package/athena/database.d.ts +1 -1
- package/athena/database.js +1 -1
- package/auditmanager/assessment.d.ts +1 -2
- package/auditmanager/assessment.js +0 -4
- package/auditmanager/assessment.js.map +1 -1
- package/auditmanager/assessmentReport.d.ts +2 -5
- package/auditmanager/assessmentReport.js +1 -7
- package/auditmanager/assessmentReport.js.map +1 -1
- package/auditmanager/control.d.ts +7 -10
- package/auditmanager/control.js +5 -11
- package/auditmanager/control.js.map +1 -1
- package/auditmanager/framework.d.ts +6 -9
- package/auditmanager/framework.js +4 -10
- package/auditmanager/framework.js.map +1 -1
- package/auditmanager/getControl.d.ts +28 -34
- package/auditmanager/getControl.js +28 -34
- package/auditmanager/getControl.js.map +1 -1
- package/autoscaling/policy.d.ts +1 -1
- package/autoscaling/policy.js +1 -1
- package/budgets/getBudget.d.ts +4 -1
- package/budgets/getBudget.js.map +1 -1
- package/chime/sdkvoiceSipMediaApplication.d.ts +1 -2
- package/chime/sdkvoiceSipMediaApplication.js +0 -4
- package/chime/sdkvoiceSipMediaApplication.js.map +1 -1
- package/chime/sdkvoiceSipRule.d.ts +1 -2
- package/chime/sdkvoiceSipRule.js +0 -4
- package/chime/sdkvoiceSipRule.js.map +1 -1
- package/chime/sdkvoiceVoiceProfileDomain.d.ts +1 -2
- package/chime/sdkvoiceVoiceProfileDomain.js +0 -4
- package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +1 -2
- package/cleanrooms/collaboration.js +0 -4
- package/cleanrooms/collaboration.js.map +1 -1
- package/cloudfront/distribution.d.ts +229 -0
- package/cloudfront/distribution.js +229 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudfront/fieldLevelEncryptionProfile.d.ts +0 -1
- package/cloudfront/fieldLevelEncryptionProfile.js +0 -1
- package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
- package/cloudfront/keyGroup.d.ts +0 -1
- package/cloudfront/keyGroup.js +0 -1
- package/cloudfront/keyGroup.js.map +1 -1
- package/cloudfront/publicKey.d.ts +0 -1
- package/cloudfront/publicKey.js +0 -1
- package/cloudfront/publicKey.js.map +1 -1
- package/codepipeline/customActionType.d.ts +1 -1
- package/codepipeline/customActionType.js +1 -1
- package/dlm/lifecyclePolicy.d.ts +41 -0
- package/dlm/lifecyclePolicy.js +41 -0
- package/dlm/lifecyclePolicy.js.map +1 -1
- package/ec2/defaultRouteTable.d.ts +1 -1
- package/ec2/defaultRouteTable.js +1 -1
- package/ec2/getNatGateway.d.ts +31 -21
- package/ec2/getNatGateway.js +4 -6
- package/ec2/getNatGateway.js.map +1 -1
- package/ec2/natGateway.d.ts +79 -18
- package/ec2/natGateway.js +31 -0
- package/ec2/natGateway.js.map +1 -1
- package/ec2/routeTable.d.ts +43 -0
- package/ec2/routeTable.js +43 -0
- package/ec2/routeTable.js.map +1 -1
- package/ec2transitgateway/vpcAttachment.d.ts +2 -2
- package/emrcontainers/jobTemplate.d.ts +8 -11
- package/emrcontainers/jobTemplate.js +7 -13
- package/emrcontainers/jobTemplate.js.map +1 -1
- package/finspace/kxCluster.d.ts +1 -1
- package/finspace/kxCluster.js +0 -3
- package/finspace/kxCluster.js.map +1 -1
- package/finspace/kxDatabase.d.ts +2 -6
- package/finspace/kxDatabase.js +1 -8
- package/finspace/kxDatabase.js.map +1 -1
- package/finspace/kxEnvironment.d.ts +2 -6
- package/finspace/kxEnvironment.js +1 -8
- package/finspace/kxEnvironment.js.map +1 -1
- package/finspace/kxUser.d.ts +2 -6
- package/finspace/kxUser.js +1 -8
- package/finspace/kxUser.js.map +1 -1
- package/globalaccelerator/customRoutingAccelerator.d.ts +2 -3
- package/globalaccelerator/customRoutingAccelerator.js +0 -4
- package/globalaccelerator/customRoutingAccelerator.js.map +1 -1
- package/globalaccelerator/customRoutingListener.d.ts +0 -1
- package/globalaccelerator/customRoutingListener.js +0 -1
- package/globalaccelerator/customRoutingListener.js.map +1 -1
- package/glue/dataQualityRuleset.d.ts +2 -8
- package/glue/dataQualityRuleset.js +1 -10
- package/glue/dataQualityRuleset.js.map +1 -1
- package/glue/job.d.ts +39 -6
- package/glue/job.js +18 -0
- package/glue/job.js.map +1 -1
- package/grafana/workspace.d.ts +3 -3
- package/iam/index.d.ts +3 -0
- package/iam/index.js +7 -2
- package/iam/index.js.map +1 -1
- package/iam/securityTokenServicePreferences.d.ts +60 -0
- package/iam/securityTokenServicePreferences.js +64 -0
- package/iam/securityTokenServicePreferences.js.map +1 -0
- package/index.d.ts +1 -2
- package/index.js +2 -4
- package/index.js.map +1 -1
- package/lambda/lambdaMixins.d.ts +5 -9
- package/lambda/lambdaMixins.js.map +1 -1
- package/licensemanager/licenseGrantAccepter.d.ts +9 -0
- package/licensemanager/licenseGrantAccepter.js +9 -0
- package/licensemanager/licenseGrantAccepter.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +32 -0
- package/networkfirewall/firewallPolicy.js +32 -0
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/opensearch/serverlessAccessPolicy.d.ts +79 -20
- package/opensearch/serverlessAccessPolicy.js +78 -22
- package/opensearch/serverlessAccessPolicy.js.map +1 -1
- package/opensearch/serverlessCollection.d.ts +10 -7
- package/opensearch/serverlessCollection.js +5 -5
- package/opensearch/serverlessCollection.js.map +1 -1
- package/opensearch/serverlessSecurityConfig.d.ts +1 -1
- package/opensearch/serverlessSecurityConfig.js +0 -3
- package/opensearch/serverlessSecurityConfig.js.map +1 -1
- package/opensearch/serverlessSecurityPolicy.d.ts +1 -7
- package/opensearch/serverlessSecurityPolicy.js +0 -9
- package/opensearch/serverlessSecurityPolicy.js.map +1 -1
- package/opensearch/serverlessVpcEndpoint.d.ts +1 -2
- package/opensearch/serverlessVpcEndpoint.js +0 -4
- package/opensearch/serverlessVpcEndpoint.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +0 -1
- package/package.json.dev +2 -3
- package/quicksight/theme.d.ts +1 -1
- package/quicksight/theme.js +0 -3
- package/quicksight/theme.js.map +1 -1
- package/quicksight/vpcConnection.d.ts +1 -2
- package/quicksight/vpcConnection.js +0 -4
- package/quicksight/vpcConnection.js.map +1 -1
- package/rds/getClusterSnapshot.d.ts +4 -2
- package/rds/getClusterSnapshot.js.map +1 -1
- package/rds/getInstance.d.ts +12 -6
- package/rds/getInstance.js +1 -0
- package/rds/getInstance.js.map +1 -1
- package/rds/getInstances.d.ts +41 -2
- package/rds/getInstances.js +25 -0
- package/rds/getInstances.js.map +1 -1
- package/rds/getSnapshot.d.ts +13 -0
- package/rds/getSnapshot.js +1 -0
- package/rds/getSnapshot.js.map +1 -1
- package/rds/instance.d.ts +6 -12
- package/rds/instance.js.map +1 -1
- package/resourceexplorer/view.d.ts +2 -3
- package/resourceexplorer/view.js +0 -4
- package/resourceexplorer/view.js.map +1 -1
- package/route53/cidrCollection.d.ts +3 -3
- package/route53/cidrCollection.js +1 -4
- package/route53/cidrCollection.js.map +1 -1
- package/route53/cidrLocation.d.ts +2 -3
- package/route53/cidrLocation.js +1 -5
- package/route53/cidrLocation.js.map +1 -1
- package/sagemaker/index.d.ts +3 -0
- package/sagemaker/index.js +6 -1
- package/sagemaker/index.js.map +1 -1
- package/sagemaker/pipeline.d.ts +195 -0
- package/sagemaker/pipeline.js +108 -0
- package/sagemaker/pipeline.js.map +1 -0
- package/sfn/alias.d.ts +15 -21
- package/sfn/alias.js +14 -23
- package/sfn/alias.js.map +1 -1
- package/sns/topicSubscription.d.ts +2 -2
- package/sns/topicSubscription.js +2 -2
- package/ssm/association.d.ts +3 -3
- package/ssm/parameter.d.ts +4 -4
- package/ssm/parameter.js +1 -1
- package/transfer/getServer.d.ts +1 -0
- package/transfer/getServer.js.map +1 -1
- package/transfer/server.d.ts +41 -0
- package/transfer/server.js +31 -0
- package/transfer/server.js.map +1 -1
- package/types/enums/lambda/index.d.ts +2 -0
- package/types/enums/lambda/index.js +2 -0
- package/types/enums/lambda/index.js.map +1 -1
- package/types/input.d.ts +534 -32
- package/types/output.d.ts +567 -50
- package/vpclattice/getService.d.ts +20 -8
- package/vpclattice/getService.js +8 -2
- package/vpclattice/getService.js.map +1 -1
- package/vpclattice/getServiceNetwork.d.ts +1 -1
- package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
- package/serverless/function.d.ts +0 -79
- package/serverless/function.js +0 -48
- package/serverless/function.js.map +0 -1
- package/serverless/index.d.ts +0 -1
- package/serverless/index.js +0 -21
- package/serverless/index.js.map +0 -1
|
@@ -10,18 +10,24 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as aws from "@pulumi/aws";
|
|
12
12
|
*
|
|
13
|
-
* const example = aws.vpclattice.getService({
|
|
13
|
+
* const example = aws.vpclattice.getService({
|
|
14
|
+
* name: "example",
|
|
15
|
+
* });
|
|
14
16
|
* ```
|
|
15
17
|
*/
|
|
16
|
-
export declare function getService(args
|
|
18
|
+
export declare function getService(args?: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>;
|
|
17
19
|
/**
|
|
18
20
|
* A collection of arguments for invoking getService.
|
|
19
21
|
*/
|
|
20
22
|
export interface GetServiceArgs {
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
24
|
+
* Service name.
|
|
23
25
|
*/
|
|
24
|
-
|
|
26
|
+
name?: string;
|
|
27
|
+
/**
|
|
28
|
+
* ID or Amazon Resource Name (ARN) of the service network.
|
|
29
|
+
*/
|
|
30
|
+
serviceIdentifier?: string;
|
|
25
31
|
/**
|
|
26
32
|
* List of tags associated with the service.
|
|
27
33
|
*/
|
|
@@ -80,18 +86,24 @@ export interface GetServiceResult {
|
|
|
80
86
|
* import * as pulumi from "@pulumi/pulumi";
|
|
81
87
|
* import * as aws from "@pulumi/aws";
|
|
82
88
|
*
|
|
83
|
-
* const example = aws.vpclattice.getService({
|
|
89
|
+
* const example = aws.vpclattice.getService({
|
|
90
|
+
* name: "example",
|
|
91
|
+
* });
|
|
84
92
|
* ```
|
|
85
93
|
*/
|
|
86
|
-
export declare function getServiceOutput(args
|
|
94
|
+
export declare function getServiceOutput(args?: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceResult>;
|
|
87
95
|
/**
|
|
88
96
|
* A collection of arguments for invoking getService.
|
|
89
97
|
*/
|
|
90
98
|
export interface GetServiceOutputArgs {
|
|
91
99
|
/**
|
|
92
|
-
*
|
|
100
|
+
* Service name.
|
|
101
|
+
*/
|
|
102
|
+
name?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* ID or Amazon Resource Name (ARN) of the service network.
|
|
93
105
|
*/
|
|
94
|
-
serviceIdentifier
|
|
106
|
+
serviceIdentifier?: pulumi.Input<string>;
|
|
95
107
|
/**
|
|
96
108
|
* List of tags associated with the service.
|
|
97
109
|
*/
|
package/vpclattice/getService.js
CHANGED
|
@@ -15,12 +15,16 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as aws from "@pulumi/aws";
|
|
17
17
|
*
|
|
18
|
-
* const example = aws.vpclattice.getService({
|
|
18
|
+
* const example = aws.vpclattice.getService({
|
|
19
|
+
* name: "example",
|
|
20
|
+
* });
|
|
19
21
|
* ```
|
|
20
22
|
*/
|
|
21
23
|
function getService(args, opts) {
|
|
24
|
+
args = args || {};
|
|
22
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
26
|
return pulumi.runtime.invoke("aws:vpclattice/getService:getService", {
|
|
27
|
+
"name": args.name,
|
|
24
28
|
"serviceIdentifier": args.serviceIdentifier,
|
|
25
29
|
"tags": args.tags,
|
|
26
30
|
}, opts);
|
|
@@ -36,7 +40,9 @@ exports.getService = getService;
|
|
|
36
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
41
|
* import * as aws from "@pulumi/aws";
|
|
38
42
|
*
|
|
39
|
-
* const example = aws.vpclattice.getService({
|
|
43
|
+
* const example = aws.vpclattice.getService({
|
|
44
|
+
* name: "example",
|
|
45
|
+
* });
|
|
40
46
|
* ```
|
|
41
47
|
*/
|
|
42
48
|
function getServiceOutput(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getService.js","sourceRoot":"","sources":["../../vpclattice/getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getService.js","sourceRoot":"","sources":["../../vpclattice/getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AA2DD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -90,7 +90,7 @@ export declare class WebAclLoggingConfiguration extends pulumi.CustomResource {
|
|
|
90
90
|
*/
|
|
91
91
|
static isInstance(obj: any): obj is WebAclLoggingConfiguration;
|
|
92
92
|
/**
|
|
93
|
-
* Configuration block that allows you to associate Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) with the web ACL.
|
|
93
|
+
* Configuration block that allows you to associate Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) with the web ACL. **Note:** data firehose, log group, or bucket name **must** be prefixed with `aws-waf-logs-`, e.g. `aws-waf-logs-example-firehose`, `aws-waf-logs-example-log-group`, or `aws-waf-logs-example-bucket`.
|
|
94
94
|
*/
|
|
95
95
|
readonly logDestinationConfigs: pulumi.Output<string[]>;
|
|
96
96
|
/**
|
|
@@ -119,7 +119,7 @@ export declare class WebAclLoggingConfiguration extends pulumi.CustomResource {
|
|
|
119
119
|
*/
|
|
120
120
|
export interface WebAclLoggingConfigurationState {
|
|
121
121
|
/**
|
|
122
|
-
* Configuration block that allows you to associate Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) with the web ACL.
|
|
122
|
+
* Configuration block that allows you to associate Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) with the web ACL. **Note:** data firehose, log group, or bucket name **must** be prefixed with `aws-waf-logs-`, e.g. `aws-waf-logs-example-firehose`, `aws-waf-logs-example-log-group`, or `aws-waf-logs-example-bucket`.
|
|
123
123
|
*/
|
|
124
124
|
logDestinationConfigs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
125
125
|
/**
|
|
@@ -140,7 +140,7 @@ export interface WebAclLoggingConfigurationState {
|
|
|
140
140
|
*/
|
|
141
141
|
export interface WebAclLoggingConfigurationArgs {
|
|
142
142
|
/**
|
|
143
|
-
* Configuration block that allows you to associate Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) with the web ACL.
|
|
143
|
+
* Configuration block that allows you to associate Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) with the web ACL. **Note:** data firehose, log group, or bucket name **must** be prefixed with `aws-waf-logs-`, e.g. `aws-waf-logs-example-firehose`, `aws-waf-logs-example-log-group`, or `aws-waf-logs-example-bucket`.
|
|
144
144
|
*/
|
|
145
145
|
logDestinationConfigs: pulumi.Input<pulumi.Input<string>[]>;
|
|
146
146
|
/**
|
package/serverless/function.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import { Role } from "../iam";
|
|
3
|
-
import * as lambda from "../lambda";
|
|
4
|
-
import * as utils from "../utils";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use [aws.lambda.Context] instead.
|
|
7
|
-
*/
|
|
8
|
-
export type Context = lambda.Context;
|
|
9
|
-
/**
|
|
10
|
-
* [Handler] is the signature for a serverless function that will be invoked each time the AWS
|
|
11
|
-
* Lambda is invoked.
|
|
12
|
-
*
|
|
13
|
-
* @deprecated Use [aws.lambda.Callback] instead.
|
|
14
|
-
*/
|
|
15
|
-
export type Handler = lambda.Callback<any, any>;
|
|
16
|
-
/**
|
|
17
|
-
* HandlerFactory is the signature for a function that will be called once to produce the serverless
|
|
18
|
-
* function that AWS Lambda will invoke. It can be used to initialize expensive state once that can
|
|
19
|
-
* then be used across all invocations of the Lambda (as long as the Lambda is using the same warm
|
|
20
|
-
* node instance).
|
|
21
|
-
*
|
|
22
|
-
* @deprecated Use [aws.lambda.CallbackFactory] instead.
|
|
23
|
-
*/
|
|
24
|
-
export type HandlerFactory = () => Handler;
|
|
25
|
-
/**
|
|
26
|
-
* FunctionOptions provides configuration options for the serverless Function. It is effectively
|
|
27
|
-
* equivalent to [aws.lambda.FunctionArgs] except with a few important differences documented at the
|
|
28
|
-
* property level. For example, [role] is an actual iam.Role instance, and not an ARN. Properties
|
|
29
|
-
* like [runtime] are now optional. And some properties (like [code]) are entirely disallowed.
|
|
30
|
-
*
|
|
31
|
-
* @deprecated Use [aws.lambda.FunctionOptions] instead.
|
|
32
|
-
*/
|
|
33
|
-
export type FunctionOptions = utils.Overwrite<lambda.CallbackFunctionArgs<any, any>, {
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated use [callback] instead.
|
|
36
|
-
*/
|
|
37
|
-
func?: Handler;
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated use [callbackFactory] instead.
|
|
40
|
-
*/
|
|
41
|
-
factoryFunc?: HandlerFactory;
|
|
42
|
-
/**
|
|
43
|
-
* The paths relative to the program folder to include in the Lambda upload. Default is `[]`.
|
|
44
|
-
*
|
|
45
|
-
* @deprecated Use [codePathOptions] instead.
|
|
46
|
-
*/
|
|
47
|
-
includePaths?: string[];
|
|
48
|
-
/**
|
|
49
|
-
* The packages relative to the program folder to include in the Lambda upload. The version of
|
|
50
|
-
* the package installed in the program folder and it's dependencies will all be included.
|
|
51
|
-
* Default is `[]`.
|
|
52
|
-
*
|
|
53
|
-
* @deprecated Use [codePathOptions] instead.
|
|
54
|
-
*/
|
|
55
|
-
includePackages?: string[];
|
|
56
|
-
/**
|
|
57
|
-
* The packages relative to the program folder to not include the Lambda upload. This can be
|
|
58
|
-
* used to override the default serialization logic that includes all packages referenced by
|
|
59
|
-
* project.json (except @pulumi packages). Default is `[]`.
|
|
60
|
-
*
|
|
61
|
-
* @deprecated Use [codePathOptions] instead.
|
|
62
|
-
*/
|
|
63
|
-
excludePackages?: string[];
|
|
64
|
-
}>;
|
|
65
|
-
/**
|
|
66
|
-
* Function is a higher-level API for creating and managing AWS Lambda Function resources
|
|
67
|
-
* implemented by a Pulumi lambda expression and with a set of attached policies.
|
|
68
|
-
*
|
|
69
|
-
* @deprecated Use [lambda.CallbackFunction] instead.
|
|
70
|
-
*/
|
|
71
|
-
export declare class Function extends pulumi.ComponentResource {
|
|
72
|
-
readonly options: FunctionOptions;
|
|
73
|
-
readonly lambda: lambda.Function;
|
|
74
|
-
readonly role: Role | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* @param func Deprecated. Pass the function as [options.func] or [options.factoryFunc] instead.
|
|
77
|
-
*/
|
|
78
|
-
constructor(name: string, options: FunctionOptions, func?: Handler, opts?: pulumi.ResourceOptions);
|
|
79
|
-
}
|
package/serverless/function.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2016-2018, Pulumi Corporation.
|
|
3
|
-
//
|
|
4
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
// you may not use this file except in compliance with the License.
|
|
6
|
-
// You may obtain a copy of the License at
|
|
7
|
-
//
|
|
8
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
//
|
|
10
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
// See the License for the specific language governing permissions and
|
|
14
|
-
// limitations under the License.
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Function = void 0;
|
|
17
|
-
const pulumi = require("@pulumi/pulumi");
|
|
18
|
-
const lambda = require("../lambda");
|
|
19
|
-
/**
|
|
20
|
-
* Function is a higher-level API for creating and managing AWS Lambda Function resources
|
|
21
|
-
* implemented by a Pulumi lambda expression and with a set of attached policies.
|
|
22
|
-
*
|
|
23
|
-
* @deprecated Use [lambda.CallbackFunction] instead.
|
|
24
|
-
*/
|
|
25
|
-
class Function extends pulumi.ComponentResource {
|
|
26
|
-
/**
|
|
27
|
-
* @param func Deprecated. Pass the function as [options.func] or [options.factoryFunc] instead.
|
|
28
|
-
*/
|
|
29
|
-
constructor(name, options, func, opts) {
|
|
30
|
-
super("aws:serverless:Function", name, {}, opts);
|
|
31
|
-
opts = opts || { parent: this };
|
|
32
|
-
// Migrate old aws-serverless.FunctionOptions forward to lambda.FunctionOptions.
|
|
33
|
-
options.callback = options.callback || options.func || func;
|
|
34
|
-
options.callbackFactory = options.callbackFactory || options.factoryFunc;
|
|
35
|
-
if (!options.codePathOptions) {
|
|
36
|
-
options.codePathOptions = {
|
|
37
|
-
extraIncludePaths: options.includePaths,
|
|
38
|
-
extraIncludePackages: options.includePackages,
|
|
39
|
-
extraExcludePackages: options.excludePackages,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
this.lambda = new lambda.CallbackFunction(name, options, { parent: this });
|
|
43
|
-
this.role = this.lambda.roleInstance;
|
|
44
|
-
this.options = options;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.Function = Function;
|
|
48
|
-
//# sourceMappingURL=function.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../serverless/function.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,yCAAyC;AAEzC,oCAAoC;AAuEpC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,iBAAiB;IAKlD;;OAEG;IACH,YAAY,IAAY,EACZ,OAAwB,EACxB,IAAc,EACd,IAA6B;QAErC,KAAK,CAAC,yBAAyB,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QAEjD,IAAI,GAAG,IAAI,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAEhC,gFAAgF;QAChF,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,IAAI,IAAI,IAAI,CAAC;QAC5D,OAAO,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,WAAW,CAAC;QAEzE,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE;YAC1B,OAAO,CAAC,eAAe,GAAG;gBACtB,iBAAiB,EAAE,OAAO,CAAC,YAAY;gBACvC,oBAAoB,EAAE,OAAO,CAAC,eAAe;gBAC7C,oBAAoB,EAAE,OAAO,CAAC,eAAe;aAChD,CAAC;SACL;QAED,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAC3E,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;CACJ;AAjCD,4BAiCC"}
|
package/serverless/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./function";
|
package/serverless/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
// Export members:
|
|
20
|
-
__exportStar(require("./function"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
package/serverless/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../serverless/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,6CAA2B"}
|