AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi


Resource Type definition for AWS::CodeStarNotifications::NotificationRule

Using getNotificationRule

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNotificationRule(args: GetNotificationRuleArgs, opts?: InvokeOptions): Promise<GetNotificationRuleResult>
function getNotificationRuleOutput(args: GetNotificationRuleOutputArgs, opts?: InvokeOptions): Output<GetNotificationRuleResult>
def get_notification_rule(arn: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetNotificationRuleResult
def get_notification_rule_output(arn: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetNotificationRuleResult]
func LookupNotificationRule(ctx *Context, args *LookupNotificationRuleArgs, opts ...InvokeOption) (*LookupNotificationRuleResult, error)
func LookupNotificationRuleOutput(ctx *Context, args *LookupNotificationRuleOutputArgs, opts ...InvokeOption) LookupNotificationRuleResultOutput

> Note: This function is named LookupNotificationRule in the Go SDK.

public static class GetNotificationRule 
    public static Task<GetNotificationRuleResult> InvokeAsync(GetNotificationRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetNotificationRuleResult> Invoke(GetNotificationRuleInvokeArgs args, InvokeOptions? opts = null)
public static CompletableFuture<GetNotificationRuleResult> getNotificationRule(GetNotificationRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
  Function: aws-native:codestarnotifications:getNotificationRule
    # Arguments dictionary

The following arguments are supported:

Arn string
Arn string
arn String
arn string
arn str
arn String

getNotificationRule Result

The following output properties are available:

Supporting Types




Package Details