interface AssociatedAlarmProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ARCRegionSwitch.CfnPlanPropsMixin.AssociatedAlarmProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsarcregionswitch#CfnPlanPropsMixin_AssociatedAlarmProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.AssociatedAlarmProperty |
Python | aws_cdk.cfn_property_mixins.aws_arcregionswitch.CfnPlanPropsMixin.AssociatedAlarmProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_arcregionswitch » CfnPlanPropsMixin » 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/cfn-property-mixins';
const associatedAlarmProperty: arcregionswitch.CfnPlanPropsMixin.AssociatedAlarmProperty = {
alarmType: 'alarmType',
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
resourceIdentifier: 'resourceIdentifier',
};
Properties
| Name | Type | Description |
|---|---|---|
| alarm | string | The alarm type for an associated alarm. |
| cross | string | The cross account role for the configuration. |
| external | string | The external ID (secret key) for the configuration. |
| resource | string | The resource identifier for alarms that you associate with a plan. |
alarmType?
Type:
string
(optional)
The alarm type for an associated alarm.
An associated CloudWatch alarm can be an application health alarm or a trigger alarm.
crossAccountRole?
Type:
string
(optional)
The cross account role for the configuration.
externalId?
Type:
string
(optional)
The external ID (secret key) for the configuration.
resourceIdentifier?
Type:
string
(optional)
The resource identifier for alarms that you associate with a plan.

.NET
Go
Java
Python
TypeScript