I want to receive emails that notify me when my AWS IAM Identity Center System for Cross-domain Identity Management (SCIM) access token expires.
Short description
To receive an email that notifies you when your IAM Identity Center SCIM token expires, create an AWS Health alert. Then, subscribe to an Amazon Simple Notification Service (Amazon SNS) topic and configure an Amazon EventBridge rule and target.
Note: If your SCIM access token expires, then your identity provider no longer synchronizes user and group information to IAM Identity Center. As a result, automatic provisioning can't make updates or create and delete information.
Resolution
Configure your managed notification subscription
To receive an alert for an AWS Health event, configure your managed notification subscription.
Create an Amazon SNS topic
Complete the following steps:
- Open the Amazon SNS console.
- In the navigation pane, choose Topics, and then choose Create topic.
- For Topic type, select Standard.
- For Name, enter a name for your topic.
- Choose Create topic.
Subscribe to the Amazon SNS topic
Complete the following steps:
- Open the Amazon SNS console.
- In the navigation pane, choose Topics, and then choose the topic that you created.
- Choose the Subscriptions tab, and then choose Create subscription.
- For Protocol, choose Email.
- For Endpoint, enter the email address where you want to receive notifications.
- Choose Create subscription.
- Open your email account. Find the email from Amazon SNS, and then select the Confirm subscription link in the email.
Create an EventBridge rule
To create an EventBridge rule, see Configuring an EventBridge rule to send notifications about events in AWS Health.
The following is an example event pattern for the EventBridge rule that sends emails when the AWS Health Dashboard generates the AWS_IAMIDENTITYCENTER_SCIM_BEARER_TOKEN_EXPIRY_NOTIFICATION event:
{
"source": [
"aws.health"
],
"detail-type": [
"AWS Health Event"
],
"detail": {
"service": [
"IAMIDENTITYCENTER"
],
"eventTypeCategory": [
"accountNotification"
],
"eventTypeCode": [
"AWS_IAMIDENTITYCENTER_SCIM_BEARER_TOKEN_EXPIRY_NOTIFICATION"
]
}
}
Configure the EventBridge rule target
Complete the following steps:
- Open the EventBridge console.
- In the navigation pane, choose Rules, and then choose the rule you created.
- Choose Targets.
- Choose Add target, and then choose SNS topic from the dropdown list.
- For Topic, select the Amazon SNS topic that you created.
- (Optional) Configure input transformation.
- Choose Next.
- In the Review and create section, review your settings.
- Choose Create rule.
When an AWS Health event that matches your rule occurs, EventBridge activates the rule and publishes a message to your Amazon SNS topic. Then, the Amazon SNS topic sends an email notification to your subscribed email address.
Related information
Rotate an access token