AWS Native is in preview. AWS Classic is fully supported.
aws-native.devopsguru.NotificationChannel
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
This resource schema represents the NotificationChannel resource in the Amazon DevOps Guru.
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNotificationChannel = new AwsNative.DevOpsGuru.NotificationChannel("myNotificationChannel", new()
{
Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelConfigArgs
{
Filters = new AwsNative.DevOpsGuru.Inputs.NotificationChannelNotificationFilterConfigArgs
{
MessageTypes = new[]
{
AwsNative.DevOpsGuru.NotificationChannelNotificationMessageType.NewInsight,
AwsNative.DevOpsGuru.NotificationChannelNotificationMessageType.ClosedInsight,
AwsNative.DevOpsGuru.NotificationChannelNotificationMessageType.SeverityUpgraded,
},
Severities = new[]
{
AwsNative.DevOpsGuru.NotificationChannelInsightSeverity.Medium,
AwsNative.DevOpsGuru.NotificationChannelInsightSeverity.High,
},
},
Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs
{
TopicArn = "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devopsguru.NewNotificationChannel(ctx, "myNotificationChannel", &devopsguru.NotificationChannelArgs{
Config: interface{}{
Filters: &devopsguru.NotificationChannelNotificationFilterConfigArgs{
MessageTypes: devopsguru.NotificationChannelNotificationMessageTypeArray{
devopsguru.NotificationChannelNotificationMessageTypeNewInsight,
devopsguru.NotificationChannelNotificationMessageTypeClosedInsight,
devopsguru.NotificationChannelNotificationMessageTypeSeverityUpgraded,
},
Severities: devopsguru.NotificationChannelInsightSeverityArray{
devopsguru.NotificationChannelInsightSeverityMedium,
devopsguru.NotificationChannelInsightSeverityHigh,
},
},
Sns: &devopsguru.NotificationChannelSnsChannelConfigArgs{
TopicArn: pulumi.String("arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_notification_channel = aws_native.devopsguru.NotificationChannel("myNotificationChannel", config=aws_native.devopsguru.NotificationChannelConfigArgs(
filters=aws_native.devopsguru.NotificationChannelNotificationFilterConfigArgs(
message_types=[
aws_native.devopsguru.NotificationChannelNotificationMessageType.NEW_INSIGHT,
aws_native.devopsguru.NotificationChannelNotificationMessageType.CLOSED_INSIGHT,
aws_native.devopsguru.NotificationChannelNotificationMessageType.SEVERITY_UPGRADED,
],
severities=[
aws_native.devopsguru.NotificationChannelInsightSeverity.MEDIUM,
aws_native.devopsguru.NotificationChannelInsightSeverity.HIGH,
],
),
sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(
topic_arn="arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNotificationChannel = new aws_native.devopsguru.NotificationChannel("myNotificationChannel", {config: {
filters: {
messageTypes: [
aws_native.devopsguru.NotificationChannelNotificationMessageType.NewInsight,
aws_native.devopsguru.NotificationChannelNotificationMessageType.ClosedInsight,
aws_native.devopsguru.NotificationChannelNotificationMessageType.SeverityUpgraded,
],
severities: [
aws_native.devopsguru.NotificationChannelInsightSeverity.Medium,
aws_native.devopsguru.NotificationChannelInsightSeverity.High,
],
},
sns: {
topicArn: "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
},
}});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNotificationChannel1 = new AwsNative.DevOpsGuru.NotificationChannel("myNotificationChannel1", new()
{
Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelConfigArgs
{
Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs
{
TopicArn = "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
},
},
});
var myNotificationChannel2 = new AwsNative.DevOpsGuru.NotificationChannel("myNotificationChannel2", new()
{
Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelConfigArgs
{
Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs
{
TopicArn = "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devopsguru.NewNotificationChannel(ctx, "myNotificationChannel1", &devopsguru.NotificationChannelArgs{
Config: interface{}{
Sns: &devopsguru.NotificationChannelSnsChannelConfigArgs{
TopicArn: pulumi.String("arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel"),
},
},
})
if err != nil {
return err
}
_, err = devopsguru.NewNotificationChannel(ctx, "myNotificationChannel2", &devopsguru.NotificationChannelArgs{
Config: interface{}{
Sns: &devopsguru.NotificationChannelSnsChannelConfigArgs{
TopicArn: pulumi.String("arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_notification_channel1 = aws_native.devopsguru.NotificationChannel("myNotificationChannel1", config=aws_native.devopsguru.NotificationChannelConfigArgs(
sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(
topic_arn="arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
),
))
my_notification_channel2 = aws_native.devopsguru.NotificationChannel("myNotificationChannel2", config=aws_native.devopsguru.NotificationChannelConfigArgs(
sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(
topic_arn="arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2",
),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNotificationChannel1 = new aws_native.devopsguru.NotificationChannel("myNotificationChannel1", {config: {
sns: {
topicArn: "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
},
}});
const myNotificationChannel2 = new aws_native.devopsguru.NotificationChannel("myNotificationChannel2", {config: {
sns: {
topicArn: "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2",
},
}});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNotificationChannel1 = new AwsNative.DevOpsGuru.NotificationChannel("myNotificationChannel1", new()
{
Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelConfigArgs
{
Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs
{
TopicArn = "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
},
},
});
var myNotificationChannel2 = new AwsNative.DevOpsGuru.NotificationChannel("myNotificationChannel2", new()
{
Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelConfigArgs
{
Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs
{
TopicArn = "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devopsguru.NewNotificationChannel(ctx, "myNotificationChannel1", &devopsguru.NotificationChannelArgs{
Config: interface{}{
Sns: &devopsguru.NotificationChannelSnsChannelConfigArgs{
TopicArn: pulumi.String("arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel"),
},
},
})
if err != nil {
return err
}
_, err = devopsguru.NewNotificationChannel(ctx, "myNotificationChannel2", &devopsguru.NotificationChannelArgs{
Config: interface{}{
Sns: &devopsguru.NotificationChannelSnsChannelConfigArgs{
TopicArn: pulumi.String("arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_notification_channel1 = aws_native.devopsguru.NotificationChannel("myNotificationChannel1", config=aws_native.devopsguru.NotificationChannelConfigArgs(
sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(
topic_arn="arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
),
))
my_notification_channel2 = aws_native.devopsguru.NotificationChannel("myNotificationChannel2", config=aws_native.devopsguru.NotificationChannelConfigArgs(
sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(
topic_arn="arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2",
),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNotificationChannel1 = new aws_native.devopsguru.NotificationChannel("myNotificationChannel1", {config: {
sns: {
topicArn: "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel",
},
}});
const myNotificationChannel2 = new aws_native.devopsguru.NotificationChannel("myNotificationChannel2", {config: {
sns: {
topicArn: "arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2",
},
}});
Coming soon!
Create NotificationChannel Resource
new NotificationChannel(name: string, args: NotificationChannelArgs, opts?: CustomResourceOptions);
@overload
def NotificationChannel(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[NotificationChannelConfigArgs] = None)
@overload
def NotificationChannel(resource_name: str,
args: NotificationChannelArgs,
opts: Optional[ResourceOptions] = None)
func NewNotificationChannel(ctx *Context, name string, args NotificationChannelArgs, opts ...ResourceOption) (*NotificationChannel, error)
public NotificationChannel(string name, NotificationChannelArgs args, CustomResourceOptions? opts = null)
public NotificationChannel(String name, NotificationChannelArgs args)
public NotificationChannel(String name, NotificationChannelArgs args, CustomResourceOptions options)
type: aws-native:devopsguru:NotificationChannel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotificationChannelArgs
- 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 NotificationChannelArgs
- 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 NotificationChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotificationChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NotificationChannelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
NotificationChannel 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 NotificationChannel resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the NotificationChannel 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.
Supporting Types
NotificationChannelConfig, NotificationChannelConfigArgs
NotificationChannelInsightSeverity, NotificationChannelInsightSeverityArgs
- Low
- LOW
- Medium
- MEDIUM
- High
- HIGH
- Notification
Channel Insight Severity Low - LOW
- Notification
Channel Insight Severity Medium - MEDIUM
- Notification
Channel Insight Severity High - HIGH
- Low
- LOW
- Medium
- MEDIUM
- High
- HIGH
- Low
- LOW
- Medium
- MEDIUM
- High
- HIGH
- LOW
- LOW
- MEDIUM
- MEDIUM
- HIGH
- HIGH
- "LOW"
- LOW
- "MEDIUM"
- MEDIUM
- "HIGH"
- HIGH
NotificationChannelNotificationFilterConfig, NotificationChannelNotificationFilterConfigArgs
NotificationChannelNotificationMessageType, NotificationChannelNotificationMessageTypeArgs
- New
Insight - NEW_INSIGHT
- Closed
Insight - CLOSED_INSIGHT
- New
Association - NEW_ASSOCIATION
- Severity
Upgraded - SEVERITY_UPGRADED
- New
Recommendation - NEW_RECOMMENDATION
- Notification
Channel Notification Message Type New Insight - NEW_INSIGHT
- Notification
Channel Notification Message Type Closed Insight - CLOSED_INSIGHT
- Notification
Channel Notification Message Type New Association - NEW_ASSOCIATION
- Notification
Channel Notification Message Type Severity Upgraded - SEVERITY_UPGRADED
- Notification
Channel Notification Message Type New Recommendation - NEW_RECOMMENDATION
- New
Insight - NEW_INSIGHT
- Closed
Insight - CLOSED_INSIGHT
- New
Association - NEW_ASSOCIATION
- Severity
Upgraded - SEVERITY_UPGRADED
- New
Recommendation - NEW_RECOMMENDATION
- New
Insight - NEW_INSIGHT
- Closed
Insight - CLOSED_INSIGHT
- New
Association - NEW_ASSOCIATION
- Severity
Upgraded - SEVERITY_UPGRADED
- New
Recommendation - NEW_RECOMMENDATION
- NEW_INSIGHT
- NEW_INSIGHT
- CLOSED_INSIGHT
- CLOSED_INSIGHT
- NEW_ASSOCIATION
- NEW_ASSOCIATION
- SEVERITY_UPGRADED
- SEVERITY_UPGRADED
- NEW_RECOMMENDATION
- NEW_RECOMMENDATION
- "NEW_INSIGHT"
- NEW_INSIGHT
- "CLOSED_INSIGHT"
- CLOSED_INSIGHT
- "NEW_ASSOCIATION"
- NEW_ASSOCIATION
- "SEVERITY_UPGRADED"
- SEVERITY_UPGRADED
- "NEW_RECOMMENDATION"
- NEW_RECOMMENDATION
NotificationChannelSnsChannelConfig, NotificationChannelSnsChannelConfigArgs
- Topic
Arn string
- Topic
Arn string
- topic
Arn String
- topic
Arn string
- topic_
arn str
- topic
Arn String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.