Show / Hide Table of Contents

Class NotificationRule

Provides a CodeStar Notifications Rule.

Inheritance
System.Object
Resource
CustomResource
NotificationRule
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.CodeStarNotifications
Assembly: Pulumi.Aws.dll
Syntax
public class NotificationRule : CustomResource

Constructors

View Source

NotificationRule(String, NotificationRuleArgs, CustomResourceOptions)

Create a NotificationRule resource with the given unique name, arguments, and options.

Declaration
public NotificationRule(string name, NotificationRuleArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

NotificationRuleArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

The codestar notification rule ARN.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

DetailType

The level of detail to include in the notifications for this resource. Possible values are BASIC and FULL.

Declaration
public Output<string> DetailType { get; }
Property Value
Type Description
Output<System.String>
View Source

EventTypeIds

A list of event types associated with this notification rule. For list of allowed events see here.

Declaration
public Output<ImmutableArray<string>> EventTypeIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Name

The name of notification rule.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Resource

The ARN of the resource to associate with the notification rule.

Declaration
public Output<string> Resource { get; }
Property Value
Type Description
Output<System.String>
View Source

Status

The status of the notification rule. Possible values are ENABLED and DISABLED, default is ENABLED.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A map of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Targets

Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation.

Declaration
public Output<ImmutableArray<NotificationRuleTarget>> Targets { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<NotificationRuleTarget>>

Methods

View Source

Get(String, Input<String>, NotificationRuleState, CustomResourceOptions)

Get an existing NotificationRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static NotificationRule Get(string name, Input<string> id, NotificationRuleState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

NotificationRuleState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
NotificationRule
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.