@pulumi/aws 6.69.0-alpha.1739293705 → 6.69.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/apigateway/method.d.ts +1 -1
- package/apigateway/method.js +1 -1
- package/batch/getComputeEnvironment.d.ts +2 -2
- package/batch/getComputeEnvironment.js +2 -2
- package/batch/getJobQueue.d.ts +2 -2
- package/batch/getJobQueue.js +2 -2
- package/cloudtrail/trail.d.ts +9 -9
- package/cloudtrail/trail.js +6 -6
- package/cloudwatch/logResourcePolicy.d.ts +2 -2
- package/cloudwatch/logResourcePolicy.js +2 -2
- package/controltower/getControls.d.ts +2 -2
- package/controltower/getControls.js +2 -2
- package/directoryservice/logService.d.ts +1 -1
- package/directoryservice/logService.js +1 -1
- package/directoryservice/serviceRegion.d.ts +1 -1
- package/directoryservice/serviceRegion.js +1 -1
- package/ec2/getInternetGateway.d.ts +2 -2
- package/ec2/getInternetGateway.js +2 -2
- package/ec2/getLaunchTemplate.d.ts +2 -2
- package/ec2/getLaunchTemplate.js +2 -2
- package/ec2/getNatGateway.d.ts +4 -4
- package/ec2/getNatGateway.js +4 -4
- package/ec2/getRoute.d.ts +2 -2
- package/ec2/getRoute.js +2 -2
- package/ec2/getSpotDatafeedSubscription.d.ts +2 -2
- package/ec2/getSpotDatafeedSubscription.js +2 -2
- package/ec2/instance.d.ts +2 -2
- package/ec2/instance.js +2 -2
- package/ec2/securityGroup.d.ts +1 -1
- package/ec2/securityGroup.js +1 -1
- package/ecs/getCluster.d.ts +2 -2
- package/ecs/getCluster.js +2 -2
- package/ecs/getContainerDefinition.d.ts +2 -2
- package/ecs/getContainerDefinition.js +2 -2
- package/eks/getAddonVersion.d.ts +2 -2
- package/eks/getAddonVersion.js +2 -2
- package/fms/policy.d.ts +9 -9
- package/glue/resourcePolicy.d.ts +1 -1
- package/glue/resourcePolicy.js +1 -1
- package/iam/getServerCertificate.d.ts +2 -2
- package/iam/getServerCertificate.js +2 -2
- package/kinesis/firehoseDeliveryStream.d.ts +1 -1
- package/kinesis/firehoseDeliveryStream.js +1 -1
- package/lightsail/containerService.d.ts +1 -1
- package/lightsail/containerService.js +1 -1
- package/package.json +2 -2
- package/rds/cluster.d.ts +24 -0
- package/rds/cluster.js +4 -0
- package/rds/cluster.js.map +1 -1
- package/rds/getCluster.d.ts +2 -0
- package/rds/getCluster.js.map +1 -1
- package/rds/instance.d.ts +3 -3
- package/rds/instance.js +3 -3
- package/route53/queryLog.d.ts +1 -1
- package/route53/queryLog.js +1 -1
- package/route53/record.d.ts +23 -0
- package/route53/record.js +23 -0
- package/route53/record.js.map +1 -1
- package/s3/bucketLifecycleConfigurationV2.d.ts +7 -4
- package/s3/bucketLifecycleConfigurationV2.js +3 -4
- package/s3/bucketLifecycleConfigurationV2.js.map +1 -1
- package/secretsmanager/getSecret.d.ts +4 -4
- package/secretsmanager/getSecret.js +4 -4
- package/secretsmanager/getSecretVersion.d.ts +4 -4
- package/secretsmanager/getSecretVersion.js +4 -4
- package/sesv2/configurationSetEventDestination.d.ts +1 -1
- package/sesv2/configurationSetEventDestination.js +1 -1
- package/sns/topicSubscription.d.ts +2 -2
- package/sns/topicSubscription.js +2 -2
- package/sqs/queue.d.ts +50 -46
- package/sqs/queue.js +4 -0
- package/sqs/queue.js.map +1 -1
- package/sqs/queuePolicy.d.ts +40 -14
- package/sqs/queuePolicy.js +37 -2
- package/sqs/queuePolicy.js.map +1 -1
- package/types/input.d.ts +148 -10
- package/types/input.js.map +1 -1
- package/types/output.d.ts +157 -19
- package/types/output.js.map +1 -1
- package/wafv2/webAcl.d.ts +3 -3
|
@@ -196,7 +196,7 @@ const utilities = require("../utilities");
|
|
|
196
196
|
* rules: [{
|
|
197
197
|
* id: "Allow small object transitions",
|
|
198
198
|
* filter: {
|
|
199
|
-
* objectSizeGreaterThan:
|
|
199
|
+
* objectSizeGreaterThan: 1,
|
|
200
200
|
* },
|
|
201
201
|
* status: "Enabled",
|
|
202
202
|
* transitions: [{
|
|
@@ -369,6 +369,7 @@ class BucketLifecycleConfigurationV2 extends pulumi.CustomResource {
|
|
|
369
369
|
resourceInputs["bucket"] = state ? state.bucket : undefined;
|
|
370
370
|
resourceInputs["expectedBucketOwner"] = state ? state.expectedBucketOwner : undefined;
|
|
371
371
|
resourceInputs["rules"] = state ? state.rules : undefined;
|
|
372
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
372
373
|
resourceInputs["transitionDefaultMinimumObjectSize"] = state ? state.transitionDefaultMinimumObjectSize : undefined;
|
|
373
374
|
}
|
|
374
375
|
else {
|
|
@@ -376,12 +377,10 @@ class BucketLifecycleConfigurationV2 extends pulumi.CustomResource {
|
|
|
376
377
|
if ((!args || args.bucket === undefined) && !opts.urn) {
|
|
377
378
|
throw new Error("Missing required property 'bucket'");
|
|
378
379
|
}
|
|
379
|
-
if ((!args || args.rules === undefined) && !opts.urn) {
|
|
380
|
-
throw new Error("Missing required property 'rules'");
|
|
381
|
-
}
|
|
382
380
|
resourceInputs["bucket"] = args ? args.bucket : undefined;
|
|
383
381
|
resourceInputs["expectedBucketOwner"] = args ? args.expectedBucketOwner : undefined;
|
|
384
382
|
resourceInputs["rules"] = args ? args.rules : undefined;
|
|
383
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
385
384
|
resourceInputs["transitionDefaultMinimumObjectSize"] = args ? args.transitionDefaultMinimumObjectSize : undefined;
|
|
386
385
|
}
|
|
387
386
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bucketLifecycleConfigurationV2.js","sourceRoot":"","sources":["../../s3/bucketLifecycleConfigurationV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as aws from "@pulumi/aws";
|
|
12
12
|
*
|
|
13
|
-
* const
|
|
13
|
+
* const by_arn = aws.secretsmanager.getSecret({
|
|
14
14
|
* arn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456",
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
22
|
* import * as aws from "@pulumi/aws";
|
|
23
23
|
*
|
|
24
|
-
* const
|
|
24
|
+
* const by_name = aws.secretsmanager.getSecret({
|
|
25
25
|
* name: "example",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
@@ -97,7 +97,7 @@ export interface GetSecretResult {
|
|
|
97
97
|
* import * as pulumi from "@pulumi/pulumi";
|
|
98
98
|
* import * as aws from "@pulumi/aws";
|
|
99
99
|
*
|
|
100
|
-
* const
|
|
100
|
+
* const by_arn = aws.secretsmanager.getSecret({
|
|
101
101
|
* arn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456",
|
|
102
102
|
* });
|
|
103
103
|
* ```
|
|
@@ -108,7 +108,7 @@ export interface GetSecretResult {
|
|
|
108
108
|
* import * as pulumi from "@pulumi/pulumi";
|
|
109
109
|
* import * as aws from "@pulumi/aws";
|
|
110
110
|
*
|
|
111
|
-
* const
|
|
111
|
+
* const by_name = aws.secretsmanager.getSecret({
|
|
112
112
|
* name: "example",
|
|
113
113
|
* });
|
|
114
114
|
* ```
|
|
@@ -16,7 +16,7 @@ const utilities = require("../utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as aws from "@pulumi/aws";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const by_arn = aws.secretsmanager.getSecret({
|
|
20
20
|
* arn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
@@ -27,7 +27,7 @@ const utilities = require("../utilities");
|
|
|
27
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
28
|
* import * as aws from "@pulumi/aws";
|
|
29
29
|
*
|
|
30
|
-
* const
|
|
30
|
+
* const by_name = aws.secretsmanager.getSecret({
|
|
31
31
|
* name: "example",
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
@@ -53,7 +53,7 @@ exports.getSecret = getSecret;
|
|
|
53
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
54
54
|
* import * as aws from "@pulumi/aws";
|
|
55
55
|
*
|
|
56
|
-
* const
|
|
56
|
+
* const by_arn = aws.secretsmanager.getSecret({
|
|
57
57
|
* arn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456",
|
|
58
58
|
* });
|
|
59
59
|
* ```
|
|
@@ -64,7 +64,7 @@ exports.getSecret = getSecret;
|
|
|
64
64
|
* import * as pulumi from "@pulumi/pulumi";
|
|
65
65
|
* import * as aws from "@pulumi/aws";
|
|
66
66
|
*
|
|
67
|
-
* const
|
|
67
|
+
* const by_name = aws.secretsmanager.getSecret({
|
|
68
68
|
* name: "example",
|
|
69
69
|
* });
|
|
70
70
|
* ```
|
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as aws from "@pulumi/aws";
|
|
14
14
|
*
|
|
15
|
-
* const
|
|
15
|
+
* const secret_version = aws.secretsmanager.getSecretVersion({
|
|
16
16
|
* secretId: example.id,
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
@@ -23,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
24
|
* import * as aws from "@pulumi/aws";
|
|
25
25
|
*
|
|
26
|
-
* const
|
|
26
|
+
* const by_version_stage = aws.secretsmanager.getSecretVersion({
|
|
27
27
|
* secretId: example.id,
|
|
28
28
|
* versionStage: "example",
|
|
29
29
|
* });
|
|
@@ -92,7 +92,7 @@ export interface GetSecretVersionResult {
|
|
|
92
92
|
* import * as pulumi from "@pulumi/pulumi";
|
|
93
93
|
* import * as aws from "@pulumi/aws";
|
|
94
94
|
*
|
|
95
|
-
* const
|
|
95
|
+
* const secret_version = aws.secretsmanager.getSecretVersion({
|
|
96
96
|
* secretId: example.id,
|
|
97
97
|
* });
|
|
98
98
|
* ```
|
|
@@ -103,7 +103,7 @@ export interface GetSecretVersionResult {
|
|
|
103
103
|
* import * as pulumi from "@pulumi/pulumi";
|
|
104
104
|
* import * as aws from "@pulumi/aws";
|
|
105
105
|
*
|
|
106
|
-
* const
|
|
106
|
+
* const by_version_stage = aws.secretsmanager.getSecretVersion({
|
|
107
107
|
* secretId: example.id,
|
|
108
108
|
* versionStage: "example",
|
|
109
109
|
* });
|
|
@@ -18,7 +18,7 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as aws from "@pulumi/aws";
|
|
20
20
|
*
|
|
21
|
-
* const
|
|
21
|
+
* const secret_version = aws.secretsmanager.getSecretVersion({
|
|
22
22
|
* secretId: example.id,
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
@@ -29,7 +29,7 @@ const utilities = require("../utilities");
|
|
|
29
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
30
30
|
* import * as aws from "@pulumi/aws";
|
|
31
31
|
*
|
|
32
|
-
* const
|
|
32
|
+
* const by_version_stage = aws.secretsmanager.getSecretVersion({
|
|
33
33
|
* secretId: example.id,
|
|
34
34
|
* versionStage: "example",
|
|
35
35
|
* });
|
|
@@ -57,7 +57,7 @@ exports.getSecretVersion = getSecretVersion;
|
|
|
57
57
|
* import * as pulumi from "@pulumi/pulumi";
|
|
58
58
|
* import * as aws from "@pulumi/aws";
|
|
59
59
|
*
|
|
60
|
-
* const
|
|
60
|
+
* const secret_version = aws.secretsmanager.getSecretVersion({
|
|
61
61
|
* secretId: example.id,
|
|
62
62
|
* });
|
|
63
63
|
* ```
|
|
@@ -68,7 +68,7 @@ exports.getSecretVersion = getSecretVersion;
|
|
|
68
68
|
* import * as pulumi from "@pulumi/pulumi";
|
|
69
69
|
* import * as aws from "@pulumi/aws";
|
|
70
70
|
*
|
|
71
|
-
* const
|
|
71
|
+
* const by_version_stage = aws.secretsmanager.getSecretVersion({
|
|
72
72
|
* secretId: example.id,
|
|
73
73
|
* versionStage: "example",
|
|
74
74
|
* });
|
|
@@ -36,7 +36,7 @@ import * as outputs from "../types/output";
|
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
37
|
* import * as aws from "@pulumi/aws";
|
|
38
38
|
*
|
|
39
|
-
* const
|
|
39
|
+
* const _default = aws.cloudwatch.getEventBus({
|
|
40
40
|
* name: "default",
|
|
41
41
|
* });
|
|
42
42
|
* const example = new aws.sesv2.ConfigurationSetEventDestination("example", {
|
|
@@ -40,7 +40,7 @@ const utilities = require("../utilities");
|
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
41
|
* import * as aws from "@pulumi/aws";
|
|
42
42
|
*
|
|
43
|
-
* const
|
|
43
|
+
* const _default = aws.cloudwatch.getEventBus({
|
|
44
44
|
* name: "default",
|
|
45
45
|
* });
|
|
46
46
|
* const example = new aws.sesv2.ConfigurationSetEventDestination("example", {
|
|
@@ -63,7 +63,7 @@ import { Topic } from "./index";
|
|
|
63
63
|
* region: "us-east-1",
|
|
64
64
|
* "role-name": "service/service",
|
|
65
65
|
* };
|
|
66
|
-
* const
|
|
66
|
+
* const sns_topic_policy = aws.iam.getPolicyDocument({
|
|
67
67
|
* policyId: "__default_policy_ID",
|
|
68
68
|
* statements: [
|
|
69
69
|
* {
|
|
@@ -110,7 +110,7 @@ import { Topic } from "./index";
|
|
|
110
110
|
* },
|
|
111
111
|
* ],
|
|
112
112
|
* });
|
|
113
|
-
* const
|
|
113
|
+
* const sqs_queue_policy = aws.iam.getPolicyDocument({
|
|
114
114
|
* policyId: `arn:aws:sqs:${sqs.region}:${sqs["account-id"]}:${sqs.name}/SQSDefaultPolicy`,
|
|
115
115
|
* statements: [{
|
|
116
116
|
* sid: "example-sns-topic",
|
package/sns/topicSubscription.js
CHANGED
|
@@ -68,7 +68,7 @@ const utilities = require("../utilities");
|
|
|
68
68
|
* region: "us-east-1",
|
|
69
69
|
* "role-name": "service/service",
|
|
70
70
|
* };
|
|
71
|
-
* const
|
|
71
|
+
* const sns_topic_policy = aws.iam.getPolicyDocument({
|
|
72
72
|
* policyId: "__default_policy_ID",
|
|
73
73
|
* statements: [
|
|
74
74
|
* {
|
|
@@ -115,7 +115,7 @@ const utilities = require("../utilities");
|
|
|
115
115
|
* },
|
|
116
116
|
* ],
|
|
117
117
|
* });
|
|
118
|
-
* const
|
|
118
|
+
* const sqs_queue_policy = aws.iam.getPolicyDocument({
|
|
119
119
|
* policyId: `arn:aws:sqs:${sqs.region}:${sqs["account-id"]}:${sqs.name}/SQSDefaultPolicy`,
|
|
120
120
|
* statements: [{
|
|
121
121
|
* sid: "example-sns-topic",
|
package/sqs/queue.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Amazon SQS (Simple Queue Service) is a fully managed message queuing service that enables decoupling and scaling of microservices, distributed systems, and serverless applications. This resource allows you to create, configure, and manage an SQS queue, which acts as a reliable message buffer between producers and consumers. With support for standard and FIFO queues, SQS ensures secure, scalable, and asynchronous message processing. Use this resource to define queue attributes, configure access policies, and integrate seamlessly with AWS services like Lambda, SNS, and EC2.
|
|
4
|
+
*
|
|
5
|
+
* !> AWS will hang indefinitely, leading to a `timeout while waiting` error, when creating or updating an `aws.sqs.Queue` with an associated `aws.sqs.QueuePolicy` if `Version = "2012-10-17"` is not explicitly set in the policy.
|
|
6
|
+
*
|
|
3
7
|
* ## Example Usage
|
|
4
8
|
*
|
|
5
9
|
* ```typescript
|
|
@@ -124,11 +128,11 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
124
128
|
*/
|
|
125
129
|
static isInstance(obj: any): obj is Queue;
|
|
126
130
|
/**
|
|
127
|
-
*
|
|
131
|
+
* ARN of the SQS queue.
|
|
128
132
|
*/
|
|
129
133
|
readonly arn: pulumi.Output<string>;
|
|
130
134
|
/**
|
|
131
|
-
* Enables content-based deduplication for FIFO queues. For more information, see the [related documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
|
|
135
|
+
* Enables content-based deduplication for FIFO queues. For more information, see the [related documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing).
|
|
132
136
|
*/
|
|
133
137
|
readonly contentBasedDeduplication: pulumi.Output<boolean | undefined>;
|
|
134
138
|
/**
|
|
@@ -136,7 +140,7 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
136
140
|
*/
|
|
137
141
|
readonly deduplicationScope: pulumi.Output<string>;
|
|
138
142
|
/**
|
|
139
|
-
*
|
|
143
|
+
* Time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 seconds.
|
|
140
144
|
*/
|
|
141
145
|
readonly delaySeconds: pulumi.Output<number | undefined>;
|
|
142
146
|
/**
|
|
@@ -148,43 +152,43 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
148
152
|
*/
|
|
149
153
|
readonly fifoThroughputLimit: pulumi.Output<string>;
|
|
150
154
|
/**
|
|
151
|
-
*
|
|
155
|
+
* Length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes).
|
|
152
156
|
*/
|
|
153
157
|
readonly kmsDataKeyReusePeriodSeconds: pulumi.Output<number>;
|
|
154
158
|
/**
|
|
155
|
-
*
|
|
159
|
+
* ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see [Key Terms](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms).
|
|
156
160
|
*/
|
|
157
161
|
readonly kmsMasterKeyId: pulumi.Output<string | undefined>;
|
|
158
162
|
/**
|
|
159
|
-
*
|
|
163
|
+
* Limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).
|
|
160
164
|
*/
|
|
161
165
|
readonly maxMessageSize: pulumi.Output<number | undefined>;
|
|
162
166
|
/**
|
|
163
|
-
*
|
|
167
|
+
* Number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).
|
|
164
168
|
*/
|
|
165
169
|
readonly messageRetentionSeconds: pulumi.Output<number | undefined>;
|
|
166
170
|
/**
|
|
167
|
-
*
|
|
171
|
+
* Name of the queue. Queue names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 80 characters long. For a FIFO (first-in-first-out) queue, the name must end with the `.fifo` suffix. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
|
|
168
172
|
*/
|
|
169
173
|
readonly name: pulumi.Output<string>;
|
|
170
174
|
/**
|
|
171
|
-
* Creates a unique name beginning with the specified prefix. Conflicts with `name
|
|
175
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
172
176
|
*/
|
|
173
177
|
readonly namePrefix: pulumi.Output<string>;
|
|
174
178
|
/**
|
|
175
|
-
*
|
|
179
|
+
* JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide.
|
|
176
180
|
*/
|
|
177
181
|
readonly policy: pulumi.Output<string>;
|
|
178
182
|
/**
|
|
179
|
-
*
|
|
183
|
+
* Time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning. An integer from 0 to 20 (seconds). The default for this attribute is 0, meaning that the call will return immediately.
|
|
180
184
|
*/
|
|
181
185
|
readonly receiveWaitTimeSeconds: pulumi.Output<number | undefined>;
|
|
182
186
|
/**
|
|
183
|
-
*
|
|
187
|
+
* JSON policy to set up the Dead Letter Queue redrive permission, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html).
|
|
184
188
|
*/
|
|
185
189
|
readonly redriveAllowPolicy: pulumi.Output<string>;
|
|
186
190
|
/**
|
|
187
|
-
*
|
|
191
|
+
* JSON policy to set up the Dead Letter Queue, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html). **Note:** when specifying `maxReceiveCount`, you must specify it as an integer (`5`), and not a string (`"5"`).
|
|
188
192
|
*/
|
|
189
193
|
readonly redrivePolicy: pulumi.Output<string>;
|
|
190
194
|
/**
|
|
@@ -192,13 +196,13 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
192
196
|
*/
|
|
193
197
|
readonly sqsManagedSseEnabled: pulumi.Output<boolean>;
|
|
194
198
|
/**
|
|
195
|
-
*
|
|
199
|
+
* Map of tags to assign to the queue. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
196
200
|
*/
|
|
197
201
|
readonly tags: pulumi.Output<{
|
|
198
202
|
[key: string]: string;
|
|
199
203
|
} | undefined>;
|
|
200
204
|
/**
|
|
201
|
-
*
|
|
205
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
202
206
|
*
|
|
203
207
|
* @deprecated Please use `tags` instead.
|
|
204
208
|
*/
|
|
@@ -210,7 +214,7 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
210
214
|
*/
|
|
211
215
|
readonly url: pulumi.Output<string>;
|
|
212
216
|
/**
|
|
213
|
-
*
|
|
217
|
+
* Visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html).
|
|
214
218
|
*/
|
|
215
219
|
readonly visibilityTimeoutSeconds: pulumi.Output<number | undefined>;
|
|
216
220
|
/**
|
|
@@ -227,11 +231,11 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
227
231
|
*/
|
|
228
232
|
export interface QueueState {
|
|
229
233
|
/**
|
|
230
|
-
*
|
|
234
|
+
* ARN of the SQS queue.
|
|
231
235
|
*/
|
|
232
236
|
arn?: pulumi.Input<string>;
|
|
233
237
|
/**
|
|
234
|
-
* Enables content-based deduplication for FIFO queues. For more information, see the [related documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
|
|
238
|
+
* Enables content-based deduplication for FIFO queues. For more information, see the [related documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing).
|
|
235
239
|
*/
|
|
236
240
|
contentBasedDeduplication?: pulumi.Input<boolean>;
|
|
237
241
|
/**
|
|
@@ -239,7 +243,7 @@ export interface QueueState {
|
|
|
239
243
|
*/
|
|
240
244
|
deduplicationScope?: pulumi.Input<string>;
|
|
241
245
|
/**
|
|
242
|
-
*
|
|
246
|
+
* Time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 seconds.
|
|
243
247
|
*/
|
|
244
248
|
delaySeconds?: pulumi.Input<number>;
|
|
245
249
|
/**
|
|
@@ -251,43 +255,43 @@ export interface QueueState {
|
|
|
251
255
|
*/
|
|
252
256
|
fifoThroughputLimit?: pulumi.Input<string>;
|
|
253
257
|
/**
|
|
254
|
-
*
|
|
258
|
+
* Length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes).
|
|
255
259
|
*/
|
|
256
260
|
kmsDataKeyReusePeriodSeconds?: pulumi.Input<number>;
|
|
257
261
|
/**
|
|
258
|
-
*
|
|
262
|
+
* ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see [Key Terms](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms).
|
|
259
263
|
*/
|
|
260
264
|
kmsMasterKeyId?: pulumi.Input<string>;
|
|
261
265
|
/**
|
|
262
|
-
*
|
|
266
|
+
* Limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).
|
|
263
267
|
*/
|
|
264
268
|
maxMessageSize?: pulumi.Input<number>;
|
|
265
269
|
/**
|
|
266
|
-
*
|
|
270
|
+
* Number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).
|
|
267
271
|
*/
|
|
268
272
|
messageRetentionSeconds?: pulumi.Input<number>;
|
|
269
273
|
/**
|
|
270
|
-
*
|
|
274
|
+
* Name of the queue. Queue names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 80 characters long. For a FIFO (first-in-first-out) queue, the name must end with the `.fifo` suffix. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
|
|
271
275
|
*/
|
|
272
276
|
name?: pulumi.Input<string>;
|
|
273
277
|
/**
|
|
274
|
-
* Creates a unique name beginning with the specified prefix. Conflicts with `name
|
|
278
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
275
279
|
*/
|
|
276
280
|
namePrefix?: pulumi.Input<string>;
|
|
277
281
|
/**
|
|
278
|
-
*
|
|
282
|
+
* JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide.
|
|
279
283
|
*/
|
|
280
284
|
policy?: pulumi.Input<string>;
|
|
281
285
|
/**
|
|
282
|
-
*
|
|
286
|
+
* Time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning. An integer from 0 to 20 (seconds). The default for this attribute is 0, meaning that the call will return immediately.
|
|
283
287
|
*/
|
|
284
288
|
receiveWaitTimeSeconds?: pulumi.Input<number>;
|
|
285
289
|
/**
|
|
286
|
-
*
|
|
290
|
+
* JSON policy to set up the Dead Letter Queue redrive permission, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html).
|
|
287
291
|
*/
|
|
288
292
|
redriveAllowPolicy?: pulumi.Input<string>;
|
|
289
293
|
/**
|
|
290
|
-
*
|
|
294
|
+
* JSON policy to set up the Dead Letter Queue, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html). **Note:** when specifying `maxReceiveCount`, you must specify it as an integer (`5`), and not a string (`"5"`).
|
|
291
295
|
*/
|
|
292
296
|
redrivePolicy?: pulumi.Input<string>;
|
|
293
297
|
/**
|
|
@@ -295,13 +299,13 @@ export interface QueueState {
|
|
|
295
299
|
*/
|
|
296
300
|
sqsManagedSseEnabled?: pulumi.Input<boolean>;
|
|
297
301
|
/**
|
|
298
|
-
*
|
|
302
|
+
* Map of tags to assign to the queue. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
299
303
|
*/
|
|
300
304
|
tags?: pulumi.Input<{
|
|
301
305
|
[key: string]: pulumi.Input<string>;
|
|
302
306
|
}>;
|
|
303
307
|
/**
|
|
304
|
-
*
|
|
308
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
305
309
|
*
|
|
306
310
|
* @deprecated Please use `tags` instead.
|
|
307
311
|
*/
|
|
@@ -313,7 +317,7 @@ export interface QueueState {
|
|
|
313
317
|
*/
|
|
314
318
|
url?: pulumi.Input<string>;
|
|
315
319
|
/**
|
|
316
|
-
*
|
|
320
|
+
* Visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html).
|
|
317
321
|
*/
|
|
318
322
|
visibilityTimeoutSeconds?: pulumi.Input<number>;
|
|
319
323
|
}
|
|
@@ -322,7 +326,7 @@ export interface QueueState {
|
|
|
322
326
|
*/
|
|
323
327
|
export interface QueueArgs {
|
|
324
328
|
/**
|
|
325
|
-
* Enables content-based deduplication for FIFO queues. For more information, see the [related documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
|
|
329
|
+
* Enables content-based deduplication for FIFO queues. For more information, see the [related documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing).
|
|
326
330
|
*/
|
|
327
331
|
contentBasedDeduplication?: pulumi.Input<boolean>;
|
|
328
332
|
/**
|
|
@@ -330,7 +334,7 @@ export interface QueueArgs {
|
|
|
330
334
|
*/
|
|
331
335
|
deduplicationScope?: pulumi.Input<string>;
|
|
332
336
|
/**
|
|
333
|
-
*
|
|
337
|
+
* Time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 seconds.
|
|
334
338
|
*/
|
|
335
339
|
delaySeconds?: pulumi.Input<number>;
|
|
336
340
|
/**
|
|
@@ -342,43 +346,43 @@ export interface QueueArgs {
|
|
|
342
346
|
*/
|
|
343
347
|
fifoThroughputLimit?: pulumi.Input<string>;
|
|
344
348
|
/**
|
|
345
|
-
*
|
|
349
|
+
* Length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes).
|
|
346
350
|
*/
|
|
347
351
|
kmsDataKeyReusePeriodSeconds?: pulumi.Input<number>;
|
|
348
352
|
/**
|
|
349
|
-
*
|
|
353
|
+
* ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information, see [Key Terms](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms).
|
|
350
354
|
*/
|
|
351
355
|
kmsMasterKeyId?: pulumi.Input<string>;
|
|
352
356
|
/**
|
|
353
|
-
*
|
|
357
|
+
* Limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).
|
|
354
358
|
*/
|
|
355
359
|
maxMessageSize?: pulumi.Input<number>;
|
|
356
360
|
/**
|
|
357
|
-
*
|
|
361
|
+
* Number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).
|
|
358
362
|
*/
|
|
359
363
|
messageRetentionSeconds?: pulumi.Input<number>;
|
|
360
364
|
/**
|
|
361
|
-
*
|
|
365
|
+
* Name of the queue. Queue names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 80 characters long. For a FIFO (first-in-first-out) queue, the name must end with the `.fifo` suffix. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
|
|
362
366
|
*/
|
|
363
367
|
name?: pulumi.Input<string>;
|
|
364
368
|
/**
|
|
365
|
-
* Creates a unique name beginning with the specified prefix. Conflicts with `name
|
|
369
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
366
370
|
*/
|
|
367
371
|
namePrefix?: pulumi.Input<string>;
|
|
368
372
|
/**
|
|
369
|
-
*
|
|
373
|
+
* JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide.
|
|
370
374
|
*/
|
|
371
375
|
policy?: pulumi.Input<string>;
|
|
372
376
|
/**
|
|
373
|
-
*
|
|
377
|
+
* Time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning. An integer from 0 to 20 (seconds). The default for this attribute is 0, meaning that the call will return immediately.
|
|
374
378
|
*/
|
|
375
379
|
receiveWaitTimeSeconds?: pulumi.Input<number>;
|
|
376
380
|
/**
|
|
377
|
-
*
|
|
381
|
+
* JSON policy to set up the Dead Letter Queue redrive permission, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html).
|
|
378
382
|
*/
|
|
379
383
|
redriveAllowPolicy?: pulumi.Input<string>;
|
|
380
384
|
/**
|
|
381
|
-
*
|
|
385
|
+
* JSON policy to set up the Dead Letter Queue, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html). **Note:** when specifying `maxReceiveCount`, you must specify it as an integer (`5`), and not a string (`"5"`).
|
|
382
386
|
*/
|
|
383
387
|
redrivePolicy?: pulumi.Input<string>;
|
|
384
388
|
/**
|
|
@@ -386,13 +390,13 @@ export interface QueueArgs {
|
|
|
386
390
|
*/
|
|
387
391
|
sqsManagedSseEnabled?: pulumi.Input<boolean>;
|
|
388
392
|
/**
|
|
389
|
-
*
|
|
393
|
+
* Map of tags to assign to the queue. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
390
394
|
*/
|
|
391
395
|
tags?: pulumi.Input<{
|
|
392
396
|
[key: string]: pulumi.Input<string>;
|
|
393
397
|
}>;
|
|
394
398
|
/**
|
|
395
|
-
*
|
|
399
|
+
* Visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see [AWS docs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html).
|
|
396
400
|
*/
|
|
397
401
|
visibilityTimeoutSeconds?: pulumi.Input<number>;
|
|
398
402
|
}
|
package/sqs/queue.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.Queue = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Amazon SQS (Simple Queue Service) is a fully managed message queuing service that enables decoupling and scaling of microservices, distributed systems, and serverless applications. This resource allows you to create, configure, and manage an SQS queue, which acts as a reliable message buffer between producers and consumers. With support for standard and FIFO queues, SQS ensures secure, scalable, and asynchronous message processing. Use this resource to define queue attributes, configure access policies, and integrate seamlessly with AWS services like Lambda, SNS, and EC2.
|
|
10
|
+
*
|
|
11
|
+
* !> AWS will hang indefinitely, leading to a `timeout while waiting` error, when creating or updating an `aws.sqs.Queue` with an associated `aws.sqs.QueuePolicy` if `Version = "2012-10-17"` is not explicitly set in the policy.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ```typescript
|
package/sqs/queue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../sqs/queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../sqs/queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+GG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC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