@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.
Files changed (201) hide show
  1. package/apigateway/authorizer.d.ts +55 -0
  2. package/apigateway/authorizer.js +55 -0
  3. package/apigateway/authorizer.js.map +1 -1
  4. package/apigateway/methodSettings.d.ts +72 -0
  5. package/apigateway/methodSettings.js +72 -0
  6. package/apigateway/methodSettings.js.map +1 -1
  7. package/apigateway/stage.d.ts +1 -1
  8. package/apigateway/stage.js +1 -1
  9. package/appintegrations/dataIntegration.d.ts +1 -2
  10. package/appintegrations/dataIntegration.js +0 -4
  11. package/appintegrations/dataIntegration.js.map +1 -1
  12. package/appmesh/virtualRouter.d.ts +1 -1
  13. package/appmesh/virtualRouter.js +1 -1
  14. package/athena/database.d.ts +1 -1
  15. package/athena/database.js +1 -1
  16. package/auditmanager/assessment.d.ts +1 -2
  17. package/auditmanager/assessment.js +0 -4
  18. package/auditmanager/assessment.js.map +1 -1
  19. package/auditmanager/assessmentReport.d.ts +2 -5
  20. package/auditmanager/assessmentReport.js +1 -7
  21. package/auditmanager/assessmentReport.js.map +1 -1
  22. package/auditmanager/control.d.ts +7 -10
  23. package/auditmanager/control.js +5 -11
  24. package/auditmanager/control.js.map +1 -1
  25. package/auditmanager/framework.d.ts +6 -9
  26. package/auditmanager/framework.js +4 -10
  27. package/auditmanager/framework.js.map +1 -1
  28. package/auditmanager/getControl.d.ts +28 -34
  29. package/auditmanager/getControl.js +28 -34
  30. package/auditmanager/getControl.js.map +1 -1
  31. package/autoscaling/policy.d.ts +1 -1
  32. package/autoscaling/policy.js +1 -1
  33. package/budgets/getBudget.d.ts +4 -1
  34. package/budgets/getBudget.js.map +1 -1
  35. package/chime/sdkvoiceSipMediaApplication.d.ts +1 -2
  36. package/chime/sdkvoiceSipMediaApplication.js +0 -4
  37. package/chime/sdkvoiceSipMediaApplication.js.map +1 -1
  38. package/chime/sdkvoiceSipRule.d.ts +1 -2
  39. package/chime/sdkvoiceSipRule.js +0 -4
  40. package/chime/sdkvoiceSipRule.js.map +1 -1
  41. package/chime/sdkvoiceVoiceProfileDomain.d.ts +1 -2
  42. package/chime/sdkvoiceVoiceProfileDomain.js +0 -4
  43. package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
  44. package/cleanrooms/collaboration.d.ts +1 -2
  45. package/cleanrooms/collaboration.js +0 -4
  46. package/cleanrooms/collaboration.js.map +1 -1
  47. package/cloudfront/distribution.d.ts +229 -0
  48. package/cloudfront/distribution.js +229 -0
  49. package/cloudfront/distribution.js.map +1 -1
  50. package/cloudfront/fieldLevelEncryptionProfile.d.ts +0 -1
  51. package/cloudfront/fieldLevelEncryptionProfile.js +0 -1
  52. package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
  53. package/cloudfront/keyGroup.d.ts +0 -1
  54. package/cloudfront/keyGroup.js +0 -1
  55. package/cloudfront/keyGroup.js.map +1 -1
  56. package/cloudfront/publicKey.d.ts +0 -1
  57. package/cloudfront/publicKey.js +0 -1
  58. package/cloudfront/publicKey.js.map +1 -1
  59. package/codepipeline/customActionType.d.ts +1 -1
  60. package/codepipeline/customActionType.js +1 -1
  61. package/dlm/lifecyclePolicy.d.ts +41 -0
  62. package/dlm/lifecyclePolicy.js +41 -0
  63. package/dlm/lifecyclePolicy.js.map +1 -1
  64. package/ec2/defaultRouteTable.d.ts +1 -1
  65. package/ec2/defaultRouteTable.js +1 -1
  66. package/ec2/getNatGateway.d.ts +31 -21
  67. package/ec2/getNatGateway.js +4 -6
  68. package/ec2/getNatGateway.js.map +1 -1
  69. package/ec2/natGateway.d.ts +79 -18
  70. package/ec2/natGateway.js +31 -0
  71. package/ec2/natGateway.js.map +1 -1
  72. package/ec2/routeTable.d.ts +43 -0
  73. package/ec2/routeTable.js +43 -0
  74. package/ec2/routeTable.js.map +1 -1
  75. package/ec2transitgateway/vpcAttachment.d.ts +2 -2
  76. package/emrcontainers/jobTemplate.d.ts +8 -11
  77. package/emrcontainers/jobTemplate.js +7 -13
  78. package/emrcontainers/jobTemplate.js.map +1 -1
  79. package/finspace/kxCluster.d.ts +1 -1
  80. package/finspace/kxCluster.js +0 -3
  81. package/finspace/kxCluster.js.map +1 -1
  82. package/finspace/kxDatabase.d.ts +2 -6
  83. package/finspace/kxDatabase.js +1 -8
  84. package/finspace/kxDatabase.js.map +1 -1
  85. package/finspace/kxEnvironment.d.ts +2 -6
  86. package/finspace/kxEnvironment.js +1 -8
  87. package/finspace/kxEnvironment.js.map +1 -1
  88. package/finspace/kxUser.d.ts +2 -6
  89. package/finspace/kxUser.js +1 -8
  90. package/finspace/kxUser.js.map +1 -1
  91. package/globalaccelerator/customRoutingAccelerator.d.ts +2 -3
  92. package/globalaccelerator/customRoutingAccelerator.js +0 -4
  93. package/globalaccelerator/customRoutingAccelerator.js.map +1 -1
  94. package/globalaccelerator/customRoutingListener.d.ts +0 -1
  95. package/globalaccelerator/customRoutingListener.js +0 -1
  96. package/globalaccelerator/customRoutingListener.js.map +1 -1
  97. package/glue/dataQualityRuleset.d.ts +2 -8
  98. package/glue/dataQualityRuleset.js +1 -10
  99. package/glue/dataQualityRuleset.js.map +1 -1
  100. package/glue/job.d.ts +39 -6
  101. package/glue/job.js +18 -0
  102. package/glue/job.js.map +1 -1
  103. package/grafana/workspace.d.ts +3 -3
  104. package/iam/index.d.ts +3 -0
  105. package/iam/index.js +7 -2
  106. package/iam/index.js.map +1 -1
  107. package/iam/securityTokenServicePreferences.d.ts +60 -0
  108. package/iam/securityTokenServicePreferences.js +64 -0
  109. package/iam/securityTokenServicePreferences.js.map +1 -0
  110. package/index.d.ts +1 -2
  111. package/index.js +2 -4
  112. package/index.js.map +1 -1
  113. package/lambda/lambdaMixins.d.ts +5 -9
  114. package/lambda/lambdaMixins.js.map +1 -1
  115. package/licensemanager/licenseGrantAccepter.d.ts +9 -0
  116. package/licensemanager/licenseGrantAccepter.js +9 -0
  117. package/licensemanager/licenseGrantAccepter.js.map +1 -1
  118. package/networkfirewall/firewallPolicy.d.ts +32 -0
  119. package/networkfirewall/firewallPolicy.js +32 -0
  120. package/networkfirewall/firewallPolicy.js.map +1 -1
  121. package/opensearch/serverlessAccessPolicy.d.ts +79 -20
  122. package/opensearch/serverlessAccessPolicy.js +78 -22
  123. package/opensearch/serverlessAccessPolicy.js.map +1 -1
  124. package/opensearch/serverlessCollection.d.ts +10 -7
  125. package/opensearch/serverlessCollection.js +5 -5
  126. package/opensearch/serverlessCollection.js.map +1 -1
  127. package/opensearch/serverlessSecurityConfig.d.ts +1 -1
  128. package/opensearch/serverlessSecurityConfig.js +0 -3
  129. package/opensearch/serverlessSecurityConfig.js.map +1 -1
  130. package/opensearch/serverlessSecurityPolicy.d.ts +1 -7
  131. package/opensearch/serverlessSecurityPolicy.js +0 -9
  132. package/opensearch/serverlessSecurityPolicy.js.map +1 -1
  133. package/opensearch/serverlessVpcEndpoint.d.ts +1 -2
  134. package/opensearch/serverlessVpcEndpoint.js +0 -4
  135. package/opensearch/serverlessVpcEndpoint.js.map +1 -1
  136. package/package.json +2 -3
  137. package/package.json.bak +0 -1
  138. package/package.json.dev +2 -3
  139. package/quicksight/theme.d.ts +1 -1
  140. package/quicksight/theme.js +0 -3
  141. package/quicksight/theme.js.map +1 -1
  142. package/quicksight/vpcConnection.d.ts +1 -2
  143. package/quicksight/vpcConnection.js +0 -4
  144. package/quicksight/vpcConnection.js.map +1 -1
  145. package/rds/getClusterSnapshot.d.ts +4 -2
  146. package/rds/getClusterSnapshot.js.map +1 -1
  147. package/rds/getInstance.d.ts +12 -6
  148. package/rds/getInstance.js +1 -0
  149. package/rds/getInstance.js.map +1 -1
  150. package/rds/getInstances.d.ts +41 -2
  151. package/rds/getInstances.js +25 -0
  152. package/rds/getInstances.js.map +1 -1
  153. package/rds/getSnapshot.d.ts +13 -0
  154. package/rds/getSnapshot.js +1 -0
  155. package/rds/getSnapshot.js.map +1 -1
  156. package/rds/instance.d.ts +6 -12
  157. package/rds/instance.js.map +1 -1
  158. package/resourceexplorer/view.d.ts +2 -3
  159. package/resourceexplorer/view.js +0 -4
  160. package/resourceexplorer/view.js.map +1 -1
  161. package/route53/cidrCollection.d.ts +3 -3
  162. package/route53/cidrCollection.js +1 -4
  163. package/route53/cidrCollection.js.map +1 -1
  164. package/route53/cidrLocation.d.ts +2 -3
  165. package/route53/cidrLocation.js +1 -5
  166. package/route53/cidrLocation.js.map +1 -1
  167. package/sagemaker/index.d.ts +3 -0
  168. package/sagemaker/index.js +6 -1
  169. package/sagemaker/index.js.map +1 -1
  170. package/sagemaker/pipeline.d.ts +195 -0
  171. package/sagemaker/pipeline.js +108 -0
  172. package/sagemaker/pipeline.js.map +1 -0
  173. package/sfn/alias.d.ts +15 -21
  174. package/sfn/alias.js +14 -23
  175. package/sfn/alias.js.map +1 -1
  176. package/sns/topicSubscription.d.ts +2 -2
  177. package/sns/topicSubscription.js +2 -2
  178. package/ssm/association.d.ts +3 -3
  179. package/ssm/parameter.d.ts +4 -4
  180. package/ssm/parameter.js +1 -1
  181. package/transfer/getServer.d.ts +1 -0
  182. package/transfer/getServer.js.map +1 -1
  183. package/transfer/server.d.ts +41 -0
  184. package/transfer/server.js +31 -0
  185. package/transfer/server.js.map +1 -1
  186. package/types/enums/lambda/index.d.ts +2 -0
  187. package/types/enums/lambda/index.js +2 -0
  188. package/types/enums/lambda/index.js.map +1 -1
  189. package/types/input.d.ts +534 -32
  190. package/types/output.d.ts +567 -50
  191. package/vpclattice/getService.d.ts +20 -8
  192. package/vpclattice/getService.js +8 -2
  193. package/vpclattice/getService.js.map +1 -1
  194. package/vpclattice/getServiceNetwork.d.ts +1 -1
  195. package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
  196. package/serverless/function.d.ts +0 -79
  197. package/serverless/function.js +0 -48
  198. package/serverless/function.js.map +0 -1
  199. package/serverless/index.d.ts +0 -1
  200. package/serverless/index.js +0 -21
  201. 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: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>;
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
- * ID or Amazon Resource Name (ARN) of the service network
24
+ * Service name.
23
25
  */
24
- serviceIdentifier: string;
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: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceResult>;
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
- * ID or Amazon Resource Name (ARN) of the service network
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: pulumi.Input<string>;
106
+ serviceIdentifier?: pulumi.Input<string>;
95
107
  /**
96
108
  * List of tags associated with the service.
97
109
  */
@@ -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;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAuDD;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,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"}
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"}
@@ -44,7 +44,7 @@ export interface GetServiceNetworkResult {
44
44
  */
45
45
  readonly createdAt: string;
46
46
  /**
47
- * ID of the service network.
47
+ * The provider-assigned unique ID for this managed resource.
48
48
  */
49
49
  readonly id: string;
50
50
  /**
@@ -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
  /**
@@ -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
- }
@@ -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"}
@@ -1 +0,0 @@
1
- export * from "./function";
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../serverless/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,6CAA2B"}