NotificationHub constructor
NotificationHub(
- String name, {
- NotificationHubArgs? args,
- CustomResourceOptions? options,
Creates a new NotificationHub.
name The Pulumi resource name.
args Arguments used to configure this NotificationHub. The set of arguments for NotificationHub.
options Resource options controlling this resource's behavior.
Implementation
NotificationHub(
String name, {
NotificationHubArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:notifications/notificationHub:NotificationHub',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
notificationHubRegion = registerOutput<String>('notificationHubRegion');
timeouts = registerOutput<NotificationHubTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotificationHubTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}