1. Packages
  2. AWS
  3. API Docs
  4. notifications
  5. ManagedNotificationAdditionalChannelAssociation
AWS v7.19.0 published on Friday, Feb 6, 2026 by Pulumi
aws logo
AWS v7.19.0 published on Friday, Feb 6, 2026 by Pulumi

    Resource for managing an AWS User Notifications Managed Notification Additional Channel Association. This resource associates a channel (such as an email contact, mobile device, or chat channel) with a managed notification.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.notifications.ContactsEmailContact("example", {
        name: "example-contact",
        emailAddress: "example@example.com",
    });
    const exampleManagedNotificationAdditionalChannelAssociation = new aws.notifications.ManagedNotificationAdditionalChannelAssociation("example", {
        channelArn: example.arn,
        managedNotificationArn: "arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.notifications.ContactsEmailContact("example",
        name="example-contact",
        email_address="example@example.com")
    example_managed_notification_additional_channel_association = aws.notifications.ManagedNotificationAdditionalChannelAssociation("example",
        channel_arn=example.arn,
        managed_notification_arn="arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/notifications"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := notifications.NewContactsEmailContact(ctx, "example", &notifications.ContactsEmailContactArgs{
    			Name:         pulumi.String("example-contact"),
    			EmailAddress: pulumi.String("example@example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = notifications.NewManagedNotificationAdditionalChannelAssociation(ctx, "example", &notifications.ManagedNotificationAdditionalChannelAssociationArgs{
    			ChannelArn:             example.Arn,
    			ManagedNotificationArn: pulumi.String("arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Notifications.ContactsEmailContact("example", new()
        {
            Name = "example-contact",
            EmailAddress = "example@example.com",
        });
    
        var exampleManagedNotificationAdditionalChannelAssociation = new Aws.Notifications.ManagedNotificationAdditionalChannelAssociation("example", new()
        {
            ChannelArn = example.Arn,
            ManagedNotificationArn = "arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.notifications.ContactsEmailContact;
    import com.pulumi.aws.notifications.ContactsEmailContactArgs;
    import com.pulumi.aws.notifications.ManagedNotificationAdditionalChannelAssociation;
    import com.pulumi.aws.notifications.ManagedNotificationAdditionalChannelAssociationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ContactsEmailContact("example", ContactsEmailContactArgs.builder()
                .name("example-contact")
                .emailAddress("example@example.com")
                .build());
    
            var exampleManagedNotificationAdditionalChannelAssociation = new ManagedNotificationAdditionalChannelAssociation("exampleManagedNotificationAdditionalChannelAssociation", ManagedNotificationAdditionalChannelAssociationArgs.builder()
                .channelArn(example.arn())
                .managedNotificationArn("arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:notifications:ContactsEmailContact
        properties:
          name: example-contact
          emailAddress: example@example.com
      exampleManagedNotificationAdditionalChannelAssociation:
        type: aws:notifications:ManagedNotificationAdditionalChannelAssociation
        name: example
        properties:
          channelArn: ${example.arn}
          managedNotificationArn: arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security
    

    Create ManagedNotificationAdditionalChannelAssociation Resource

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

    Constructor syntax

    new ManagedNotificationAdditionalChannelAssociation(name: string, args: ManagedNotificationAdditionalChannelAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedNotificationAdditionalChannelAssociation(resource_name: str,
                                                        args: ManagedNotificationAdditionalChannelAssociationArgs,
                                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedNotificationAdditionalChannelAssociation(resource_name: str,
                                                        opts: Optional[ResourceOptions] = None,
                                                        channel_arn: Optional[str] = None,
                                                        managed_notification_arn: Optional[str] = None)
    func NewManagedNotificationAdditionalChannelAssociation(ctx *Context, name string, args ManagedNotificationAdditionalChannelAssociationArgs, opts ...ResourceOption) (*ManagedNotificationAdditionalChannelAssociation, error)
    public ManagedNotificationAdditionalChannelAssociation(string name, ManagedNotificationAdditionalChannelAssociationArgs args, CustomResourceOptions? opts = null)
    public ManagedNotificationAdditionalChannelAssociation(String name, ManagedNotificationAdditionalChannelAssociationArgs args)
    public ManagedNotificationAdditionalChannelAssociation(String name, ManagedNotificationAdditionalChannelAssociationArgs args, CustomResourceOptions options)
    
    type: aws:notifications:ManagedNotificationAdditionalChannelAssociation
    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 ManagedNotificationAdditionalChannelAssociationArgs
    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 ManagedNotificationAdditionalChannelAssociationArgs
    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 ManagedNotificationAdditionalChannelAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedNotificationAdditionalChannelAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedNotificationAdditionalChannelAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var managedNotificationAdditionalChannelAssociationResource = new Aws.Notifications.ManagedNotificationAdditionalChannelAssociation("managedNotificationAdditionalChannelAssociationResource", new()
    {
        ChannelArn = "string",
        ManagedNotificationArn = "string",
    });
    
    example, err := notifications.NewManagedNotificationAdditionalChannelAssociation(ctx, "managedNotificationAdditionalChannelAssociationResource", &notifications.ManagedNotificationAdditionalChannelAssociationArgs{
    	ChannelArn:             pulumi.String("string"),
    	ManagedNotificationArn: pulumi.String("string"),
    })
    
    var managedNotificationAdditionalChannelAssociationResource = new ManagedNotificationAdditionalChannelAssociation("managedNotificationAdditionalChannelAssociationResource", ManagedNotificationAdditionalChannelAssociationArgs.builder()
        .channelArn("string")
        .managedNotificationArn("string")
        .build());
    
    managed_notification_additional_channel_association_resource = aws.notifications.ManagedNotificationAdditionalChannelAssociation("managedNotificationAdditionalChannelAssociationResource",
        channel_arn="string",
        managed_notification_arn="string")
    
    const managedNotificationAdditionalChannelAssociationResource = new aws.notifications.ManagedNotificationAdditionalChannelAssociation("managedNotificationAdditionalChannelAssociationResource", {
        channelArn: "string",
        managedNotificationArn: "string",
    });
    
    type: aws:notifications:ManagedNotificationAdditionalChannelAssociation
    properties:
        channelArn: string
        managedNotificationArn: string
    

    ManagedNotificationAdditionalChannelAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ManagedNotificationAdditionalChannelAssociation resource accepts the following input properties:

    ChannelArn string
    ARN of the channel to associate with the managed notification.
    ManagedNotificationArn string
    ARN of the managed notification to associate the channel with.
    ChannelArn string
    ARN of the channel to associate with the managed notification.
    ManagedNotificationArn string
    ARN of the managed notification to associate the channel with.
    channelArn String
    ARN of the channel to associate with the managed notification.
    managedNotificationArn String
    ARN of the managed notification to associate the channel with.
    channelArn string
    ARN of the channel to associate with the managed notification.
    managedNotificationArn string
    ARN of the managed notification to associate the channel with.
    channel_arn str
    ARN of the channel to associate with the managed notification.
    managed_notification_arn str
    ARN of the managed notification to associate the channel with.
    channelArn String
    ARN of the channel to associate with the managed notification.
    managedNotificationArn String
    ARN of the managed notification to associate the channel with.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagedNotificationAdditionalChannelAssociation 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 ManagedNotificationAdditionalChannelAssociation Resource

    Get an existing ManagedNotificationAdditionalChannelAssociation 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?: ManagedNotificationAdditionalChannelAssociationState, opts?: CustomResourceOptions): ManagedNotificationAdditionalChannelAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            channel_arn: Optional[str] = None,
            managed_notification_arn: Optional[str] = None) -> ManagedNotificationAdditionalChannelAssociation
    func GetManagedNotificationAdditionalChannelAssociation(ctx *Context, name string, id IDInput, state *ManagedNotificationAdditionalChannelAssociationState, opts ...ResourceOption) (*ManagedNotificationAdditionalChannelAssociation, error)
    public static ManagedNotificationAdditionalChannelAssociation Get(string name, Input<string> id, ManagedNotificationAdditionalChannelAssociationState? state, CustomResourceOptions? opts = null)
    public static ManagedNotificationAdditionalChannelAssociation get(String name, Output<String> id, ManagedNotificationAdditionalChannelAssociationState state, CustomResourceOptions options)
    resources:  _:    type: aws:notifications:ManagedNotificationAdditionalChannelAssociation    get:      id: ${id}
    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:
    ChannelArn string
    ARN of the channel to associate with the managed notification.
    ManagedNotificationArn string
    ARN of the managed notification to associate the channel with.
    ChannelArn string
    ARN of the channel to associate with the managed notification.
    ManagedNotificationArn string
    ARN of the managed notification to associate the channel with.
    channelArn String
    ARN of the channel to associate with the managed notification.
    managedNotificationArn String
    ARN of the managed notification to associate the channel with.
    channelArn string
    ARN of the channel to associate with the managed notification.
    managedNotificationArn string
    ARN of the managed notification to associate the channel with.
    channel_arn str
    ARN of the channel to associate with the managed notification.
    managed_notification_arn str
    ARN of the managed notification to associate the channel with.
    channelArn String
    ARN of the channel to associate with the managed notification.
    managedNotificationArn String
    ARN of the managed notification to associate the channel with.

    Import

    Using pulumi import, import User Notifications Managed Notification Additional Channel Association using the managed_notification_arn,channel_arn format. For example:

    $ pulumi import aws:notifications/managedNotificationAdditionalChannelAssociation:ManagedNotificationAdditionalChannelAssociation example arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security,arn:aws:notificationscontacts:us-west-2:123456789012:emailcontact:example-contact
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.19.0 published on Friday, Feb 6, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate