@aws-solutions-constructs/aws-iot-sqs 2.51.0 → 2.52.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.
- package/.eslintignore +3 -1
- package/.jsii +49 -4
- package/integ.config.json +7 -0
- package/lib/index.js +1 -1
- package/package.json +9 -8
- package/test/integ.iotsqs-custom-max-receive-count.js +5 -2
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqs-custom-max-receive-count.assets.json +19 -0
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqs-custom-max-receive-count.template.json +362 -0
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqscustommaxreceivecountIntegDefaultTestDeployAssert73D6F7FF.assets.json +19 -0
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/iotsqscustommaxreceivecountIntegDefaultTestDeployAssert73D6F7FF.template.json +36 -0
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/manifest.json +161 -0
- package/test/integ.iotsqs-custom-max-receive-count.js.snapshot/tree.json +570 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js +5 -2
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqs-dead-letter-queue-off.assets.json +19 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqs-dead-letter-queue-off.template.json +273 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqsdeadletterqueueoffIntegDefaultTestDeployAssertDAEB8150.assets.json +19 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/iotsqsdeadletterqueueoffIntegDefaultTestDeployAssertDAEB8150.template.json +36 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/manifest.json +149 -0
- package/test/integ.iotsqs-dead-letter-queue-off.js.snapshot/tree.json +447 -0
- package/test/integ.iotsqs-default-arguments.js +5 -2
- package/test/integ.iotsqs-default-arguments.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-default-arguments.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqs-default-arguments.assets.json +19 -0
- package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqs-default-arguments.template.json +360 -0
- package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqsdefaultargumentsIntegDefaultTestDeployAssertB545C643.assets.json +19 -0
- package/test/integ.iotsqs-default-arguments.js.snapshot/iotsqsdefaultargumentsIntegDefaultTestDeployAssertB545C643.template.json +36 -0
- package/test/integ.iotsqs-default-arguments.js.snapshot/manifest.json +161 -0
- package/test/integ.iotsqs-default-arguments.js.snapshot/tree.json +568 -0
- package/test/integ.iotsqs-existing-queue.js +5 -2
- package/test/integ.iotsqs-existing-queue.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-existing-queue.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqs-existing-queue.assets.json +19 -0
- package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqs-existing-queue.template.json +120 -0
- package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.assets.json +19 -0
- package/test/integ.iotsqs-existing-queue.js.snapshot/iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.template.json +36 -0
- package/test/integ.iotsqs-existing-queue.js.snapshot/manifest.json +131 -0
- package/test/integ.iotsqs-existing-queue.js.snapshot/tree.json +260 -0
- package/test/integ.iotsqs-use-kms-key-props.js +5 -2
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqs-use-kms-key-props.assets.json +19 -0
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqs-use-kms-key-props.template.json +372 -0
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqsusekmskeypropsIntegDefaultTestDeployAssert4B209F6F.assets.json +19 -0
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/iotsqsusekmskeypropsIntegDefaultTestDeployAssert4B209F6F.template.json +36 -0
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/manifest.json +167 -0
- package/test/integ.iotsqs-use-kms-key-props.js.snapshot/tree.json +598 -0
- package/test/integ.iotsqs-use-queue-props.js +5 -2
- package/test/integ.iotsqs-use-queue-props.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-use-queue-props.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqs-use-queue-props.assets.json +19 -0
- package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqs-use-queue-props.template.json +362 -0
- package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqsusequeuepropsIntegDefaultTestDeployAssertE88E6656.assets.json +19 -0
- package/test/integ.iotsqs-use-queue-props.js.snapshot/iotsqsusequeuepropsIntegDefaultTestDeployAssertE88E6656.template.json +36 -0
- package/test/integ.iotsqs-use-queue-props.js.snapshot/manifest.json +161 -0
- package/test/integ.iotsqs-use-queue-props.js.snapshot/tree.json +570 -0
- package/test/integ.iotsqs-with-existing-key.js +5 -2
- package/test/integ.iotsqs-with-existing-key.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-with-existing-key.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqs-with-existing-key.assets.json +19 -0
- package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqs-with-existing-key.template.json +372 -0
- package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.assets.json +19 -0
- package/test/integ.iotsqs-with-existing-key.js.snapshot/iotsqswithexistingkeyIntegDefaultTestDeployAssert7A2CD336.template.json +36 -0
- package/test/integ.iotsqs-with-existing-key.js.snapshot/manifest.json +167 -0
- package/test/integ.iotsqs-with-existing-key.js.snapshot/tree.json +598 -0
- package/test/integ.iotsqs-without-create-kms-key.js +5 -2
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/cdk.out +1 -0
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/integ.json +12 -0
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqs-without-create-kms-key.assets.json +19 -0
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqs-without-create-kms-key.template.json +278 -0
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.assets.json +19 -0
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/iotsqswithoutcreatekmskeyIntegDefaultTestDeployAssertF21DB5E1.template.json +36 -0
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/manifest.json +149 -0
- package/test/integ.iotsqs-without-create-kms-key.js.snapshot/tree.json +470 -0
- package/test/integ.iotsqs-custom-max-receive-count.expected.json +0 -376
- package/test/integ.iotsqs-dead-letter-queue-off.expected.json +0 -287
- package/test/integ.iotsqs-default-arguments.expected.json +0 -374
- package/test/integ.iotsqs-existing-queue.expected.json +0 -120
- package/test/integ.iotsqs-use-kms-key-props.expected.json +0 -386
- package/test/integ.iotsqs-use-queue-props.expected.json +0 -376
- package/test/integ.iotsqs-with-existing-key.expected.json +0 -386
- package/test/integ.iotsqs-without-create-kms-key.expected.json +0 -278
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Description": "Integration Test for aws-iot-sqs",
|
|
3
|
+
"Resources": {
|
|
4
|
+
"existingqueueobjF8AF0ED1": {
|
|
5
|
+
"Type": "AWS::SQS::Queue",
|
|
6
|
+
"Properties": {
|
|
7
|
+
"KmsMasterKeyId": "alias/aws/sqs",
|
|
8
|
+
"QueueName": "existing-queue-obj"
|
|
9
|
+
},
|
|
10
|
+
"UpdateReplacePolicy": "Delete",
|
|
11
|
+
"DeletionPolicy": "Delete"
|
|
12
|
+
},
|
|
13
|
+
"testiotsqsstackiotactionsrole5F8821AA": {
|
|
14
|
+
"Type": "AWS::IAM::Role",
|
|
15
|
+
"Properties": {
|
|
16
|
+
"AssumeRolePolicyDocument": {
|
|
17
|
+
"Statement": [
|
|
18
|
+
{
|
|
19
|
+
"Action": "sts:AssumeRole",
|
|
20
|
+
"Effect": "Allow",
|
|
21
|
+
"Principal": {
|
|
22
|
+
"Service": "iot.amazonaws.com"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"Version": "2012-10-17"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"testiotsqsstackiotactionsroleDefaultPolicy02ED7F00": {
|
|
31
|
+
"Type": "AWS::IAM::Policy",
|
|
32
|
+
"Properties": {
|
|
33
|
+
"PolicyDocument": {
|
|
34
|
+
"Statement": [
|
|
35
|
+
{
|
|
36
|
+
"Action": [
|
|
37
|
+
"sqs:GetQueueAttributes",
|
|
38
|
+
"sqs:GetQueueUrl",
|
|
39
|
+
"sqs:SendMessage"
|
|
40
|
+
],
|
|
41
|
+
"Effect": "Allow",
|
|
42
|
+
"Resource": {
|
|
43
|
+
"Fn::GetAtt": [
|
|
44
|
+
"existingqueueobjF8AF0ED1",
|
|
45
|
+
"Arn"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"Version": "2012-10-17"
|
|
51
|
+
},
|
|
52
|
+
"PolicyName": "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00",
|
|
53
|
+
"Roles": [
|
|
54
|
+
{
|
|
55
|
+
"Ref": "testiotsqsstackiotactionsrole5F8821AA"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"testiotsqsstackIotTopicRule02F8F602": {
|
|
61
|
+
"Type": "AWS::IoT::TopicRule",
|
|
62
|
+
"Properties": {
|
|
63
|
+
"TopicRulePayload": {
|
|
64
|
+
"Actions": [
|
|
65
|
+
{
|
|
66
|
+
"Sqs": {
|
|
67
|
+
"QueueUrl": {
|
|
68
|
+
"Ref": "existingqueueobjF8AF0ED1"
|
|
69
|
+
},
|
|
70
|
+
"RoleArn": {
|
|
71
|
+
"Fn::GetAtt": [
|
|
72
|
+
"testiotsqsstackiotactionsrole5F8821AA",
|
|
73
|
+
"Arn"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"Description": "Processing messages from IoT devices or factory machines",
|
|
80
|
+
"RuleDisabled": false,
|
|
81
|
+
"Sql": "SELECT * FROM 'test/topic/#'"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"Parameters": {
|
|
87
|
+
"BootstrapVersion": {
|
|
88
|
+
"Type": "AWS::SSM::Parameter::Value<String>",
|
|
89
|
+
"Default": "/cdk-bootstrap/hnb659fds/version",
|
|
90
|
+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"Rules": {
|
|
94
|
+
"CheckBootstrapVersion": {
|
|
95
|
+
"Assertions": [
|
|
96
|
+
{
|
|
97
|
+
"Assert": {
|
|
98
|
+
"Fn::Not": [
|
|
99
|
+
{
|
|
100
|
+
"Fn::Contains": [
|
|
101
|
+
[
|
|
102
|
+
"1",
|
|
103
|
+
"2",
|
|
104
|
+
"3",
|
|
105
|
+
"4",
|
|
106
|
+
"5"
|
|
107
|
+
],
|
|
108
|
+
{
|
|
109
|
+
"Ref": "BootstrapVersion"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "36.0.0",
|
|
3
|
+
"files": {
|
|
4
|
+
"21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
|
|
5
|
+
"source": {
|
|
6
|
+
"path": "iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.template.json",
|
|
7
|
+
"packaging": "file"
|
|
8
|
+
},
|
|
9
|
+
"destinations": {
|
|
10
|
+
"current_account-current_region": {
|
|
11
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
+
"objectKey": "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
|
|
13
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"dockerImages": {}
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Parameters": {
|
|
3
|
+
"BootstrapVersion": {
|
|
4
|
+
"Type": "AWS::SSM::Parameter::Value<String>",
|
|
5
|
+
"Default": "/cdk-bootstrap/hnb659fds/version",
|
|
6
|
+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"Rules": {
|
|
10
|
+
"CheckBootstrapVersion": {
|
|
11
|
+
"Assertions": [
|
|
12
|
+
{
|
|
13
|
+
"Assert": {
|
|
14
|
+
"Fn::Not": [
|
|
15
|
+
{
|
|
16
|
+
"Fn::Contains": [
|
|
17
|
+
[
|
|
18
|
+
"1",
|
|
19
|
+
"2",
|
|
20
|
+
"3",
|
|
21
|
+
"4",
|
|
22
|
+
"5"
|
|
23
|
+
],
|
|
24
|
+
{
|
|
25
|
+
"Ref": "BootstrapVersion"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "36.0.0",
|
|
3
|
+
"artifacts": {
|
|
4
|
+
"iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.assets": {
|
|
5
|
+
"type": "cdk:asset-manifest",
|
|
6
|
+
"properties": {
|
|
7
|
+
"file": "iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.assets.json",
|
|
8
|
+
"requiresBootstrapStackVersion": 6,
|
|
9
|
+
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE": {
|
|
13
|
+
"type": "aws:cloudformation:stack",
|
|
14
|
+
"environment": "aws://unknown-account/unknown-region",
|
|
15
|
+
"properties": {
|
|
16
|
+
"templateFile": "iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.template.json",
|
|
17
|
+
"terminationProtection": false,
|
|
18
|
+
"validateOnSynth": false,
|
|
19
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
20
|
+
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
21
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
|
|
22
|
+
"requiresBootstrapStackVersion": 6,
|
|
23
|
+
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
24
|
+
"additionalDependencies": [
|
|
25
|
+
"iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.assets"
|
|
26
|
+
],
|
|
27
|
+
"lookupRole": {
|
|
28
|
+
"arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
|
|
29
|
+
"requiresBootstrapStackVersion": 8,
|
|
30
|
+
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"dependencies": [
|
|
34
|
+
"iotsqsexistingqueueIntegDefaultTestDeployAssertC1833CEE.assets"
|
|
35
|
+
],
|
|
36
|
+
"metadata": {
|
|
37
|
+
"/iotsqs-existing-queue/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
|
|
38
|
+
{
|
|
39
|
+
"type": "aws:cdk:logicalId",
|
|
40
|
+
"data": "BootstrapVersion"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"/iotsqs-existing-queue/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
|
|
44
|
+
{
|
|
45
|
+
"type": "aws:cdk:logicalId",
|
|
46
|
+
"data": "CheckBootstrapVersion"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"displayName": "iotsqs-existing-queue/Integ/DefaultTest/DeployAssert"
|
|
51
|
+
},
|
|
52
|
+
"iotsqs-existing-queue.assets": {
|
|
53
|
+
"type": "cdk:asset-manifest",
|
|
54
|
+
"properties": {
|
|
55
|
+
"file": "iotsqs-existing-queue.assets.json",
|
|
56
|
+
"requiresBootstrapStackVersion": 6,
|
|
57
|
+
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"iotsqs-existing-queue": {
|
|
61
|
+
"type": "aws:cloudformation:stack",
|
|
62
|
+
"environment": "aws://unknown-account/unknown-region",
|
|
63
|
+
"properties": {
|
|
64
|
+
"templateFile": "iotsqs-existing-queue.template.json",
|
|
65
|
+
"terminationProtection": false,
|
|
66
|
+
"validateOnSynth": false,
|
|
67
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
68
|
+
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
69
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/ac2e53dfc14253cd10acb108a5917bcf640fb350833599c1881d565047696c8d.json",
|
|
70
|
+
"requiresBootstrapStackVersion": 6,
|
|
71
|
+
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
|
+
"additionalDependencies": [
|
|
73
|
+
"iotsqs-existing-queue.assets"
|
|
74
|
+
],
|
|
75
|
+
"lookupRole": {
|
|
76
|
+
"arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
|
|
77
|
+
"requiresBootstrapStackVersion": 8,
|
|
78
|
+
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"dependencies": [
|
|
82
|
+
"iotsqs-existing-queue.assets"
|
|
83
|
+
],
|
|
84
|
+
"metadata": {
|
|
85
|
+
"/iotsqs-existing-queue/existing-queue-obj/Resource": [
|
|
86
|
+
{
|
|
87
|
+
"type": "aws:cdk:logicalId",
|
|
88
|
+
"data": "existingqueueobjF8AF0ED1"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"/iotsqs-existing-queue/test-iot-sqs-stack/iot-actions-role/Resource": [
|
|
92
|
+
{
|
|
93
|
+
"type": "aws:cdk:logicalId",
|
|
94
|
+
"data": "testiotsqsstackiotactionsrole5F8821AA"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"/iotsqs-existing-queue/test-iot-sqs-stack/iot-actions-role/DefaultPolicy/Resource": [
|
|
98
|
+
{
|
|
99
|
+
"type": "aws:cdk:logicalId",
|
|
100
|
+
"data": "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"/iotsqs-existing-queue/test-iot-sqs-stack/IotTopicRule": [
|
|
104
|
+
{
|
|
105
|
+
"type": "aws:cdk:logicalId",
|
|
106
|
+
"data": "testiotsqsstackIotTopicRule02F8F602"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"/iotsqs-existing-queue/BootstrapVersion": [
|
|
110
|
+
{
|
|
111
|
+
"type": "aws:cdk:logicalId",
|
|
112
|
+
"data": "BootstrapVersion"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"/iotsqs-existing-queue/CheckBootstrapVersion": [
|
|
116
|
+
{
|
|
117
|
+
"type": "aws:cdk:logicalId",
|
|
118
|
+
"data": "CheckBootstrapVersion"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"displayName": "iotsqs-existing-queue"
|
|
123
|
+
},
|
|
124
|
+
"Tree": {
|
|
125
|
+
"type": "cdk:tree",
|
|
126
|
+
"properties": {
|
|
127
|
+
"file": "tree.json"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "tree-0.1",
|
|
3
|
+
"tree": {
|
|
4
|
+
"id": "App",
|
|
5
|
+
"path": "",
|
|
6
|
+
"children": {
|
|
7
|
+
"iotsqs-existing-queue": {
|
|
8
|
+
"id": "iotsqs-existing-queue",
|
|
9
|
+
"path": "iotsqs-existing-queue",
|
|
10
|
+
"children": {
|
|
11
|
+
"existing-queue-obj": {
|
|
12
|
+
"id": "existing-queue-obj",
|
|
13
|
+
"path": "iotsqs-existing-queue/existing-queue-obj",
|
|
14
|
+
"children": {
|
|
15
|
+
"Resource": {
|
|
16
|
+
"id": "Resource",
|
|
17
|
+
"path": "iotsqs-existing-queue/existing-queue-obj/Resource",
|
|
18
|
+
"attributes": {
|
|
19
|
+
"aws:cdk:cloudformation:type": "AWS::SQS::Queue",
|
|
20
|
+
"aws:cdk:cloudformation:props": {
|
|
21
|
+
"kmsMasterKeyId": "alias/aws/sqs",
|
|
22
|
+
"queueName": "existing-queue-obj"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"constructInfo": {
|
|
26
|
+
"fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
|
|
27
|
+
"version": "2.118.0"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"constructInfo": {
|
|
32
|
+
"fqn": "aws-cdk-lib.aws_sqs.Queue",
|
|
33
|
+
"version": "2.118.0"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"test-iot-sqs-stack": {
|
|
37
|
+
"id": "test-iot-sqs-stack",
|
|
38
|
+
"path": "iotsqs-existing-queue/test-iot-sqs-stack",
|
|
39
|
+
"children": {
|
|
40
|
+
"iot-actions-role": {
|
|
41
|
+
"id": "iot-actions-role",
|
|
42
|
+
"path": "iotsqs-existing-queue/test-iot-sqs-stack/iot-actions-role",
|
|
43
|
+
"children": {
|
|
44
|
+
"Importiot-actions-role": {
|
|
45
|
+
"id": "Importiot-actions-role",
|
|
46
|
+
"path": "iotsqs-existing-queue/test-iot-sqs-stack/iot-actions-role/Importiot-actions-role",
|
|
47
|
+
"constructInfo": {
|
|
48
|
+
"fqn": "aws-cdk-lib.Resource",
|
|
49
|
+
"version": "2.118.0"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"Resource": {
|
|
53
|
+
"id": "Resource",
|
|
54
|
+
"path": "iotsqs-existing-queue/test-iot-sqs-stack/iot-actions-role/Resource",
|
|
55
|
+
"attributes": {
|
|
56
|
+
"aws:cdk:cloudformation:type": "AWS::IAM::Role",
|
|
57
|
+
"aws:cdk:cloudformation:props": {
|
|
58
|
+
"assumeRolePolicyDocument": {
|
|
59
|
+
"Statement": [
|
|
60
|
+
{
|
|
61
|
+
"Action": "sts:AssumeRole",
|
|
62
|
+
"Effect": "Allow",
|
|
63
|
+
"Principal": {
|
|
64
|
+
"Service": "iot.amazonaws.com"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"Version": "2012-10-17"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"constructInfo": {
|
|
73
|
+
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
74
|
+
"version": "2.118.0"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"DefaultPolicy": {
|
|
78
|
+
"id": "DefaultPolicy",
|
|
79
|
+
"path": "iotsqs-existing-queue/test-iot-sqs-stack/iot-actions-role/DefaultPolicy",
|
|
80
|
+
"children": {
|
|
81
|
+
"Resource": {
|
|
82
|
+
"id": "Resource",
|
|
83
|
+
"path": "iotsqs-existing-queue/test-iot-sqs-stack/iot-actions-role/DefaultPolicy/Resource",
|
|
84
|
+
"attributes": {
|
|
85
|
+
"aws:cdk:cloudformation:type": "AWS::IAM::Policy",
|
|
86
|
+
"aws:cdk:cloudformation:props": {
|
|
87
|
+
"policyDocument": {
|
|
88
|
+
"Statement": [
|
|
89
|
+
{
|
|
90
|
+
"Action": [
|
|
91
|
+
"sqs:GetQueueAttributes",
|
|
92
|
+
"sqs:GetQueueUrl",
|
|
93
|
+
"sqs:SendMessage"
|
|
94
|
+
],
|
|
95
|
+
"Effect": "Allow",
|
|
96
|
+
"Resource": {
|
|
97
|
+
"Fn::GetAtt": [
|
|
98
|
+
"existingqueueobjF8AF0ED1",
|
|
99
|
+
"Arn"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"Version": "2012-10-17"
|
|
105
|
+
},
|
|
106
|
+
"policyName": "testiotsqsstackiotactionsroleDefaultPolicy02ED7F00",
|
|
107
|
+
"roles": [
|
|
108
|
+
{
|
|
109
|
+
"Ref": "testiotsqsstackiotactionsrole5F8821AA"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"constructInfo": {
|
|
115
|
+
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
116
|
+
"version": "2.118.0"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"constructInfo": {
|
|
121
|
+
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
122
|
+
"version": "2.118.0"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"constructInfo": {
|
|
127
|
+
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
128
|
+
"version": "2.118.0"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"IotTopicRule": {
|
|
132
|
+
"id": "IotTopicRule",
|
|
133
|
+
"path": "iotsqs-existing-queue/test-iot-sqs-stack/IotTopicRule",
|
|
134
|
+
"attributes": {
|
|
135
|
+
"aws:cdk:cloudformation:type": "AWS::IoT::TopicRule",
|
|
136
|
+
"aws:cdk:cloudformation:props": {
|
|
137
|
+
"topicRulePayload": {
|
|
138
|
+
"ruleDisabled": false,
|
|
139
|
+
"actions": [
|
|
140
|
+
{
|
|
141
|
+
"sqs": {
|
|
142
|
+
"queueUrl": {
|
|
143
|
+
"Ref": "existingqueueobjF8AF0ED1"
|
|
144
|
+
},
|
|
145
|
+
"roleArn": {
|
|
146
|
+
"Fn::GetAtt": [
|
|
147
|
+
"testiotsqsstackiotactionsrole5F8821AA",
|
|
148
|
+
"Arn"
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"sql": "SELECT * FROM 'test/topic/#'",
|
|
155
|
+
"description": "Processing messages from IoT devices or factory machines"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"constructInfo": {
|
|
160
|
+
"fqn": "aws-cdk-lib.aws_iot.CfnTopicRule",
|
|
161
|
+
"version": "2.118.0"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"constructInfo": {
|
|
166
|
+
"fqn": "@aws-solutions-constructs/aws-iot-sqs.IotToSqs",
|
|
167
|
+
"version": "2.50.0"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"Integ": {
|
|
171
|
+
"id": "Integ",
|
|
172
|
+
"path": "iotsqs-existing-queue/Integ",
|
|
173
|
+
"children": {
|
|
174
|
+
"DefaultTest": {
|
|
175
|
+
"id": "DefaultTest",
|
|
176
|
+
"path": "iotsqs-existing-queue/Integ/DefaultTest",
|
|
177
|
+
"children": {
|
|
178
|
+
"Default": {
|
|
179
|
+
"id": "Default",
|
|
180
|
+
"path": "iotsqs-existing-queue/Integ/DefaultTest/Default",
|
|
181
|
+
"constructInfo": {
|
|
182
|
+
"fqn": "constructs.Construct",
|
|
183
|
+
"version": "10.0.0"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"DeployAssert": {
|
|
187
|
+
"id": "DeployAssert",
|
|
188
|
+
"path": "iotsqs-existing-queue/Integ/DefaultTest/DeployAssert",
|
|
189
|
+
"children": {
|
|
190
|
+
"BootstrapVersion": {
|
|
191
|
+
"id": "BootstrapVersion",
|
|
192
|
+
"path": "iotsqs-existing-queue/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
193
|
+
"constructInfo": {
|
|
194
|
+
"fqn": "aws-cdk-lib.CfnParameter",
|
|
195
|
+
"version": "2.118.0"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"CheckBootstrapVersion": {
|
|
199
|
+
"id": "CheckBootstrapVersion",
|
|
200
|
+
"path": "iotsqs-existing-queue/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
201
|
+
"constructInfo": {
|
|
202
|
+
"fqn": "aws-cdk-lib.CfnRule",
|
|
203
|
+
"version": "2.118.0"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"constructInfo": {
|
|
208
|
+
"fqn": "aws-cdk-lib.Stack",
|
|
209
|
+
"version": "2.118.0"
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"constructInfo": {
|
|
214
|
+
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
215
|
+
"version": "2.118.0-alpha.0"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"constructInfo": {
|
|
220
|
+
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
221
|
+
"version": "2.118.0-alpha.0"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"BootstrapVersion": {
|
|
225
|
+
"id": "BootstrapVersion",
|
|
226
|
+
"path": "iotsqs-existing-queue/BootstrapVersion",
|
|
227
|
+
"constructInfo": {
|
|
228
|
+
"fqn": "aws-cdk-lib.CfnParameter",
|
|
229
|
+
"version": "2.118.0"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"CheckBootstrapVersion": {
|
|
233
|
+
"id": "CheckBootstrapVersion",
|
|
234
|
+
"path": "iotsqs-existing-queue/CheckBootstrapVersion",
|
|
235
|
+
"constructInfo": {
|
|
236
|
+
"fqn": "aws-cdk-lib.CfnRule",
|
|
237
|
+
"version": "2.118.0"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"constructInfo": {
|
|
242
|
+
"fqn": "aws-cdk-lib.Stack",
|
|
243
|
+
"version": "2.118.0"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"Tree": {
|
|
247
|
+
"id": "Tree",
|
|
248
|
+
"path": "Tree",
|
|
249
|
+
"constructInfo": {
|
|
250
|
+
"fqn": "constructs.Construct",
|
|
251
|
+
"version": "10.0.0"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"constructInfo": {
|
|
256
|
+
"fqn": "aws-cdk-lib.App",
|
|
257
|
+
"version": "2.118.0"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
@@ -17,6 +17,7 @@ const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
|
17
17
|
const lib_1 = require("../lib");
|
|
18
18
|
const iam = require("aws-cdk-lib/aws-iam");
|
|
19
19
|
const core_1 = require("@aws-solutions-constructs/core");
|
|
20
|
+
const integ_tests_alpha_1 = require("@aws-cdk/integ-tests-alpha");
|
|
20
21
|
// Setup
|
|
21
22
|
const app = new aws_cdk_lib_1.App();
|
|
22
23
|
const stack = new aws_cdk_lib_1.Stack(app, core_1.generateIntegStackName(__filename));
|
|
@@ -46,5 +47,7 @@ const policyStatement = new iam.PolicyStatement({
|
|
|
46
47
|
});
|
|
47
48
|
iotToSqsStack.encryptionKey?.addToResourcePolicy(policyStatement);
|
|
48
49
|
// Synth
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
new integ_tests_alpha_1.IntegTest(stack, 'Integ', { testCases: [
|
|
51
|
+
stack
|
|
52
|
+
] });
|
|
53
|
+
//# sourceMapping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
|
|
|
1
|
+
{
|
|
2
|
+
"version": "36.0.0",
|
|
3
|
+
"testCases": {
|
|
4
|
+
"iotsqs-use-kms-key-props/Integ/DefaultTest": {
|
|
5
|
+
"stacks": [
|
|
6
|
+
"iotsqs-use-kms-key-props"
|
|
7
|
+
],
|
|
8
|
+
"assertionStack": "iotsqs-use-kms-key-props/Integ/DefaultTest/DeployAssert",
|
|
9
|
+
"assertionStackName": "iotsqsusekmskeypropsIntegDefaultTestDeployAssert4B209F6F"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "36.0.0",
|
|
3
|
+
"files": {
|
|
4
|
+
"c852f21bd9d311a8af41f61d8efbbccc6bc1c1903e5b8ad27951a141189aa5a0": {
|
|
5
|
+
"source": {
|
|
6
|
+
"path": "iotsqs-use-kms-key-props.template.json",
|
|
7
|
+
"packaging": "file"
|
|
8
|
+
},
|
|
9
|
+
"destinations": {
|
|
10
|
+
"current_account-current_region": {
|
|
11
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
+
"objectKey": "c852f21bd9d311a8af41f61d8efbbccc6bc1c1903e5b8ad27951a141189aa5a0.json",
|
|
13
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"dockerImages": {}
|
|
19
|
+
}
|