InitializationConfigurationProperty Struct
Specifies the default alarm state.
The configuration applies to all alarms that were created based on this alarm model.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotevents as iotevents } from 'aws-cdk-lib';
const initializationConfigurationProperty: iotevents.CfnAlarmModel.InitializationConfigurationProperty = {
disabledOnInitialization: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotevents as iotevents
initialization_configuration_property = iotevents.CfnAlarmModel.InitializationConfigurationProperty(
disabled_on_initialization=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotevents.*;
InitializationConfigurationProperty initializationConfigurationProperty = InitializationConfigurationProperty.builder()
.disabledOnInitialization(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTEvents;
var initializationConfigurationProperty = new InitializationConfigurationProperty {
DisabledOnInitialization = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
initializationConfigurationProperty := &InitializationConfigurationProperty{
DisabledOnInitialization: jsii.Boolean(false),
}
Properties
disabledOnInitializationboolean | IResolvabledisabled_on_initializationtyping.Union[bool, IResolvable]disabledOnInitializationBooleanDisabledOnInitializationboolDisabledOnInitializationinterface{} required #The value must be `TRUE` or `FALSE` .
If FALSE , all alarm instances created based on the alarm model are activated. The default value is TRUE .