1. Packages
  2. Aquasec
  3. API Docs
  4. NotificationSlack
Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse

aquasec.NotificationSlack

Explore with Pulumi AI

aquasec logo
Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse

    Provides an Aquasec Notification Slack resource

    Note about resource deprecation Resource aquasec.NotificationSlack is deprecated, please use aquasec.Notification instead

    Create NotificationSlack Resource

    new NotificationSlack(name: string, args: NotificationSlackArgs, opts?: CustomResourceOptions);
    @overload
    def NotificationSlack(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          channel: Optional[str] = None,
                          enabled: Optional[bool] = None,
                          icon: Optional[str] = None,
                          main_text: Optional[str] = None,
                          name: Optional[str] = None,
                          service_key: Optional[str] = None,
                          type: Optional[str] = None,
                          user_name: Optional[str] = None,
                          webhook_url: Optional[str] = None)
    @overload
    def NotificationSlack(resource_name: str,
                          args: NotificationSlackArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewNotificationSlack(ctx *Context, name string, args NotificationSlackArgs, opts ...ResourceOption) (*NotificationSlack, error)
    public NotificationSlack(string name, NotificationSlackArgs args, CustomResourceOptions? opts = null)
    public NotificationSlack(String name, NotificationSlackArgs args)
    public NotificationSlack(String name, NotificationSlackArgs args, CustomResourceOptions options)
    
    type: aquasec:NotificationSlack
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args NotificationSlackArgs
    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 NotificationSlackArgs
    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 NotificationSlackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NotificationSlackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NotificationSlackArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    NotificationSlack 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 NotificationSlack resource accepts the following input properties:

    Channel string
    Enabled bool
    Type string
    UserName string
    WebhookUrl string
    Icon string
    MainText string
    Name string
    ServiceKey string
    Channel string
    Enabled bool
    Type string
    UserName string
    WebhookUrl string
    Icon string
    MainText string
    Name string
    ServiceKey string
    channel String
    enabled Boolean
    type String
    userName String
    webhookUrl String
    icon String
    mainText String
    name String
    serviceKey String
    channel string
    enabled boolean
    type string
    userName string
    webhookUrl string
    icon string
    mainText string
    name string
    serviceKey string
    channel String
    enabled Boolean
    type String
    userName String
    webhookUrl String
    icon String
    mainText String
    name String
    serviceKey String

    Outputs

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

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

    Look up Existing NotificationSlack Resource

    Get an existing NotificationSlack resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NotificationSlackState, opts?: CustomResourceOptions): NotificationSlack
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            channel: Optional[str] = None,
            enabled: Optional[bool] = None,
            icon: Optional[str] = None,
            main_text: Optional[str] = None,
            name: Optional[str] = None,
            service_key: Optional[str] = None,
            type: Optional[str] = None,
            user_name: Optional[str] = None,
            webhook_url: Optional[str] = None) -> NotificationSlack
    func GetNotificationSlack(ctx *Context, name string, id IDInput, state *NotificationSlackState, opts ...ResourceOption) (*NotificationSlack, error)
    public static NotificationSlack Get(string name, Input<string> id, NotificationSlackState? state, CustomResourceOptions? opts = null)
    public static NotificationSlack get(String name, Output<String> id, NotificationSlackState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Channel string
    Enabled bool
    Icon string
    MainText string
    Name string
    ServiceKey string
    Type string
    UserName string
    WebhookUrl string
    Channel string
    Enabled bool
    Icon string
    MainText string
    Name string
    ServiceKey string
    Type string
    UserName string
    WebhookUrl string
    channel String
    enabled Boolean
    icon String
    mainText String
    name String
    serviceKey String
    type String
    userName String
    webhookUrl String
    channel string
    enabled boolean
    icon string
    mainText string
    name string
    serviceKey string
    type string
    userName string
    webhookUrl string
    channel String
    enabled Boolean
    icon String
    mainText String
    name String
    serviceKey String
    type String
    userName String
    webhookUrl String

    Package Details

    Repository
    aquasec pulumiverse/pulumi-aquasec
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aquasec Terraform Provider.
    aquasec logo
    Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse