AWS Native v0.53.0, Mar 14 23
AWS Native v0.53.0, Mar 14 23
aws-native.codestarnotifications.NotificationRule
Resource Type definition for AWS::CodeStarNotifications::NotificationRule
Create NotificationRule Resource
new NotificationRule(name: string, args: NotificationRuleArgs, opts?: CustomResourceOptions);
@overload
def NotificationRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
created_by: Optional[str] = None,
detail_type: Optional[NotificationRuleDetailType] = None,
event_type_id: Optional[str] = None,
event_type_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
resource: Optional[str] = None,
status: Optional[NotificationRuleStatus] = None,
tags: Optional[Any] = None,
target_address: Optional[str] = None,
targets: Optional[Sequence[NotificationRuleTargetArgs]] = None)
@overload
def NotificationRule(resource_name: str,
args: NotificationRuleArgs,
opts: Optional[ResourceOptions] = None)
func NewNotificationRule(ctx *Context, name string, args NotificationRuleArgs, opts ...ResourceOption) (*NotificationRule, error)
public NotificationRule(string name, NotificationRuleArgs args, CustomResourceOptions? opts = null)
public NotificationRule(String name, NotificationRuleArgs args)
public NotificationRule(String name, NotificationRuleArgs args, CustomResourceOptions options)
type: aws-native:codestarnotifications:NotificationRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotificationRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NotificationRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NotificationRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotificationRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NotificationRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
NotificationRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NotificationRule resource accepts the following input properties:
- Detail
Type Pulumi.Aws Native. Code Star Notifications. Notification Rule Detail Type - Event
Type List<string>Ids - Resource string
- Targets
List<Pulumi.
Aws Native. Code Star Notifications. Inputs. Notification Rule Target Args> - Created
By string - Event
Type stringId - Name string
- Status
Pulumi.
Aws Native. Code Star Notifications. Notification Rule Status - object
- Target
Address string
- Detail
Type NotificationRule Detail Type - Event
Type []stringIds - Resource string
- Targets
[]Notification
Rule Target Args - Created
By string - Event
Type stringId - Name string
- Status
Notification
Rule Status - interface{}
- Target
Address string
- detail
Type NotificationRule Detail Type - event
Type List<String>Ids - resource String
- targets
List<Notification
Rule Target Args> - created
By String - event
Type StringId - name String
- status
Notification
Rule Status - Object
- target
Address String
- detail
Type NotificationRule Detail Type - event
Type string[]Ids - resource string
- targets
Notification
Rule Target Args[] - created
By string - event
Type stringId - name string
- status
Notification
Rule Status - any
- target
Address string
- detail
Type "BASIC" | "FULL" - event
Type List<String>Ids - resource String
- targets List<Property Map>
- created
By String - event
Type StringId - name String
- status "ENABLED" | "DISABLED"
- Any
- target
Address String
Outputs
All input properties are implicitly available as output properties. Additionally, the NotificationRule resource produces the following output properties:
Supporting Types
NotificationRuleDetailType
- Basic
- BASIC
- Full
- FULL
- Notification
Rule Detail Type Basic - BASIC
- Notification
Rule Detail Type Full - FULL
- Basic
- BASIC
- Full
- FULL
- Basic
- BASIC
- Full
- FULL
- BASIC
- BASIC
- FULL
- FULL
- "BASIC"
- BASIC
- "FULL"
- FULL
NotificationRuleStatus
- Enabled
- ENABLED
- Disabled
- DISABLED
- Notification
Rule Status Enabled - ENABLED
- Notification
Rule Status Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
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