@pulumi/aws 5.24.0-alpha.1670408722 → 5.24.0
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/README.md +0 -3
- package/alb/targetGroup.d.ts +6 -6
- package/appautoscaling/policy.d.ts +9 -9
- package/appautoscaling/scheduledAction.d.ts +12 -12
- package/applicationloadbalancing/targetGroup.d.ts +6 -6
- package/apprunner/vpcConnector.d.ts +6 -0
- package/apprunner/vpcConnector.js.map +1 -1
- package/appsync/function.d.ts +53 -11
- package/appsync/function.js +22 -6
- package/appsync/function.js.map +1 -1
- package/cloudwatch/logDestination.d.ts +39 -9
- package/cloudwatch/logDestination.js +4 -0
- package/cloudwatch/logDestination.js.map +1 -1
- package/codebuild/project.d.ts +3 -3
- package/controltower/controlTowerControl.d.ts +8 -0
- package/controltower/controlTowerControl.js +8 -0
- package/controltower/controlTowerControl.js.map +1 -1
- package/dms/s3endpoint.d.ts +9 -9
- package/ec2/getLocalGatewayRouteTables.d.ts +12 -0
- package/ec2/getLocalGatewayRouteTables.js +12 -0
- package/ec2/getLocalGatewayRouteTables.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +7 -2
- package/ec2/index.js.map +1 -1
- package/ec2/instance.d.ts +3 -3
- package/ec2/spotInstanceRequest.d.ts +3 -3
- package/ec2/vpcNetworkPerformanceMetricSubscription.d.ts +107 -0
- package/ec2/vpcNetworkPerformanceMetricSubscription.js +78 -0
- package/ec2/vpcNetworkPerformanceMetricSubscription.js.map +1 -0
- package/eks/addon.d.ts +40 -0
- package/eks/addon.js +30 -0
- package/eks/addon.js.map +1 -1
- package/eks/getAddon.d.ts +4 -0
- package/eks/getAddon.js.map +1 -1
- package/elasticloadbalancingv2/targetGroup.d.ts +6 -6
- package/fsx/fileCache.d.ts +2 -2
- package/fsx/fileCache.js +2 -2
- package/glue/crawler.d.ts +12 -0
- package/glue/crawler.js +2 -0
- package/glue/crawler.js.map +1 -1
- package/grafana/workspace.d.ts +14 -0
- package/grafana/workspace.js +2 -0
- package/grafana/workspace.js.map +1 -1
- package/guardduty/inviteAccepter.d.ts +1 -1
- package/guardduty/inviteAccepter.js +1 -1
- package/guardduty/ipset.d.ts +1 -1
- package/guardduty/ipset.js +1 -1
- package/guardduty/member.d.ts +1 -1
- package/guardduty/member.js +1 -1
- package/guardduty/publishingDestination.d.ts +1 -1
- package/guardduty/publishingDestination.js +1 -1
- package/guardduty/threatIntelSet.d.ts +1 -1
- package/guardduty/threatIntelSet.js +1 -1
- package/lb/targetGroup.d.ts +6 -6
- package/networkfirewall/firewall.d.ts +12 -0
- package/networkfirewall/firewall.js +2 -0
- package/networkfirewall/firewall.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +12 -0
- package/networkfirewall/firewallPolicy.js +2 -0
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkfirewall/ruleGroup.d.ts +15 -3
- package/networkfirewall/ruleGroup.js +2 -0
- package/networkfirewall/ruleGroup.js.map +1 -1
- package/networkmanager/coreNetwork.d.ts +200 -0
- package/networkmanager/coreNetwork.js +126 -0
- package/networkmanager/coreNetwork.js.map +1 -0
- package/networkmanager/index.d.ts +3 -0
- package/networkmanager/index.js +6 -1
- package/networkmanager/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/instance.d.ts +10 -4
- package/rds/instance.js.map +1 -1
- package/redshiftserverless/getCredentials.d.ts +1 -1
- package/rum/index.d.ts +3 -0
- package/rum/index.js +6 -1
- package/rum/index.js.map +1 -1
- package/rum/metricsDestination.d.ts +107 -0
- package/rum/metricsDestination.js +84 -0
- package/rum/metricsDestination.js.map +1 -0
- package/s3/bucketV2.d.ts +9 -0
- package/s3/bucketV2.js.map +1 -1
- package/sagemaker/app.d.ts +21 -9
- package/sagemaker/app.js +3 -4
- package/sagemaker/app.js.map +1 -1
- package/sagemaker/domain.d.ts +13 -1
- package/sagemaker/domain.js +3 -1
- package/sagemaker/domain.js.map +1 -1
- package/sagemaker/endpointConfiguration.d.ts +15 -3
- package/sagemaker/endpointConfiguration.js +2 -0
- package/sagemaker/endpointConfiguration.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/modelPackageGroup.d.ts +1 -1
- package/sagemaker/modelPackageGroup.js +1 -1
- package/sagemaker/modelPackageGroupPolicy.d.ts +1 -1
- package/sagemaker/modelPackageGroupPolicy.js +1 -1
- package/sagemaker/space.d.ts +144 -0
- package/sagemaker/space.js +91 -0
- package/sagemaker/space.js.map +1 -0
- package/sagemaker/studioLifecycleConfig.d.ts +1 -1
- package/sagemaker/studioLifecycleConfig.js +1 -1
- package/sagemaker/userProfile.d.ts +1 -1
- package/sagemaker/userProfile.js +1 -1
- package/ssoadmin/index.d.ts +3 -0
- package/ssoadmin/index.js +6 -1
- package/ssoadmin/index.js.map +1 -1
- package/ssoadmin/permissionsBoundaryAttachment.d.ts +103 -0
- package/ssoadmin/permissionsBoundaryAttachment.js +91 -0
- package/ssoadmin/permissionsBoundaryAttachment.js.map +1 -0
- package/types/input.d.ts +474 -30
- package/types/output.d.ts +475 -31
package/README.md
CHANGED
|
@@ -65,9 +65,6 @@ the language of choice, while having Pulumi itself do the appropriate transforma
|
|
|
65
65
|
This makes many APIs easier to use, such as defining a Lambda to execute when an S3 Bucket is manipulated,
|
|
66
66
|
or a CloudWatch timer is fired. To see some examples of this in action, please refer to the `examples/` directory.
|
|
67
67
|
|
|
68
|
-
The [pulumi/pulumi-cloud](https://github.com/pulumi/pulumi-cloud) repo offer higher level abstractions that build on top
|
|
69
|
-
of this underlying capability.
|
|
70
|
-
|
|
71
68
|
## Configuration
|
|
72
69
|
|
|
73
70
|
The following configuration points are available:
|
package/alb/targetGroup.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ export declare class TargetGroup extends pulumi.CustomResource {
|
|
|
121
121
|
*/
|
|
122
122
|
readonly namePrefix: pulumi.Output<string | undefined>;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* The port the load balancer uses when performing health checks on targets. Default is traffic-port.
|
|
125
125
|
*/
|
|
126
126
|
readonly port: pulumi.Output<number | undefined>;
|
|
127
127
|
/**
|
|
@@ -129,7 +129,7 @@ export declare class TargetGroup extends pulumi.CustomResource {
|
|
|
129
129
|
*/
|
|
130
130
|
readonly preserveClientIp: pulumi.Output<string>;
|
|
131
131
|
/**
|
|
132
|
-
* Protocol
|
|
132
|
+
* Protocol the load balancer uses when performing health checks on targets. Must be either `TCP`, `HTTP`, or `HTTPS`. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. Defaults to HTTP.
|
|
133
133
|
*/
|
|
134
134
|
readonly protocol: pulumi.Output<string | undefined>;
|
|
135
135
|
/**
|
|
@@ -226,7 +226,7 @@ export interface TargetGroupState {
|
|
|
226
226
|
*/
|
|
227
227
|
namePrefix?: pulumi.Input<string>;
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* The port the load balancer uses when performing health checks on targets. Default is traffic-port.
|
|
230
230
|
*/
|
|
231
231
|
port?: pulumi.Input<number>;
|
|
232
232
|
/**
|
|
@@ -234,7 +234,7 @@ export interface TargetGroupState {
|
|
|
234
234
|
*/
|
|
235
235
|
preserveClientIp?: pulumi.Input<string>;
|
|
236
236
|
/**
|
|
237
|
-
* Protocol
|
|
237
|
+
* Protocol the load balancer uses when performing health checks on targets. Must be either `TCP`, `HTTP`, or `HTTPS`. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. Defaults to HTTP.
|
|
238
238
|
*/
|
|
239
239
|
protocol?: pulumi.Input<string>;
|
|
240
240
|
/**
|
|
@@ -315,7 +315,7 @@ export interface TargetGroupArgs {
|
|
|
315
315
|
*/
|
|
316
316
|
namePrefix?: pulumi.Input<string>;
|
|
317
317
|
/**
|
|
318
|
-
*
|
|
318
|
+
* The port the load balancer uses when performing health checks on targets. Default is traffic-port.
|
|
319
319
|
*/
|
|
320
320
|
port?: pulumi.Input<number>;
|
|
321
321
|
/**
|
|
@@ -323,7 +323,7 @@ export interface TargetGroupArgs {
|
|
|
323
323
|
*/
|
|
324
324
|
preserveClientIp?: pulumi.Input<string>;
|
|
325
325
|
/**
|
|
326
|
-
* Protocol
|
|
326
|
+
* Protocol the load balancer uses when performing health checks on targets. Must be either `TCP`, `HTTP`, or `HTTPS`. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. Defaults to HTTP.
|
|
327
327
|
*/
|
|
328
328
|
protocol?: pulumi.Input<string>;
|
|
329
329
|
/**
|
|
@@ -168,15 +168,15 @@ export declare class Policy extends pulumi.CustomResource {
|
|
|
168
168
|
*/
|
|
169
169
|
readonly policyType: pulumi.Output<string | undefined>;
|
|
170
170
|
/**
|
|
171
|
-
* Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](
|
|
171
|
+
* Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
172
172
|
*/
|
|
173
173
|
readonly resourceId: pulumi.Output<string>;
|
|
174
174
|
/**
|
|
175
|
-
* Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](
|
|
175
|
+
* Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
176
176
|
*/
|
|
177
177
|
readonly scalableDimension: pulumi.Output<string>;
|
|
178
178
|
/**
|
|
179
|
-
* AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](
|
|
179
|
+
* AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
180
180
|
*/
|
|
181
181
|
readonly serviceNamespace: pulumi.Output<string>;
|
|
182
182
|
/**
|
|
@@ -217,15 +217,15 @@ export interface PolicyState {
|
|
|
217
217
|
*/
|
|
218
218
|
policyType?: pulumi.Input<string>;
|
|
219
219
|
/**
|
|
220
|
-
* Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](
|
|
220
|
+
* Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
221
221
|
*/
|
|
222
222
|
resourceId?: pulumi.Input<string>;
|
|
223
223
|
/**
|
|
224
|
-
* Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](
|
|
224
|
+
* Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
225
225
|
*/
|
|
226
226
|
scalableDimension?: pulumi.Input<string>;
|
|
227
227
|
/**
|
|
228
|
-
* AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](
|
|
228
|
+
* AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
229
229
|
*/
|
|
230
230
|
serviceNamespace?: pulumi.Input<string>;
|
|
231
231
|
/**
|
|
@@ -250,15 +250,15 @@ export interface PolicyArgs {
|
|
|
250
250
|
*/
|
|
251
251
|
policyType?: pulumi.Input<string>;
|
|
252
252
|
/**
|
|
253
|
-
* Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](
|
|
253
|
+
* Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
254
254
|
*/
|
|
255
255
|
resourceId: pulumi.Input<string>;
|
|
256
256
|
/**
|
|
257
|
-
* Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](
|
|
257
|
+
* Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
258
258
|
*/
|
|
259
259
|
scalableDimension: pulumi.Input<string>;
|
|
260
260
|
/**
|
|
261
|
-
* AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](
|
|
261
|
+
* AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
|
|
262
262
|
*/
|
|
263
263
|
serviceNamespace: pulumi.Input<string>;
|
|
264
264
|
/**
|
|
@@ -83,11 +83,11 @@ export declare class ScheduledAction extends pulumi.CustomResource {
|
|
|
83
83
|
*/
|
|
84
84
|
readonly name: pulumi.Output<string>;
|
|
85
85
|
/**
|
|
86
|
-
* Identifier of the resource associated with the scheduled action. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
86
|
+
* Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
|
|
87
87
|
*/
|
|
88
88
|
readonly resourceId: pulumi.Output<string>;
|
|
89
89
|
/**
|
|
90
|
-
* Scalable dimension. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
90
|
+
* Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount
|
|
91
91
|
*/
|
|
92
92
|
readonly scalableDimension: pulumi.Output<string>;
|
|
93
93
|
/**
|
|
@@ -95,11 +95,11 @@ export declare class ScheduledAction extends pulumi.CustomResource {
|
|
|
95
95
|
*/
|
|
96
96
|
readonly scalableTargetAction: pulumi.Output<outputs.appautoscaling.ScheduledActionScalableTargetAction>;
|
|
97
97
|
/**
|
|
98
|
-
* Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
98
|
+
* Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
|
|
99
99
|
*/
|
|
100
100
|
readonly schedule: pulumi.Output<string>;
|
|
101
101
|
/**
|
|
102
|
-
* Namespace of the AWS service. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
102
|
+
* Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs
|
|
103
103
|
*/
|
|
104
104
|
readonly serviceNamespace: pulumi.Output<string>;
|
|
105
105
|
/**
|
|
@@ -136,11 +136,11 @@ export interface ScheduledActionState {
|
|
|
136
136
|
*/
|
|
137
137
|
name?: pulumi.Input<string>;
|
|
138
138
|
/**
|
|
139
|
-
* Identifier of the resource associated with the scheduled action. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
139
|
+
* Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
|
|
140
140
|
*/
|
|
141
141
|
resourceId?: pulumi.Input<string>;
|
|
142
142
|
/**
|
|
143
|
-
* Scalable dimension. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
143
|
+
* Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount
|
|
144
144
|
*/
|
|
145
145
|
scalableDimension?: pulumi.Input<string>;
|
|
146
146
|
/**
|
|
@@ -148,11 +148,11 @@ export interface ScheduledActionState {
|
|
|
148
148
|
*/
|
|
149
149
|
scalableTargetAction?: pulumi.Input<inputs.appautoscaling.ScheduledActionScalableTargetAction>;
|
|
150
150
|
/**
|
|
151
|
-
* Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
151
|
+
* Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
|
|
152
152
|
*/
|
|
153
153
|
schedule?: pulumi.Input<string>;
|
|
154
154
|
/**
|
|
155
|
-
* Namespace of the AWS service. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
155
|
+
* Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs
|
|
156
156
|
*/
|
|
157
157
|
serviceNamespace?: pulumi.Input<string>;
|
|
158
158
|
/**
|
|
@@ -177,11 +177,11 @@ export interface ScheduledActionArgs {
|
|
|
177
177
|
*/
|
|
178
178
|
name?: pulumi.Input<string>;
|
|
179
179
|
/**
|
|
180
|
-
* Identifier of the resource associated with the scheduled action. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
180
|
+
* Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
|
|
181
181
|
*/
|
|
182
182
|
resourceId: pulumi.Input<string>;
|
|
183
183
|
/**
|
|
184
|
-
* Scalable dimension. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
184
|
+
* Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount
|
|
185
185
|
*/
|
|
186
186
|
scalableDimension: pulumi.Input<string>;
|
|
187
187
|
/**
|
|
@@ -189,11 +189,11 @@ export interface ScheduledActionArgs {
|
|
|
189
189
|
*/
|
|
190
190
|
scalableTargetAction: pulumi.Input<inputs.appautoscaling.ScheduledActionScalableTargetAction>;
|
|
191
191
|
/**
|
|
192
|
-
* Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
192
|
+
* Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
|
|
193
193
|
*/
|
|
194
194
|
schedule: pulumi.Input<string>;
|
|
195
195
|
/**
|
|
196
|
-
* Namespace of the AWS service. Documentation can be found in the parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/
|
|
196
|
+
* Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs
|
|
197
197
|
*/
|
|
198
198
|
serviceNamespace: pulumi.Input<string>;
|
|
199
199
|
/**
|
|
@@ -123,7 +123,7 @@ export declare class TargetGroup extends pulumi.CustomResource {
|
|
|
123
123
|
*/
|
|
124
124
|
readonly namePrefix: pulumi.Output<string | undefined>;
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* The port the load balancer uses when performing health checks on targets. Default is traffic-port.
|
|
127
127
|
*/
|
|
128
128
|
readonly port: pulumi.Output<number | undefined>;
|
|
129
129
|
/**
|
|
@@ -131,7 +131,7 @@ export declare class TargetGroup extends pulumi.CustomResource {
|
|
|
131
131
|
*/
|
|
132
132
|
readonly preserveClientIp: pulumi.Output<string>;
|
|
133
133
|
/**
|
|
134
|
-
* Protocol
|
|
134
|
+
* Protocol the load balancer uses when performing health checks on targets. Must be either `TCP`, `HTTP`, or `HTTPS`. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. Defaults to HTTP.
|
|
135
135
|
*/
|
|
136
136
|
readonly protocol: pulumi.Output<string | undefined>;
|
|
137
137
|
/**
|
|
@@ -229,7 +229,7 @@ export interface TargetGroupState {
|
|
|
229
229
|
*/
|
|
230
230
|
namePrefix?: pulumi.Input<string>;
|
|
231
231
|
/**
|
|
232
|
-
*
|
|
232
|
+
* The port the load balancer uses when performing health checks on targets. Default is traffic-port.
|
|
233
233
|
*/
|
|
234
234
|
port?: pulumi.Input<number>;
|
|
235
235
|
/**
|
|
@@ -237,7 +237,7 @@ export interface TargetGroupState {
|
|
|
237
237
|
*/
|
|
238
238
|
preserveClientIp?: pulumi.Input<string>;
|
|
239
239
|
/**
|
|
240
|
-
* Protocol
|
|
240
|
+
* Protocol the load balancer uses when performing health checks on targets. Must be either `TCP`, `HTTP`, or `HTTPS`. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. Defaults to HTTP.
|
|
241
241
|
*/
|
|
242
242
|
protocol?: pulumi.Input<string>;
|
|
243
243
|
/**
|
|
@@ -318,7 +318,7 @@ export interface TargetGroupArgs {
|
|
|
318
318
|
*/
|
|
319
319
|
namePrefix?: pulumi.Input<string>;
|
|
320
320
|
/**
|
|
321
|
-
*
|
|
321
|
+
* The port the load balancer uses when performing health checks on targets. Default is traffic-port.
|
|
322
322
|
*/
|
|
323
323
|
port?: pulumi.Input<number>;
|
|
324
324
|
/**
|
|
@@ -326,7 +326,7 @@ export interface TargetGroupArgs {
|
|
|
326
326
|
*/
|
|
327
327
|
preserveClientIp?: pulumi.Input<string>;
|
|
328
328
|
/**
|
|
329
|
-
* Protocol
|
|
329
|
+
* Protocol the load balancer uses when performing health checks on targets. Must be either `TCP`, `HTTP`, or `HTTPS`. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. Defaults to HTTP.
|
|
330
330
|
*/
|
|
331
331
|
protocol?: pulumi.Input<string>;
|
|
332
332
|
/**
|
|
@@ -45,6 +45,9 @@ export declare class VpcConnector extends pulumi.CustomResource {
|
|
|
45
45
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
46
|
*/
|
|
47
47
|
static isInstance(obj: any): obj is VpcConnector;
|
|
48
|
+
/**
|
|
49
|
+
* ARN of VPC connector.
|
|
50
|
+
*/
|
|
48
51
|
readonly arn: pulumi.Output<string>;
|
|
49
52
|
/**
|
|
50
53
|
* List of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
|
|
@@ -91,6 +94,9 @@ export declare class VpcConnector extends pulumi.CustomResource {
|
|
|
91
94
|
* Input properties used for looking up and filtering VpcConnector resources.
|
|
92
95
|
*/
|
|
93
96
|
export interface VpcConnectorState {
|
|
97
|
+
/**
|
|
98
|
+
* ARN of VPC connector.
|
|
99
|
+
*/
|
|
94
100
|
arn?: pulumi.Input<string>;
|
|
95
101
|
/**
|
|
96
102
|
* List of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpcConnector.js","sourceRoot":"","sources":["../../apprunner/vpcConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;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AC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAxGL,oCAyGC;AA3FG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
package/appsync/function.d.ts
CHANGED
|
@@ -60,6 +60,24 @@ import * as outputs from "../types/output";
|
|
|
60
60
|
* `,
|
|
61
61
|
* });
|
|
62
62
|
* ```
|
|
63
|
+
* ### With Code
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as aws from "@pulumi/aws";
|
|
68
|
+
* import * as fs from "fs";
|
|
69
|
+
*
|
|
70
|
+
* const example = new aws.appsync.Function("example", {
|
|
71
|
+
* apiId: aws_appsync_graphql_api.example.id,
|
|
72
|
+
* dataSource: aws_appsync_datasource.example.name,
|
|
73
|
+
* name: "example",
|
|
74
|
+
* code: fs.readFileSync("some-code-dir"),
|
|
75
|
+
* runtime: {
|
|
76
|
+
* name: "APPSYNC_JS",
|
|
77
|
+
* runtimeVersion: "1.0.0",
|
|
78
|
+
* },
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
63
81
|
*
|
|
64
82
|
* ## Import
|
|
65
83
|
*
|
|
@@ -93,6 +111,10 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
93
111
|
* ARN of the Function object.
|
|
94
112
|
*/
|
|
95
113
|
readonly arn: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
|
|
116
|
+
*/
|
|
117
|
+
readonly code: pulumi.Output<string | undefined>;
|
|
96
118
|
/**
|
|
97
119
|
* Function data source name.
|
|
98
120
|
*/
|
|
@@ -106,25 +128,29 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
106
128
|
*/
|
|
107
129
|
readonly functionId: pulumi.Output<string>;
|
|
108
130
|
/**
|
|
109
|
-
* Version of the request mapping template. Currently the supported value is `2018-05-29`.
|
|
131
|
+
* Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.
|
|
110
132
|
*/
|
|
111
|
-
readonly functionVersion: pulumi.Output<string
|
|
133
|
+
readonly functionVersion: pulumi.Output<string>;
|
|
112
134
|
/**
|
|
113
135
|
* Maximum batching size for a resolver. Valid values are between `0` and `2000`.
|
|
114
136
|
*/
|
|
115
137
|
readonly maxBatchSize: pulumi.Output<number | undefined>;
|
|
116
138
|
/**
|
|
117
|
-
*
|
|
139
|
+
* The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
|
|
118
140
|
*/
|
|
119
141
|
readonly name: pulumi.Output<string>;
|
|
120
142
|
/**
|
|
121
143
|
* Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
|
|
122
144
|
*/
|
|
123
|
-
readonly requestMappingTemplate: pulumi.Output<string>;
|
|
145
|
+
readonly requestMappingTemplate: pulumi.Output<string | undefined>;
|
|
124
146
|
/**
|
|
125
147
|
* Function response mapping template.
|
|
126
148
|
*/
|
|
127
|
-
readonly responseMappingTemplate: pulumi.Output<string>;
|
|
149
|
+
readonly responseMappingTemplate: pulumi.Output<string | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
|
|
152
|
+
*/
|
|
153
|
+
readonly runtime: pulumi.Output<outputs.appsync.FunctionRuntime | undefined>;
|
|
128
154
|
/**
|
|
129
155
|
* Describes a Sync configuration for a resolver. See Sync Config.
|
|
130
156
|
*/
|
|
@@ -150,6 +176,10 @@ export interface FunctionState {
|
|
|
150
176
|
* ARN of the Function object.
|
|
151
177
|
*/
|
|
152
178
|
arn?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
|
|
181
|
+
*/
|
|
182
|
+
code?: pulumi.Input<string>;
|
|
153
183
|
/**
|
|
154
184
|
* Function data source name.
|
|
155
185
|
*/
|
|
@@ -163,7 +193,7 @@ export interface FunctionState {
|
|
|
163
193
|
*/
|
|
164
194
|
functionId?: pulumi.Input<string>;
|
|
165
195
|
/**
|
|
166
|
-
* Version of the request mapping template. Currently the supported value is `2018-05-29`.
|
|
196
|
+
* Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.
|
|
167
197
|
*/
|
|
168
198
|
functionVersion?: pulumi.Input<string>;
|
|
169
199
|
/**
|
|
@@ -171,7 +201,7 @@ export interface FunctionState {
|
|
|
171
201
|
*/
|
|
172
202
|
maxBatchSize?: pulumi.Input<number>;
|
|
173
203
|
/**
|
|
174
|
-
*
|
|
204
|
+
* The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
|
|
175
205
|
*/
|
|
176
206
|
name?: pulumi.Input<string>;
|
|
177
207
|
/**
|
|
@@ -182,6 +212,10 @@ export interface FunctionState {
|
|
|
182
212
|
* Function response mapping template.
|
|
183
213
|
*/
|
|
184
214
|
responseMappingTemplate?: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
|
|
217
|
+
*/
|
|
218
|
+
runtime?: pulumi.Input<inputs.appsync.FunctionRuntime>;
|
|
185
219
|
/**
|
|
186
220
|
* Describes a Sync configuration for a resolver. See Sync Config.
|
|
187
221
|
*/
|
|
@@ -195,6 +229,10 @@ export interface FunctionArgs {
|
|
|
195
229
|
* ID of the associated AppSync API.
|
|
196
230
|
*/
|
|
197
231
|
apiId: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
|
|
234
|
+
*/
|
|
235
|
+
code?: pulumi.Input<string>;
|
|
198
236
|
/**
|
|
199
237
|
* Function data source name.
|
|
200
238
|
*/
|
|
@@ -204,7 +242,7 @@ export interface FunctionArgs {
|
|
|
204
242
|
*/
|
|
205
243
|
description?: pulumi.Input<string>;
|
|
206
244
|
/**
|
|
207
|
-
* Version of the request mapping template. Currently the supported value is `2018-05-29`.
|
|
245
|
+
* Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.
|
|
208
246
|
*/
|
|
209
247
|
functionVersion?: pulumi.Input<string>;
|
|
210
248
|
/**
|
|
@@ -212,17 +250,21 @@ export interface FunctionArgs {
|
|
|
212
250
|
*/
|
|
213
251
|
maxBatchSize?: pulumi.Input<number>;
|
|
214
252
|
/**
|
|
215
|
-
*
|
|
253
|
+
* The name of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
|
|
216
254
|
*/
|
|
217
255
|
name?: pulumi.Input<string>;
|
|
218
256
|
/**
|
|
219
257
|
* Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
|
|
220
258
|
*/
|
|
221
|
-
requestMappingTemplate
|
|
259
|
+
requestMappingTemplate?: pulumi.Input<string>;
|
|
222
260
|
/**
|
|
223
261
|
* Function response mapping template.
|
|
224
262
|
*/
|
|
225
|
-
responseMappingTemplate
|
|
263
|
+
responseMappingTemplate?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
|
|
266
|
+
*/
|
|
267
|
+
runtime?: pulumi.Input<inputs.appsync.FunctionRuntime>;
|
|
226
268
|
/**
|
|
227
269
|
* Describes a Sync configuration for a resolver. See Sync Config.
|
|
228
270
|
*/
|
package/appsync/function.js
CHANGED
|
@@ -64,6 +64,24 @@ const utilities = require("../utilities");
|
|
|
64
64
|
* `,
|
|
65
65
|
* });
|
|
66
66
|
* ```
|
|
67
|
+
* ### With Code
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as aws from "@pulumi/aws";
|
|
72
|
+
* import * as fs from "fs";
|
|
73
|
+
*
|
|
74
|
+
* const example = new aws.appsync.Function("example", {
|
|
75
|
+
* apiId: aws_appsync_graphql_api.example.id,
|
|
76
|
+
* dataSource: aws_appsync_datasource.example.name,
|
|
77
|
+
* name: "example",
|
|
78
|
+
* code: fs.readFileSync("some-code-dir"),
|
|
79
|
+
* runtime: {
|
|
80
|
+
* name: "APPSYNC_JS",
|
|
81
|
+
* runtimeVersion: "1.0.0",
|
|
82
|
+
* },
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
67
85
|
*
|
|
68
86
|
* ## Import
|
|
69
87
|
*
|
|
@@ -103,6 +121,7 @@ class Function extends pulumi.CustomResource {
|
|
|
103
121
|
const state = argsOrState;
|
|
104
122
|
resourceInputs["apiId"] = state ? state.apiId : undefined;
|
|
105
123
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
124
|
+
resourceInputs["code"] = state ? state.code : undefined;
|
|
106
125
|
resourceInputs["dataSource"] = state ? state.dataSource : undefined;
|
|
107
126
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
108
127
|
resourceInputs["functionId"] = state ? state.functionId : undefined;
|
|
@@ -111,6 +130,7 @@ class Function extends pulumi.CustomResource {
|
|
|
111
130
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
112
131
|
resourceInputs["requestMappingTemplate"] = state ? state.requestMappingTemplate : undefined;
|
|
113
132
|
resourceInputs["responseMappingTemplate"] = state ? state.responseMappingTemplate : undefined;
|
|
133
|
+
resourceInputs["runtime"] = state ? state.runtime : undefined;
|
|
114
134
|
resourceInputs["syncConfig"] = state ? state.syncConfig : undefined;
|
|
115
135
|
}
|
|
116
136
|
else {
|
|
@@ -121,13 +141,8 @@ class Function extends pulumi.CustomResource {
|
|
|
121
141
|
if ((!args || args.dataSource === undefined) && !opts.urn) {
|
|
122
142
|
throw new Error("Missing required property 'dataSource'");
|
|
123
143
|
}
|
|
124
|
-
if ((!args || args.requestMappingTemplate === undefined) && !opts.urn) {
|
|
125
|
-
throw new Error("Missing required property 'requestMappingTemplate'");
|
|
126
|
-
}
|
|
127
|
-
if ((!args || args.responseMappingTemplate === undefined) && !opts.urn) {
|
|
128
|
-
throw new Error("Missing required property 'responseMappingTemplate'");
|
|
129
|
-
}
|
|
130
144
|
resourceInputs["apiId"] = args ? args.apiId : undefined;
|
|
145
|
+
resourceInputs["code"] = args ? args.code : undefined;
|
|
131
146
|
resourceInputs["dataSource"] = args ? args.dataSource : undefined;
|
|
132
147
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
133
148
|
resourceInputs["functionVersion"] = args ? args.functionVersion : undefined;
|
|
@@ -135,6 +150,7 @@ class Function extends pulumi.CustomResource {
|
|
|
135
150
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
136
151
|
resourceInputs["requestMappingTemplate"] = args ? args.requestMappingTemplate : undefined;
|
|
137
152
|
resourceInputs["responseMappingTemplate"] = args ? args.responseMappingTemplate : undefined;
|
|
153
|
+
resourceInputs["runtime"] = args ? args.runtime : undefined;
|
|
138
154
|
resourceInputs["syncConfig"] = args ? args.syncConfig : undefined;
|
|
139
155
|
resourceInputs["arn"] = undefined /*out*/;
|
|
140
156
|
resourceInputs["functionId"] = undefined /*out*/;
|
package/appsync/function.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../appsync/function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../appsync/function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;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,YA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