-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Can't deploy “AWS::Notifications::*” Resource? #7911
Comments
Hello @DogFortune, thank you for reaching out! Could you please post your SAM template here so we can attempt to reproduce this issue? |
@seshubaws OK. SAM template attached. AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Description: UserNotification
Resources:
Configuration1:
Type: AWS::Notifications::NotificationConfiguration
Properties:
Name: hogenotification1
Description: hogehoge
AggregationDuration: SHORT
Rule1:
Type: AWS::Notifications::EventRule
Properties:
NotificationConfigurationArn: !Ref Configuration1
Source: aws.cloudwatch
EventPattern: |
{
"detail": {
"state": {
"value": [
"ALARM"
]
}
}
}
EventType: "CloudWatch Alarm State Change"
Regions:
- ap-northeast-1
Channel1:
Type: AWS::Notifications::ChannelAssociation
Properties:
Arn: !Ref Email1
NotificationConfigurationArn: !Ref Configuration1
Email1:
Type: AWS::NotificationsContacts::EmailContact
Properties:
Name: Notify
EmailAddress: example.com Running |
Did you have the problem only running It's likely related to the fact that SAM CLI has currently an old version of Normally you need to provide extra parameter I'll post here when a new version gets released |
Occurs when
OK! I am waiting for a new version to be released. Thanks for checking it out! |
Hi.
I would like to deploy an “AWS::Notifications::*” resource in SAM.
But I get the following error and cannot deploy it.
SAM does not support the “AWS::Notifications::*” resource?
Environment
The text was updated successfully, but these errors were encountered: