Skip to content

Commit

Permalink
Add integ test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjane-dev committed Nov 30, 2023
1 parent 2ac3e0e commit 7fd9ed1
Show file tree
Hide file tree
Showing 7 changed files with 238 additions and 10 deletions.

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 @@ -35,6 +35,27 @@
}
}
},
"MyCompositeAlarm0F045229": {
"Type": "AWS::CloudWatch::CompositeAlarm",
"Properties": {
"AlarmName": "awsappconfigenvironmentMyCompositeAlarm730A7A48",
"AlarmRule": {
"Fn::Join": [
"",
[
"ALARM(\"",
{
"Fn::GetAtt": [
"MyAlarm696658B6",
"Arn"
]
},
"\")"
]
]
}
}
},
"MyEnvironmentRole01C8C013F": {
"Type": "AWS::IAM::Role",
"Properties": {
Expand Down Expand Up @@ -72,6 +93,57 @@
]
}
},
"MyEnvironmentRoleCompositeAlarm8C2A0542": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "appconfig.amazonaws.com"
}
}
],
"Version": "2012-10-17"
},
"Policies": [
{
"PolicyDocument": {
"Statement": [
{
"Action": "cloudwatch:DescribeAlarms",
"Effect": "Allow",
"Resource": {
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":cloudwatch:",
{
"Ref": "AWS::Region"
},
":",
{
"Ref": "AWS::AccountId"
},
":alarm:*"
]
]
}
}
],
"Version": "2012-10-17"
},
"PolicyName": "AllowAppConfigMonitorAlarmPolicy"
}
]
}
},
"MyEnvironment465E4DEA": {
"Type": "AWS::AppConfig::Environment",
"Properties": {
Expand Down Expand Up @@ -107,6 +179,20 @@
"Arn"
]
}
},
{
"AlarmArn": {
"Fn::GetAtt": [
"MyCompositeAlarm0F045229",
"Arn"
]
},
"AlarmRoleArn": {
"Fn::GetAtt": [
"MyEnvironmentRoleCompositeAlarm8C2A0542",
"Arn"
]
}
}
],
"Name": "awsappconfigenvironment-MyEnvironment-C8813182"
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.

0 comments on commit 7fd9ed1

Please sign in to comment.