interface AssociatedAlarmProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_arcregionswitch.CfnPlan.AssociatedAlarmProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsarcregionswitch#CfnPlan_AssociatedAlarmProperty |
![]() | software.amazon.awscdk.services.arcregionswitch.CfnPlan.AssociatedAlarmProperty |
![]() | aws_cdk.aws_arcregionswitch.CfnPlan.AssociatedAlarmProperty |
![]() | aws-cdk-lib » aws_arcregionswitch » CfnPlan » AssociatedAlarmProperty |
An Amazon CloudWatch alarm associated with a Region switch plan.
These alarms can be used to trigger automatic execution of the plan.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_arcregionswitch as arcregionswitch } from 'aws-cdk-lib';
const associatedAlarmProperty: arcregionswitch.CfnPlan.AssociatedAlarmProperty = {
alarmType: 'alarmType',
resourceIdentifier: 'resourceIdentifier',
// the properties below are optional
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
};
Properties
Name | Type | Description |
---|---|---|
alarm | string | The alarm type for an associated alarm. |
resource | string | The resource identifier for alarms that you associate with a plan. |
cross | string | The cross account role for the configuration. |
external | string | The external ID (secret key) for the configuration. |
alarmType
Type:
string
The alarm type for an associated alarm.
An associated CloudWatch alarm can be an application health alarm or a trigger alarm.
resourceIdentifier
Type:
string
The resource identifier for alarms that you associate with a plan.
crossAccountRole?
Type:
string
(optional)
The cross account role for the configuration.
externalId?
Type:
string
(optional)
The external ID (secret key) for the configuration.