Skip to content

Commit

Permalink
fix int test
Browse files Browse the repository at this point in the history
  • Loading branch information
msambol committed Mar 27, 2024
1 parent 10e8af8 commit 133f793
Show file tree
Hide file tree
Showing 7 changed files with 202 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,59 @@
}
]
}
},
"MyTopic288CE2107": {
"Type": "AWS::SNS::Topic",
"Properties": {
"DisplayName": "fooDisplayName2",
"KmsMasterKeyId": {
"Fn::GetAtt": [
"CustomKey1E6D0D07",
"Arn"
]
},
"TopicName": "fooTopic2"
}
},
"PublishRoleF42F66B6": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "s3.amazonaws.com"
}
}
],
"Version": "2012-10-17"
}
}
},
"PublishRoleDefaultPolicy9257B12D": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": "sns:Publish",
"Effect": "Allow",
"Resource": {
"Ref": "MyTopic288CE2107"
}
}
],
"Version": "2012-10-17"
},
"PolicyName": "PublishRoleDefaultPolicy9257B12D",
"Roles": [
{
"Ref": "PublishRoleF42F66B6"
}
]
}
}
},
"Parameters": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class SNSInteg extends Stack {
});
const importedTopic = Topic.fromTopicArn(this, 'ImportedTopic', topic2.topicArn);

const publishRole = new Role(this, 'FeedbackRole', {
const publishRole = new Role(this, 'PublishRole', {
assumedBy: new ServicePrincipal('s3.amazonaws.com'),
});
importedTopic.grantPublish(publishRole);
Expand Down

0 comments on commit 133f793

Please sign in to comment.