AWS Native v0.53.0, Mar 14 23
AWS Native v0.53.0, Mar 14 23
aws-native.codestarnotifications.getNotificationRule
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
fn::invoke:
function: aws-native:codestarnotifications:getNotificationRule
arguments:
# 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:
- Arn string
- Created
By string - Detail
Type NotificationRule Detail Type - Event
Type []stringIds - Name string
- Status
Notification
Rule Status - interface{}
- Targets
[]Notification
Rule Target
- arn String
- created
By String - detail
Type NotificationRule Detail Type - event
Type List<String>Ids - name String
- status
Notification
Rule Status - Object
- targets
List<Notification
Rule Target>
- arn string
- created
By string - detail
Type NotificationRule Detail Type - event
Type string[]Ids - name string
- status
Notification
Rule Status - any
- targets
Notification
Rule Target[]
- arn String
- created
By String - detail
Type "BASIC" | "FULL" - event
Type List<String>Ids - name String
- status "ENABLED" | "DISABLED"
- Any
- targets List<Property Map>
Supporting Types
NotificationRuleDetailType
NotificationRuleStatus
NotificationRuleTarget
- Target
Address string - Target
Type string
- Target
Address string - Target
Type string
- target
Address String - target
Type String
- target
Address string - target
Type string
- target_
address str - target_
type str
- target
Address String - target
Type String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0