NotificationChannel constructor

NotificationChannel(
  1. String name, {
  2. NotificationChannelArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new NotificationChannel. name The Pulumi resource name. args Arguments used to configure this NotificationChannel. The set of arguments for NotificationChannel. options Resource options controlling this resource's behavior.

Implementation

NotificationChannel(
  String name, {
  NotificationChannelArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:devopsguru/notificationChannel:NotificationChannel',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  filters = registerOutput<NotificationChannelFilters?>('filters', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotificationChannelFilters.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  region = registerOutput<String>('region');
  sns = registerOutput<NotificationChannelSns>('sns', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotificationChannelSns.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}