AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi
aws-native.codestarnotifications.getNotificationRule
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 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
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 Pulumi.Aws Native. Code Star Notifications. Notification Rule Detail Type - Event
Type List<string>Ids - Name string
- Status
Pulumi.
Aws Native. Code Star Notifications. Notification Rule Status - Dictionary<string, string>
- Targets
List<Pulumi.
Aws Native. Code Star Notifications. Outputs. Notification Rule Target>
- Arn string
- Created
By string - Detail
Type NotificationRule Detail Type - Event
Type []stringIds - Name string
- Status
Notification
Rule Status - map[string]string
- 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 - Map<String,String>
- 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 - {[key: string]: string}
- targets
Notification
Rule Target[]
- arn str
- created_
by str - detail_
type NotificationRule Detail Type - event_
type_ Sequence[str]ids - name str
- status
Notification
Rule Status - Mapping[str, str]
- targets
Sequence[Notification
Rule Target]
- arn String
- created
By String - detail
Type "BASIC" | "FULL" - event
Type List<String>Ids - name String
- status "ENABLED" | "DISABLED"
- Map<String>
- 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
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi