@pulumi/aws 4.4.0-alpha.1620930863 → 4.5.1

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 (192) hide show
  1. package/alb/getListener.d.ts +6 -0
  2. package/alb/getListener.js +1 -0
  3. package/alb/getListener.js.map +1 -1
  4. package/alb/listener.d.ts +36 -0
  5. package/alb/listener.js +4 -0
  6. package/alb/listener.js.map +1 -1
  7. package/alb/listenerRule.d.ts +36 -0
  8. package/alb/listenerRule.js +4 -0
  9. package/alb/listenerRule.js.map +1 -1
  10. package/applicationloadbalancing/getListener.d.ts +6 -0
  11. package/applicationloadbalancing/getListener.js +1 -0
  12. package/applicationloadbalancing/getListener.js.map +1 -1
  13. package/applicationloadbalancing/listener.d.ts +36 -0
  14. package/applicationloadbalancing/listener.js +4 -0
  15. package/applicationloadbalancing/listener.js.map +1 -1
  16. package/applicationloadbalancing/listenerRule.d.ts +36 -0
  17. package/applicationloadbalancing/listenerRule.js +4 -0
  18. package/applicationloadbalancing/listenerRule.js.map +1 -1
  19. package/apprunner/autoScalingConfigurationVersion.d.ts +180 -0
  20. package/apprunner/autoScalingConfigurationVersion.js +99 -0
  21. package/apprunner/autoScalingConfigurationVersion.js.map +1 -0
  22. package/apprunner/connection.d.ts +140 -0
  23. package/apprunner/connection.js +94 -0
  24. package/apprunner/connection.js.map +1 -0
  25. package/apprunner/customDomainAssociation.d.ts +118 -0
  26. package/apprunner/customDomainAssociation.js +93 -0
  27. package/apprunner/customDomainAssociation.js.map +1 -0
  28. package/apprunner/index.d.ts +4 -0
  29. package/apprunner/index.js +41 -0
  30. package/apprunner/index.js.map +1 -0
  31. package/apprunner/service.d.ts +246 -0
  32. package/apprunner/service.js +147 -0
  33. package/apprunner/service.js.map +1 -0
  34. package/cloudfront/function.d.ts +151 -0
  35. package/cloudfront/function.js +101 -0
  36. package/cloudfront/function.js.map +1 -0
  37. package/cloudfront/index.d.ts +1 -0
  38. package/cloudfront/index.js +5 -0
  39. package/cloudfront/index.js.map +1 -1
  40. package/cloudtrail/getFunction.d.ts +57 -0
  41. package/cloudtrail/getFunction.js +23 -0
  42. package/cloudtrail/getFunction.js.map +1 -0
  43. package/cloudtrail/index.d.ts +1 -0
  44. package/cloudtrail/index.js +1 -0
  45. package/cloudtrail/index.js.map +1 -1
  46. package/cloudwatch/eventTarget.d.ts +44 -3
  47. package/cloudwatch/eventTarget.js +31 -0
  48. package/cloudwatch/eventTarget.js.map +1 -1
  49. package/codestarconnections/connection.d.ts +17 -5
  50. package/codestarconnections/connection.js +2 -3
  51. package/codestarconnections/connection.js.map +1 -1
  52. package/codestarconnections/getConnection.d.ts +4 -0
  53. package/datasync/agent.d.ts +54 -6
  54. package/datasync/agent.js +8 -0
  55. package/datasync/agent.js.map +1 -1
  56. package/datasync/s3location.d.ts +12 -0
  57. package/datasync/s3location.js +2 -0
  58. package/datasync/s3location.js.map +1 -1
  59. package/datasync/task.d.ts +55 -0
  60. package/datasync/task.js +35 -0
  61. package/datasync/task.js.map +1 -1
  62. package/directconnect/gatewayAssociation.d.ts +1 -1
  63. package/directconnect/gatewayAssociation.js +1 -1
  64. package/ec2/amiCopy.d.ts +15 -0
  65. package/ec2/amiCopy.js +2 -0
  66. package/ec2/amiCopy.js.map +1 -1
  67. package/ec2/getRouteTables.d.ts +0 -29
  68. package/ec2/getRouteTables.js +0 -29
  69. package/ec2/getRouteTables.js.map +1 -1
  70. package/ec2/launchTemplate.d.ts +1 -1
  71. package/ec2/networkInterface.d.ts +12 -0
  72. package/ec2/networkInterface.js +2 -0
  73. package/ec2/networkInterface.js.map +1 -1
  74. package/eks/nodeGroup.d.ts +27 -6
  75. package/eks/nodeGroup.js +2 -0
  76. package/eks/nodeGroup.js.map +1 -1
  77. package/elasticloadbalancingv2/getListener.d.ts +6 -0
  78. package/elasticloadbalancingv2/getListener.js +1 -0
  79. package/elasticloadbalancingv2/getListener.js.map +1 -1
  80. package/elasticloadbalancingv2/listener.d.ts +36 -0
  81. package/elasticloadbalancingv2/listener.js +4 -0
  82. package/elasticloadbalancingv2/listener.js.map +1 -1
  83. package/elasticloadbalancingv2/listenerRule.d.ts +36 -0
  84. package/elasticloadbalancingv2/listenerRule.js +4 -0
  85. package/elasticloadbalancingv2/listenerRule.js.map +1 -1
  86. package/glue/catalogDatabase.d.ts +27 -14
  87. package/glue/catalogDatabase.js +2 -0
  88. package/glue/catalogDatabase.js.map +1 -1
  89. package/glue/catalogTable.d.ts +36 -24
  90. package/glue/catalogTable.js +2 -0
  91. package/glue/catalogTable.js.map +1 -1
  92. package/glue/getConnection.d.ts +64 -0
  93. package/glue/getConnection.js +33 -0
  94. package/glue/getConnection.js.map +1 -0
  95. package/glue/getDataCatalogEncryptionSettings.d.ts +40 -0
  96. package/glue/getDataCatalogEncryptionSettings.js +33 -0
  97. package/glue/getDataCatalogEncryptionSettings.js.map +1 -0
  98. package/glue/index.d.ts +2 -0
  99. package/glue/index.js +2 -0
  100. package/glue/index.js.map +1 -1
  101. package/iam/principals.d.ts +4 -0
  102. package/iam/principals.js +4 -0
  103. package/iam/principals.js.map +1 -1
  104. package/index.d.ts +4 -1
  105. package/index.js +6 -0
  106. package/index.js.map +1 -1
  107. package/lambda/eventSourceMapping.d.ts +0 -2
  108. package/lambda/eventSourceMapping.js +0 -2
  109. package/lambda/eventSourceMapping.js.map +1 -1
  110. package/lb/getListener.d.ts +6 -0
  111. package/lb/getListener.js +1 -0
  112. package/lb/getListener.js.map +1 -1
  113. package/lb/listener.d.ts +36 -0
  114. package/lb/listener.js +4 -0
  115. package/lb/listener.js.map +1 -1
  116. package/lb/listenerRule.d.ts +36 -0
  117. package/lb/listenerRule.js +4 -0
  118. package/lb/listenerRule.js.map +1 -1
  119. package/macie/customDataIdentifier.d.ts +183 -0
  120. package/macie/customDataIdentifier.js +99 -0
  121. package/macie/customDataIdentifier.js.map +1 -0
  122. package/macie/findingsFilter.d.ts +168 -0
  123. package/macie/findingsFilter.js +105 -0
  124. package/macie/findingsFilter.js.map +1 -0
  125. package/macie/index.d.ts +2 -0
  126. package/macie/index.js +10 -0
  127. package/macie/index.js.map +1 -1
  128. package/macie2/index.d.ts +3 -0
  129. package/macie2/index.js +15 -0
  130. package/macie2/index.js.map +1 -1
  131. package/macie2/invitationAccepter.d.ts +91 -0
  132. package/macie2/invitationAccepter.js +90 -0
  133. package/macie2/invitationAccepter.js.map +1 -0
  134. package/macie2/member.d.ts +206 -0
  135. package/macie2/member.js +111 -0
  136. package/macie2/member.js.map +1 -0
  137. package/macie2/organizationAdminAccount.d.ts +71 -0
  138. package/macie2/organizationAdminAccount.js +76 -0
  139. package/macie2/organizationAdminAccount.js.map +1 -0
  140. package/organizations/delegatedAdministrator.d.ts +139 -0
  141. package/organizations/delegatedAdministrator.js +95 -0
  142. package/organizations/delegatedAdministrator.js.map +1 -0
  143. package/organizations/getDelegatedAdministrators.d.ts +40 -0
  144. package/organizations/getDelegatedAdministrators.js +34 -0
  145. package/organizations/getDelegatedAdministrators.js.map +1 -0
  146. package/organizations/getDelegatedServices.d.ts +40 -0
  147. package/organizations/getDelegatedServices.js +33 -0
  148. package/organizations/getDelegatedServices.js.map +1 -0
  149. package/organizations/index.d.ts +3 -0
  150. package/organizations/index.js +7 -0
  151. package/organizations/index.js.map +1 -1
  152. package/organizations/organization.d.ts +3 -3
  153. package/outposts/getOutpost.d.ts +4 -3
  154. package/outposts/getOutpost.js +1 -0
  155. package/outposts/getOutpost.js.map +1 -1
  156. package/outposts/getOutposts.d.ts +5 -0
  157. package/outposts/getOutposts.js +1 -0
  158. package/outposts/getOutposts.js.map +1 -1
  159. package/package.json +2 -2
  160. package/package.json.dev +1 -1
  161. package/pinpoint/emailChannel.d.ts +2 -2
  162. package/pinpoint/emailChannel.js +0 -3
  163. package/pinpoint/emailChannel.js.map +1 -1
  164. package/resourcegroupstaggingapi/getResources.d.ts +85 -0
  165. package/resourcegroupstaggingapi/getResources.js +63 -0
  166. package/resourcegroupstaggingapi/getResources.js.map +1 -0
  167. package/resourcegroupstaggingapi/index.d.ts +1 -0
  168. package/resourcegroupstaggingapi/index.js +10 -0
  169. package/resourcegroupstaggingapi/index.js.map +1 -0
  170. package/servicecatalog/index.d.ts +3 -0
  171. package/servicecatalog/index.js +15 -0
  172. package/servicecatalog/index.js.map +1 -1
  173. package/servicecatalog/organizationsAccess.d.ts +65 -0
  174. package/servicecatalog/organizationsAccess.js +70 -0
  175. package/servicecatalog/organizationsAccess.js.map +1 -0
  176. package/servicecatalog/portfolioShare.d.ts +149 -0
  177. package/servicecatalog/portfolioShare.js +104 -0
  178. package/servicecatalog/portfolioShare.js.map +1 -0
  179. package/servicecatalog/tagOption.d.ts +98 -0
  180. package/servicecatalog/tagOption.js +86 -0
  181. package/servicecatalog/tagOption.js.map +1 -0
  182. package/timestreamwrite/database.d.ts +140 -0
  183. package/timestreamwrite/database.js +100 -0
  184. package/timestreamwrite/database.js.map +1 -0
  185. package/timestreamwrite/index.d.ts +2 -0
  186. package/timestreamwrite/index.js +31 -0
  187. package/timestreamwrite/index.js.map +1 -0
  188. package/timestreamwrite/table.d.ts +150 -0
  189. package/timestreamwrite/table.js +108 -0
  190. package/timestreamwrite/table.js.map +1 -0
  191. package/types/input.d.ts +392 -40
  192. package/types/output.d.ts +522 -64
@@ -0,0 +1,246 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Manages an App Runner Service.
5
+ *
6
+ * ## Example Usage
7
+ * ### Service with a Code Repository Source
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = new aws.apprunner.Service("example", {
14
+ * serviceName: "example",
15
+ * sourceConfiguration: {
16
+ * authenticationConfiguration: {
17
+ * connectionArn: aws_apprunner_connection.example.arn,
18
+ * },
19
+ * codeRepository: {
20
+ * codeConfiguration: {
21
+ * codeConfigurationValues: {
22
+ * buildCommand: "python setup.py develop",
23
+ * port: "8000",
24
+ * runtime: "python3",
25
+ * startCommand: "python runapp.py",
26
+ * },
27
+ * configurationSource: "API",
28
+ * },
29
+ * repositoryUrl: "https://github.com/example/my-example-python-app",
30
+ * sourceCodeVersion: {
31
+ * type: "BRANCH",
32
+ * value: "main",
33
+ * },
34
+ * },
35
+ * },
36
+ * tags: {
37
+ * Name: "example-apprunner-service",
38
+ * },
39
+ * });
40
+ * ```
41
+ * ### Service with an Image Repository Source
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as aws from "@pulumi/aws";
46
+ *
47
+ * const example = new aws.apprunner.Service("example", {
48
+ * serviceName: "example",
49
+ * sourceConfiguration: {
50
+ * imageRepository: {
51
+ * imageConfiguration: {
52
+ * port: "8000",
53
+ * },
54
+ * imageIdentifier: "public.ecr.aws/jg/hello:latest",
55
+ * imageRepositoryType: "ECR_PUBLIC",
56
+ * },
57
+ * },
58
+ * tags: {
59
+ * Name: "example-apprunner-service",
60
+ * },
61
+ * });
62
+ * ```
63
+ *
64
+ * ## Import
65
+ *
66
+ * App Runner Services can be imported by using the `arn`, e.g.
67
+ *
68
+ * ```sh
69
+ * $ pulumi import aws:apprunner/service:Service example arn:aws:apprunner:us-east-1:1234567890:service/example/0a03292a89764e5882c41d8f991c82fe
70
+ * ```
71
+ */
72
+ export declare class Service extends pulumi.CustomResource {
73
+ /**
74
+ * Get an existing Service resource's state with the given name, ID, and optional extra
75
+ * properties used to qualify the lookup.
76
+ *
77
+ * @param name The _unique_ name of the resulting resource.
78
+ * @param id The _unique_ provider ID of the resource to lookup.
79
+ * @param state Any extra arguments used during the lookup.
80
+ * @param opts Optional settings to control the behavior of the CustomResource.
81
+ */
82
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceState, opts?: pulumi.CustomResourceOptions): Service;
83
+ /**
84
+ * Returns true if the given object is an instance of Service. This is designed to work even
85
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
+ */
87
+ static isInstance(obj: any): obj is Service;
88
+ /**
89
+ * ARN of the App Runner service.
90
+ */
91
+ readonly arn: pulumi.Output<string>;
92
+ /**
93
+ * ARN of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
94
+ */
95
+ readonly autoScalingConfigurationArn: pulumi.Output<string>;
96
+ /**
97
+ * An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an AWS managed CMK. See Encryption Configuration below for more details.
98
+ */
99
+ readonly encryptionConfiguration: pulumi.Output<outputs.apprunner.ServiceEncryptionConfiguration | undefined>;
100
+ /**
101
+ * Settings of the health check that AWS App Runner performs to monitor the health of your service. See Health Check Configuration below for more details.
102
+ */
103
+ readonly healthCheckConfiguration: pulumi.Output<outputs.apprunner.ServiceHealthCheckConfiguration>;
104
+ /**
105
+ * The runtime configuration of instances (scaling units) of the App Runner service. See Instance Configuration below for more details.
106
+ */
107
+ readonly instanceConfiguration: pulumi.Output<outputs.apprunner.ServiceInstanceConfiguration>;
108
+ /**
109
+ * An alphanumeric ID that App Runner generated for this service. Unique within the AWS Region.
110
+ */
111
+ readonly serviceId: pulumi.Output<string>;
112
+ /**
113
+ * Name of the service.
114
+ */
115
+ readonly serviceName: pulumi.Output<string>;
116
+ /**
117
+ * A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
118
+ */
119
+ readonly serviceUrl: pulumi.Output<string>;
120
+ /**
121
+ * The source to deploy to the App Runner service. Can be a code or an image repository. See Source Configuration below for more details.
122
+ */
123
+ readonly sourceConfiguration: pulumi.Output<outputs.apprunner.ServiceSourceConfiguration>;
124
+ /**
125
+ * The current state of the App Runner service.
126
+ */
127
+ readonly status: pulumi.Output<string>;
128
+ /**
129
+ * Key-value map of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
130
+ */
131
+ readonly tags: pulumi.Output<{
132
+ [key: string]: string;
133
+ } | undefined>;
134
+ /**
135
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
136
+ */
137
+ readonly tagsAll: pulumi.Output<{
138
+ [key: string]: string;
139
+ }>;
140
+ /**
141
+ * Create a Service resource with the given unique name, arguments, and options.
142
+ *
143
+ * @param name The _unique_ name of the resource.
144
+ * @param args The arguments to use to populate this resource's properties.
145
+ * @param opts A bag of options that control this resource's behavior.
146
+ */
147
+ constructor(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions);
148
+ }
149
+ /**
150
+ * Input properties used for looking up and filtering Service resources.
151
+ */
152
+ export interface ServiceState {
153
+ /**
154
+ * ARN of the App Runner service.
155
+ */
156
+ readonly arn?: pulumi.Input<string>;
157
+ /**
158
+ * ARN of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
159
+ */
160
+ readonly autoScalingConfigurationArn?: pulumi.Input<string>;
161
+ /**
162
+ * An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an AWS managed CMK. See Encryption Configuration below for more details.
163
+ */
164
+ readonly encryptionConfiguration?: pulumi.Input<inputs.apprunner.ServiceEncryptionConfiguration>;
165
+ /**
166
+ * Settings of the health check that AWS App Runner performs to monitor the health of your service. See Health Check Configuration below for more details.
167
+ */
168
+ readonly healthCheckConfiguration?: pulumi.Input<inputs.apprunner.ServiceHealthCheckConfiguration>;
169
+ /**
170
+ * The runtime configuration of instances (scaling units) of the App Runner service. See Instance Configuration below for more details.
171
+ */
172
+ readonly instanceConfiguration?: pulumi.Input<inputs.apprunner.ServiceInstanceConfiguration>;
173
+ /**
174
+ * An alphanumeric ID that App Runner generated for this service. Unique within the AWS Region.
175
+ */
176
+ readonly serviceId?: pulumi.Input<string>;
177
+ /**
178
+ * Name of the service.
179
+ */
180
+ readonly serviceName?: pulumi.Input<string>;
181
+ /**
182
+ * A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
183
+ */
184
+ readonly serviceUrl?: pulumi.Input<string>;
185
+ /**
186
+ * The source to deploy to the App Runner service. Can be a code or an image repository. See Source Configuration below for more details.
187
+ */
188
+ readonly sourceConfiguration?: pulumi.Input<inputs.apprunner.ServiceSourceConfiguration>;
189
+ /**
190
+ * The current state of the App Runner service.
191
+ */
192
+ readonly status?: pulumi.Input<string>;
193
+ /**
194
+ * Key-value map of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
195
+ */
196
+ readonly tags?: pulumi.Input<{
197
+ [key: string]: pulumi.Input<string>;
198
+ }>;
199
+ /**
200
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
201
+ */
202
+ readonly tagsAll?: pulumi.Input<{
203
+ [key: string]: pulumi.Input<string>;
204
+ }>;
205
+ }
206
+ /**
207
+ * The set of arguments for constructing a Service resource.
208
+ */
209
+ export interface ServiceArgs {
210
+ /**
211
+ * ARN of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
212
+ */
213
+ readonly autoScalingConfigurationArn?: pulumi.Input<string>;
214
+ /**
215
+ * An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an AWS managed CMK. See Encryption Configuration below for more details.
216
+ */
217
+ readonly encryptionConfiguration?: pulumi.Input<inputs.apprunner.ServiceEncryptionConfiguration>;
218
+ /**
219
+ * Settings of the health check that AWS App Runner performs to monitor the health of your service. See Health Check Configuration below for more details.
220
+ */
221
+ readonly healthCheckConfiguration?: pulumi.Input<inputs.apprunner.ServiceHealthCheckConfiguration>;
222
+ /**
223
+ * The runtime configuration of instances (scaling units) of the App Runner service. See Instance Configuration below for more details.
224
+ */
225
+ readonly instanceConfiguration?: pulumi.Input<inputs.apprunner.ServiceInstanceConfiguration>;
226
+ /**
227
+ * Name of the service.
228
+ */
229
+ readonly serviceName: pulumi.Input<string>;
230
+ /**
231
+ * The source to deploy to the App Runner service. Can be a code or an image repository. See Source Configuration below for more details.
232
+ */
233
+ readonly sourceConfiguration: pulumi.Input<inputs.apprunner.ServiceSourceConfiguration>;
234
+ /**
235
+ * Key-value map of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
236
+ */
237
+ readonly tags?: pulumi.Input<{
238
+ [key: string]: pulumi.Input<string>;
239
+ }>;
240
+ /**
241
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
242
+ */
243
+ readonly tagsAll?: pulumi.Input<{
244
+ [key: string]: pulumi.Input<string>;
245
+ }>;
246
+ }
@@ -0,0 +1,147 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * Manages an App Runner Service.
9
+ *
10
+ * ## Example Usage
11
+ * ### Service with a Code Repository Source
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.apprunner.Service("example", {
18
+ * serviceName: "example",
19
+ * sourceConfiguration: {
20
+ * authenticationConfiguration: {
21
+ * connectionArn: aws_apprunner_connection.example.arn,
22
+ * },
23
+ * codeRepository: {
24
+ * codeConfiguration: {
25
+ * codeConfigurationValues: {
26
+ * buildCommand: "python setup.py develop",
27
+ * port: "8000",
28
+ * runtime: "python3",
29
+ * startCommand: "python runapp.py",
30
+ * },
31
+ * configurationSource: "API",
32
+ * },
33
+ * repositoryUrl: "https://github.com/example/my-example-python-app",
34
+ * sourceCodeVersion: {
35
+ * type: "BRANCH",
36
+ * value: "main",
37
+ * },
38
+ * },
39
+ * },
40
+ * tags: {
41
+ * Name: "example-apprunner-service",
42
+ * },
43
+ * });
44
+ * ```
45
+ * ### Service with an Image Repository Source
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as aws from "@pulumi/aws";
50
+ *
51
+ * const example = new aws.apprunner.Service("example", {
52
+ * serviceName: "example",
53
+ * sourceConfiguration: {
54
+ * imageRepository: {
55
+ * imageConfiguration: {
56
+ * port: "8000",
57
+ * },
58
+ * imageIdentifier: "public.ecr.aws/jg/hello:latest",
59
+ * imageRepositoryType: "ECR_PUBLIC",
60
+ * },
61
+ * },
62
+ * tags: {
63
+ * Name: "example-apprunner-service",
64
+ * },
65
+ * });
66
+ * ```
67
+ *
68
+ * ## Import
69
+ *
70
+ * App Runner Services can be imported by using the `arn`, e.g.
71
+ *
72
+ * ```sh
73
+ * $ pulumi import aws:apprunner/service:Service example arn:aws:apprunner:us-east-1:1234567890:service/example/0a03292a89764e5882c41d8f991c82fe
74
+ * ```
75
+ */
76
+ class Service extends pulumi.CustomResource {
77
+ constructor(name, argsOrState, opts) {
78
+ let inputs = {};
79
+ opts = opts || {};
80
+ if (opts.id) {
81
+ const state = argsOrState;
82
+ inputs["arn"] = state ? state.arn : undefined;
83
+ inputs["autoScalingConfigurationArn"] = state ? state.autoScalingConfigurationArn : undefined;
84
+ inputs["encryptionConfiguration"] = state ? state.encryptionConfiguration : undefined;
85
+ inputs["healthCheckConfiguration"] = state ? state.healthCheckConfiguration : undefined;
86
+ inputs["instanceConfiguration"] = state ? state.instanceConfiguration : undefined;
87
+ inputs["serviceId"] = state ? state.serviceId : undefined;
88
+ inputs["serviceName"] = state ? state.serviceName : undefined;
89
+ inputs["serviceUrl"] = state ? state.serviceUrl : undefined;
90
+ inputs["sourceConfiguration"] = state ? state.sourceConfiguration : undefined;
91
+ inputs["status"] = state ? state.status : undefined;
92
+ inputs["tags"] = state ? state.tags : undefined;
93
+ inputs["tagsAll"] = state ? state.tagsAll : undefined;
94
+ }
95
+ else {
96
+ const args = argsOrState;
97
+ if ((!args || args.serviceName === undefined) && !opts.urn) {
98
+ throw new Error("Missing required property 'serviceName'");
99
+ }
100
+ if ((!args || args.sourceConfiguration === undefined) && !opts.urn) {
101
+ throw new Error("Missing required property 'sourceConfiguration'");
102
+ }
103
+ inputs["autoScalingConfigurationArn"] = args ? args.autoScalingConfigurationArn : undefined;
104
+ inputs["encryptionConfiguration"] = args ? args.encryptionConfiguration : undefined;
105
+ inputs["healthCheckConfiguration"] = args ? args.healthCheckConfiguration : undefined;
106
+ inputs["instanceConfiguration"] = args ? args.instanceConfiguration : undefined;
107
+ inputs["serviceName"] = args ? args.serviceName : undefined;
108
+ inputs["sourceConfiguration"] = args ? args.sourceConfiguration : undefined;
109
+ inputs["tags"] = args ? args.tags : undefined;
110
+ inputs["tagsAll"] = args ? args.tagsAll : undefined;
111
+ inputs["arn"] = undefined /*out*/;
112
+ inputs["serviceId"] = undefined /*out*/;
113
+ inputs["serviceUrl"] = undefined /*out*/;
114
+ inputs["status"] = undefined /*out*/;
115
+ }
116
+ if (!opts.version) {
117
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
118
+ }
119
+ super(Service.__pulumiType, name, inputs, opts);
120
+ }
121
+ /**
122
+ * Get an existing Service resource's state with the given name, ID, and optional extra
123
+ * properties used to qualify the lookup.
124
+ *
125
+ * @param name The _unique_ name of the resulting resource.
126
+ * @param id The _unique_ provider ID of the resource to lookup.
127
+ * @param state Any extra arguments used during the lookup.
128
+ * @param opts Optional settings to control the behavior of the CustomResource.
129
+ */
130
+ static get(name, id, state, opts) {
131
+ return new Service(name, state, Object.assign(Object.assign({}, opts), { id: id }));
132
+ }
133
+ /**
134
+ * Returns true if the given object is an instance of Service. This is designed to work even
135
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
136
+ */
137
+ static isInstance(obj) {
138
+ if (obj === undefined || obj === null) {
139
+ return false;
140
+ }
141
+ return obj['__pulumiType'] === Service.__pulumiType;
142
+ }
143
+ }
144
+ exports.Service = Service;
145
+ /** @internal */
146
+ Service.__pulumiType = 'aws:apprunner/service:Service';
147
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../apprunner/service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAqF9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,MAAM,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,MAAM,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,MAAM,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,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AS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IA9HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BAgIC;AAlHG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
@@ -0,0 +1,151 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a CloudFront Function resource. With CloudFront Functions in Amazon CloudFront, you can write lightweight functions in JavaScript for high-scale, latency-sensitive CDN customizations.
4
+ *
5
+ * See [CloudFront Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-functions.html)
6
+ *
7
+ * > **NOTE:** You cannot delete a function if it’s associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.
8
+ *
9
+ * ## Example Usage
10
+ * ### Basic Example
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as aws from "@pulumi/aws";
15
+ * import * from "fs";
16
+ *
17
+ * const test = new aws.cloudfront.Function("test", {
18
+ * runtime: "cloudfront-js-1.0",
19
+ * comment: "my function",
20
+ * publish: true,
21
+ * code: fs.readFileSync(`${path.module}/function.js`),
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * CloudFront Functions can be imported using the `name`, e.g.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import aws:cloudfront/function:Function test my_test_function
31
+ * ```
32
+ */
33
+ export declare class Function extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing Function resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FunctionState, opts?: pulumi.CustomResourceOptions): Function;
44
+ /**
45
+ * Returns true if the given object is an instance of Function. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is Function;
49
+ /**
50
+ * Amazon Resource Name (ARN) identifying your CloudFront Function.
51
+ */
52
+ readonly arn: pulumi.Output<string>;
53
+ /**
54
+ * Source code of the function
55
+ */
56
+ readonly code: pulumi.Output<string>;
57
+ /**
58
+ * Comment.
59
+ */
60
+ readonly comment: pulumi.Output<string | undefined>;
61
+ /**
62
+ * ETag hash of the function
63
+ */
64
+ readonly etag: pulumi.Output<string>;
65
+ /**
66
+ * Unique name for your CloudFront Function.
67
+ */
68
+ readonly name: pulumi.Output<string>;
69
+ /**
70
+ * Whether to publish creation/change as Live CloudFront Function Version. Defaults to `true`.
71
+ */
72
+ readonly publish: pulumi.Output<boolean | undefined>;
73
+ /**
74
+ * Identifier of the function's runtime. Currently only `cloudfront-js-1.0` is valid.
75
+ */
76
+ readonly runtime: pulumi.Output<string>;
77
+ /**
78
+ * Status of the function. Can be `UNPUBLISHED`, `UNASSOCIATED` or `ASSOCIATED`.
79
+ */
80
+ readonly status: pulumi.Output<string>;
81
+ /**
82
+ * Create a Function resource with the given unique name, arguments, and options.
83
+ *
84
+ * @param name The _unique_ name of the resource.
85
+ * @param args The arguments to use to populate this resource's properties.
86
+ * @param opts A bag of options that control this resource's behavior.
87
+ */
88
+ constructor(name: string, args: FunctionArgs, opts?: pulumi.CustomResourceOptions);
89
+ }
90
+ /**
91
+ * Input properties used for looking up and filtering Function resources.
92
+ */
93
+ export interface FunctionState {
94
+ /**
95
+ * Amazon Resource Name (ARN) identifying your CloudFront Function.
96
+ */
97
+ readonly arn?: pulumi.Input<string>;
98
+ /**
99
+ * Source code of the function
100
+ */
101
+ readonly code?: pulumi.Input<string>;
102
+ /**
103
+ * Comment.
104
+ */
105
+ readonly comment?: pulumi.Input<string>;
106
+ /**
107
+ * ETag hash of the function
108
+ */
109
+ readonly etag?: pulumi.Input<string>;
110
+ /**
111
+ * Unique name for your CloudFront Function.
112
+ */
113
+ readonly name?: pulumi.Input<string>;
114
+ /**
115
+ * Whether to publish creation/change as Live CloudFront Function Version. Defaults to `true`.
116
+ */
117
+ readonly publish?: pulumi.Input<boolean>;
118
+ /**
119
+ * Identifier of the function's runtime. Currently only `cloudfront-js-1.0` is valid.
120
+ */
121
+ readonly runtime?: pulumi.Input<string>;
122
+ /**
123
+ * Status of the function. Can be `UNPUBLISHED`, `UNASSOCIATED` or `ASSOCIATED`.
124
+ */
125
+ readonly status?: pulumi.Input<string>;
126
+ }
127
+ /**
128
+ * The set of arguments for constructing a Function resource.
129
+ */
130
+ export interface FunctionArgs {
131
+ /**
132
+ * Source code of the function
133
+ */
134
+ readonly code: pulumi.Input<string>;
135
+ /**
136
+ * Comment.
137
+ */
138
+ readonly comment?: pulumi.Input<string>;
139
+ /**
140
+ * Unique name for your CloudFront Function.
141
+ */
142
+ readonly name?: pulumi.Input<string>;
143
+ /**
144
+ * Whether to publish creation/change as Live CloudFront Function Version. Defaults to `true`.
145
+ */
146
+ readonly publish?: pulumi.Input<boolean>;
147
+ /**
148
+ * Identifier of the function's runtime. Currently only `cloudfront-js-1.0` is valid.
149
+ */
150
+ readonly runtime: pulumi.Input<string>;
151
+ }
@@ -0,0 +1,101 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * Provides a CloudFront Function resource. With CloudFront Functions in Amazon CloudFront, you can write lightweight functions in JavaScript for high-scale, latency-sensitive CDN customizations.
9
+ *
10
+ * See [CloudFront Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-functions.html)
11
+ *
12
+ * > **NOTE:** You cannot delete a function if it’s associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.
13
+ *
14
+ * ## Example Usage
15
+ * ### Basic Example
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as aws from "@pulumi/aws";
20
+ * import * from "fs";
21
+ *
22
+ * const test = new aws.cloudfront.Function("test", {
23
+ * runtime: "cloudfront-js-1.0",
24
+ * comment: "my function",
25
+ * publish: true,
26
+ * code: fs.readFileSync(`${path.module}/function.js`),
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * CloudFront Functions can be imported using the `name`, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import aws:cloudfront/function:Function test my_test_function
36
+ * ```
37
+ */
38
+ class Function extends pulumi.CustomResource {
39
+ constructor(name, argsOrState, opts) {
40
+ let inputs = {};
41
+ opts = opts || {};
42
+ if (opts.id) {
43
+ const state = argsOrState;
44
+ inputs["arn"] = state ? state.arn : undefined;
45
+ inputs["code"] = state ? state.code : undefined;
46
+ inputs["comment"] = state ? state.comment : undefined;
47
+ inputs["etag"] = state ? state.etag : undefined;
48
+ inputs["name"] = state ? state.name : undefined;
49
+ inputs["publish"] = state ? state.publish : undefined;
50
+ inputs["runtime"] = state ? state.runtime : undefined;
51
+ inputs["status"] = state ? state.status : undefined;
52
+ }
53
+ else {
54
+ const args = argsOrState;
55
+ if ((!args || args.code === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'code'");
57
+ }
58
+ if ((!args || args.runtime === undefined) && !opts.urn) {
59
+ throw new Error("Missing required property 'runtime'");
60
+ }
61
+ inputs["code"] = args ? args.code : undefined;
62
+ inputs["comment"] = args ? args.comment : undefined;
63
+ inputs["name"] = args ? args.name : undefined;
64
+ inputs["publish"] = args ? args.publish : undefined;
65
+ inputs["runtime"] = args ? args.runtime : undefined;
66
+ inputs["arn"] = undefined /*out*/;
67
+ inputs["etag"] = undefined /*out*/;
68
+ inputs["status"] = undefined /*out*/;
69
+ }
70
+ if (!opts.version) {
71
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
72
+ }
73
+ super(Function.__pulumiType, name, inputs, opts);
74
+ }
75
+ /**
76
+ * Get an existing Function resource's state with the given name, ID, and optional extra
77
+ * properties used to qualify the lookup.
78
+ *
79
+ * @param name The _unique_ name of the resulting resource.
80
+ * @param id The _unique_ provider ID of the resource to lookup.
81
+ * @param state Any extra arguments used during the lookup.
82
+ * @param opts Optional settings to control the behavior of the CustomResource.
83
+ */
84
+ static get(name, id, state, opts) {
85
+ return new Function(name, state, Object.assign(Object.assign({}, opts), { id: id }));
86
+ }
87
+ /**
88
+ * Returns true if the given object is an instance of Function. This is designed to work even
89
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
90
+ */
91
+ static isInstance(obj) {
92
+ if (obj === undefined || obj === null) {
93
+ return false;
94
+ }
95
+ return obj['__pulumiType'] === Function.__pulumiType;
96
+ }
97
+ }
98
+ exports.Function = Function;
99
+ /** @internal */
100
+ Function.__pulumiType = 'aws:cloudfront/function:Function';
101
+ //# sourceMappingURL=function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function.js","sourceRoot":"","sources":["../../cloudfront/function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACz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,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IAtGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAwGC;AA1FG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from "./cachePolicy";
2
2
  export * from "./distribution";
3
+ export * from "./function";
3
4
  export * from "./getCachePolicy";
4
5
  export * from "./getDistribution";
5
6
  export * from "./getOriginRequestPolicy";