NotificationRule constructor

NotificationRule(
  1. String name, {
  2. NotificationRuleArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

NotificationRule(
  String name, {
  NotificationRuleArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:codestarnotifications/notificationRule:NotificationRule',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  arn = registerOutput<String>('arn');
  detailType = registerOutput<String>('detailType');
  eventTypeIds = registerOutput<List<String>>('eventTypeIds');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  resource = registerOutput<String>('resource');
  status = registerOutput<String?>('status');
  tags = registerOutput<Map<String, String>?>('tags');
  tagsAll = registerOutput<Map<String, String>>('tagsAll');
  targets = registerOutput<List<Map<String, dynamic>>?>('targets');
}