interface AssociatedAlarmProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins.CfnPlanPropsMixin.AssociatedAlarmProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsarcregionswitch/mixins#CfnPlanPropsMixin_AssociatedAlarmProperty |
Java | software.amazon.awscdk.mixins.preview.services.arcregionswitch.mixins.CfnPlanPropsMixin.AssociatedAlarmProperty |
Python | aws_cdk.mixins_preview.aws_arcregionswitch.mixins.CfnPlanPropsMixin.AssociatedAlarmProperty |
TypeScript | @aws-cdk/mixins-preview » aws_arcregionswitch » mixins » 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 { mixins as arcregionswitch_mixins } from '@aws-cdk/mixins-preview/aws-arcregionswitch';
const associatedAlarmProperty: arcregionswitch_mixins.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