instance property

CfnAlarmPlatform get instance

The default instance of CfnAlarmPlatform to use.

Defaults to MethodChannelCfnAlarm.

Implementation

static CfnAlarmPlatform get instance => _instance;
set instance (CfnAlarmPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends CfnAlarmPlatform when they register themselves.

Implementation

static set instance(CfnAlarmPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}