Skip to content

Commit

Permalink
upadted snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
clueleaf committed Oct 5, 2022
1 parent c2d3775 commit cf1ed5b
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "21.0.0",
"files": {
"a660932c356f8eec80b4314b041c64311fd29803603b65a95351137afa8eba04": {
"7fd5f7d37f2f344aa43e18636af702436c91c871b1380d772857c431c603bb27": {
"source": {
"path": "aws-cdk-sqs.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "a660932c356f8eec80b4314b041c64311fd29803603b65a95351137afa8eba04.json",
"objectKey": "7fd5f7d37f2f344aa43e18636af702436c91c871b1380d772857c431c603bb27.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,44 @@
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"SSLQueue4E9BF022": {
"Type": "AWS::SQS::Queue",
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"SSLQueuePolicy5ABFDF4F": {
"Type": "AWS::SQS::QueuePolicy",
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": "sqs:*",
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
},
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Resource": {
"Fn::GetAtt": [
"SSLQueue4E9BF022",
"Arn"
]
}
}
],
"Version": "2012-10-17"
},
"Queues": [
{
"Ref": "SSLQueue4E9BF022"
}
]
}
},
"Role1ABCC5F0": {
"Type": "AWS::IAM::Role",
"Properties": {
Expand Down Expand Up @@ -168,6 +206,12 @@
"Arn"
]
},
{
"Fn::GetAtt": [
"SSLQueue4E9BF022",
"Arn"
]
},
{
"Fn::GetAtt": [
"SqsManagedEncryptedQueue587679B3",
Expand Down
14 changes: 13 additions & 1 deletion packages/@aws-cdk/aws-sqs/test/sqs.integ.snapshot/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/a660932c356f8eec80b4314b041c64311fd29803603b65a95351137afa8eba04.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/7fd5f7d37f2f344aa43e18636af702436c91c871b1380d772857c431c603bb27.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down Expand Up @@ -81,6 +81,18 @@
"data": "UnencryptedQueue57F92F9C"
}
],
"/aws-cdk-sqs/SSLQueue/Resource": [
{
"type": "aws:cdk:logicalId",
"data": "SSLQueue4E9BF022"
}
],
"/aws-cdk-sqs/SSLQueue/Policy/Resource": [
{
"type": "aws:cdk:logicalId",
"data": "SSLQueuePolicy5ABFDF4F"
}
],
"/aws-cdk-sqs/Role/Resource": [
{
"type": "aws:cdk:logicalId",
Expand Down
83 changes: 81 additions & 2 deletions packages/@aws-cdk/aws-sqs/test/sqs.integ.snapshot/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"path": "Tree",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.108"
"version": "10.1.102"
}
},
"aws-cdk-sqs": {
Expand Down Expand Up @@ -226,6 +226,79 @@
"version": "0.0.0"
}
},
"SSLQueue": {
"id": "SSLQueue",
"path": "aws-cdk-sqs/SSLQueue",
"children": {
"Resource": {
"id": "Resource",
"path": "aws-cdk-sqs/SSLQueue/Resource",
"attributes": {
"aws:cdk:cloudformation:type": "AWS::SQS::Queue",
"aws:cdk:cloudformation:props": {}
},
"constructInfo": {
"fqn": "@aws-cdk/aws-sqs.CfnQueue",
"version": "0.0.0"
}
},
"Policy": {
"id": "Policy",
"path": "aws-cdk-sqs/SSLQueue/Policy",
"children": {
"Resource": {
"id": "Resource",
"path": "aws-cdk-sqs/SSLQueue/Policy/Resource",
"attributes": {
"aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
"aws:cdk:cloudformation:props": {
"policyDocument": {
"Statement": [
{
"Action": "sqs:*",
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
},
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Resource": {
"Fn::GetAtt": [
"SSLQueue4E9BF022",
"Arn"
]
}
}
],
"Version": "2012-10-17"
},
"queues": [
{
"Ref": "SSLQueue4E9BF022"
}
]
}
},
"constructInfo": {
"fqn": "@aws-cdk/aws-sqs.CfnQueuePolicy",
"version": "0.0.0"
}
}
},
"constructInfo": {
"fqn": "@aws-cdk/aws-sqs.QueuePolicy",
"version": "0.0.0"
}
}
},
"constructInfo": {
"fqn": "@aws-cdk/aws-sqs.Queue",
"version": "0.0.0"
}
},
"Role": {
"id": "Role",
"path": "aws-cdk-sqs/Role",
Expand Down Expand Up @@ -316,6 +389,12 @@
"Arn"
]
},
{
"Fn::GetAtt": [
"SSLQueue4E9BF022",
"Arn"
]
},
{
"Fn::GetAtt": [
"SqsManagedEncryptedQueue587679B3",
Expand Down Expand Up @@ -395,7 +474,7 @@
"path": "SqsTest/DefaultTest/Default",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.108"
"version": "10.1.102"
}
},
"DeployAssert": {
Expand Down

0 comments on commit cf1ed5b

Please sign in to comment.