Class CfnPlanPropsMixin.AssociatedAlarmProperty
An Amazon CloudWatch alarm associated with a Region switch plan.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPlanPropsMixin.AssociatedAlarmProperty : CfnPlanPropsMixin.IAssociatedAlarmProperty
Syntax (vb)
Public Class CfnPlanPropsMixin.AssociatedAlarmProperty Implements CfnPlanPropsMixin.IAssociatedAlarmProperty
Remarks
These alarms can be used to trigger automatic execution of the plan.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins;
var associatedAlarmProperty = new AssociatedAlarmProperty {
AlarmType = "alarmType",
CrossAccountRole = "crossAccountRole",
ExternalId = "externalId",
ResourceIdentifier = "resourceIdentifier"
};
Synopsis
Constructors
| AssociatedAlarmProperty() | An Amazon CloudWatch alarm associated with a Region switch plan. |
Properties
| AlarmType | The alarm type for an associated alarm. |
| CrossAccountRole | The cross account role for the configuration. |
| ExternalId | The external ID (secret key) for the configuration. |
| ResourceIdentifier | The resource identifier for alarms that you associate with a plan. |
Constructors
AssociatedAlarmProperty()
An Amazon CloudWatch alarm associated with a Region switch plan.
public AssociatedAlarmProperty()
Remarks
These alarms can be used to trigger automatic execution of the plan.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins;
var associatedAlarmProperty = new AssociatedAlarmProperty {
AlarmType = "alarmType",
CrossAccountRole = "crossAccountRole",
ExternalId = "externalId",
ResourceIdentifier = "resourceIdentifier"
};
Properties
AlarmType
The alarm type for an associated alarm.
public string? AlarmType { get; set; }
Property Value
Remarks
An associated CloudWatch alarm can be an application health alarm or a trigger alarm.
CrossAccountRole
The cross account role for the configuration.
public string? CrossAccountRole { get; set; }
Property Value
Remarks
ExternalId
The external ID (secret key) for the configuration.
public string? ExternalId { get; set; }
Property Value
Remarks
ResourceIdentifier
The resource identifier for alarms that you associate with a plan.
public string? ResourceIdentifier { get; set; }