Class NotificationRule
Provides a CodeStar Notifications Rule.
Inherited Members
Namespace: Pulumi.Aws.CodeStarNotifications
Assembly: Pulumi.Aws.dll
Syntax
public class NotificationRule : CustomResource
Constructors
View SourceNotificationRule(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 SourceArn
The codestar notification rule ARN.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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>> |
Name
The name of notification rule.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
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>> |
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 SourceGet(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 |