VaultNotifications constructor

VaultNotifications(
  1. String name, {
  2. VaultNotificationsArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

VaultNotifications(
  String name, {
  VaultNotificationsArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:backup/vaultNotifications:VaultNotifications',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  backupVaultArn = registerOutput<String>('backupVaultArn');
  backupVaultEvents = registerOutput<List<String>>('backupVaultEvents', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  backupVaultName = registerOutput<String>('backupVaultName');
  region = registerOutput<String>('region');
  snsTopicArn = registerOutput<String>('snsTopicArn');
}