Class CfnDaemon.DaemonAlarmConfigurationProperty
The CloudWatch alarm configuration for a daemon.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDaemon.DaemonAlarmConfigurationProperty : CfnDaemon.IDaemonAlarmConfigurationProperty
Syntax (vb)
Public Class CfnDaemon.DaemonAlarmConfigurationProperty Implements CfnDaemon.IDaemonAlarmConfigurationProperty
Remarks
When enabled, CloudWatch alarms determine whether a daemon deployment has failed.
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.ECS;
var daemonAlarmConfigurationProperty = new DaemonAlarmConfigurationProperty {
AlarmNames = new [] { "alarmNames" },
Enable = false
};
Synopsis
Constructors
| DaemonAlarmConfigurationProperty() | The CloudWatch alarm configuration for a daemon. |
Properties
| AlarmNames | The CloudWatch alarm names to monitor during a daemon deployment. |
| Enable | Determines whether to use the CloudWatch alarm option in the daemon deployment process. |
Constructors
DaemonAlarmConfigurationProperty()
The CloudWatch alarm configuration for a daemon.
public DaemonAlarmConfigurationProperty()
Remarks
When enabled, CloudWatch alarms determine whether a daemon deployment has failed.
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.ECS;
var daemonAlarmConfigurationProperty = new DaemonAlarmConfigurationProperty {
AlarmNames = new [] { "alarmNames" },
Enable = false
};
Properties
AlarmNames
The CloudWatch alarm names to monitor during a daemon deployment.
public string[]? AlarmNames { get; set; }
Property Value
string[]
Remarks
Enable
Determines whether to use the CloudWatch alarm option in the daemon deployment process.
public object? Enable { get; set; }
Property Value
Remarks
The default value is false.
Type union: either bool or IResolvable