Class CfnZonalAutoshiftConfigurationProps
Properties for defining a CfnZonalAutoshiftConfiguration
.
Inheritance
Implements
Namespace: Amazon.CDK.AwsArczonalshift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnZonalAutoshiftConfigurationProps : Object, ICfnZonalAutoshiftConfigurationProps
Syntax (vb)
Public Class CfnZonalAutoshiftConfigurationProps
Inherits Object
Implements ICfnZonalAutoshiftConfigurationProps
Remarks
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.Aws_arczonalshift;
var cfnZonalAutoshiftConfigurationProps = new CfnZonalAutoshiftConfigurationProps {
ResourceIdentifier = "resourceIdentifier",
// the properties below are optional
PracticeRunConfiguration = new PracticeRunConfigurationProperty {
OutcomeAlarms = new [] { new ControlConditionProperty {
AlarmIdentifier = "alarmIdentifier",
Type = "type"
} },
// the properties below are optional
BlockedDates = new [] { "blockedDates" },
BlockedWindows = new [] { "blockedWindows" },
BlockingAlarms = new [] { new ControlConditionProperty {
AlarmIdentifier = "alarmIdentifier",
Type = "type"
} }
},
ZonalAutoshiftStatus = "zonalAutoshiftStatus"
};
Synopsis
Constructors
Cfn |
Properties
Practice |
A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. |
Resource |
The identifier for the resource that AWS shifts traffic for. |
Zonal |
When zonal autoshift is |
Constructors
CfnZonalAutoshiftConfigurationProps()
public CfnZonalAutoshiftConfigurationProps()
Properties
PracticeRunConfiguration
A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.
public object PracticeRunConfiguration { get; set; }
Property Value
System.
Remarks
When a resource has a practice run configuration, Route 53 ARC shifts traffic for the resource weekly for practice runs.
Practice runs are required for zonal autoshift. The zonal shifts that Route 53 ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.
You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
ResourceIdentifier
The identifier for the resource that AWS shifts traffic for.
public string ResourceIdentifier { get; set; }
Property Value
System.
Remarks
The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
ZonalAutoshiftStatus
When zonal autoshift is ENABLED
, you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery.
public string ZonalAutoshiftStatus { get; set; }
Property Value
System.
Remarks
Traffic is also shifted away for the required weekly practice runs.