1. Packages
  2. AWS Native
  3. API Docs
  4. codestarnotifications
  5. NotificationRule

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.codestarnotifications.NotificationRule

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource Type definition for AWS::CodeStarNotifications::NotificationRule

    Create NotificationRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NotificationRule(name: string, args: NotificationRuleArgs, opts?: CustomResourceOptions);
    @overload
    def NotificationRule(resource_name: str,
                         args: NotificationRuleArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def NotificationRule(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         detail_type: Optional[NotificationRuleDetailType] = None,
                         event_type_ids: Optional[Sequence[str]] = None,
                         resource: Optional[str] = None,
                         targets: Optional[Sequence[NotificationRuleTargetArgs]] = None,
                         created_by: Optional[str] = None,
                         event_type_id: Optional[str] = None,
                         name: Optional[str] = None,
                         status: Optional[NotificationRuleStatus] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         target_address: Optional[str] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const notificationRuleResource = new aws_native.codestarnotifications.NotificationRule("notificationRuleResource", {
        detailType: aws_native.codestarnotifications.NotificationRuleDetailType.Basic,
        eventTypeIds: ["string"],
        resource: "string",
        targets: [{
            targetAddress: "string",
            targetType: "string",
        }],
        createdBy: "string",
        eventTypeId: "string",
        name: "string",
        status: aws_native.codestarnotifications.NotificationRuleStatus.Enabled,
        tags: {
            string: "string",
        },
        targetAddress: "string",
    });
    
    Coming soon!
    

    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:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NotificationRule resource produces the following output properties:

    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    NotificationRuleDetailType, NotificationRuleDetailTypeArgs

    Basic
    BASIC
    Full
    FULL
    NotificationRuleDetailTypeBasic
    BASIC
    NotificationRuleDetailTypeFull
    FULL
    Basic
    BASIC
    Full
    FULL
    Basic
    BASIC
    Full
    FULL
    BASIC
    BASIC
    FULL
    FULL
    "BASIC"
    BASIC
    "FULL"
    FULL

    NotificationRuleStatus, NotificationRuleStatusArgs

    Enabled
    ENABLED
    Disabled
    DISABLED
    NotificationRuleStatusEnabled
    ENABLED
    NotificationRuleStatusDisabled
    DISABLED
    Enabled
    ENABLED
    Disabled
    DISABLED
    Enabled
    ENABLED
    Disabled
    DISABLED
    ENABLED
    ENABLED
    DISABLED
    DISABLED
    "ENABLED"
    ENABLED
    "DISABLED"
    DISABLED

    NotificationRuleTarget, NotificationRuleTargetArgs

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi