import * as pulumi from "@pulumi/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 * * ```typescript * 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 * * Using `pulumi import`, import User Notifications Managed Notification Additional Channel Association using the `managed_notification_arn,channel_arn` format. For example: * * ```sh * $ 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 * ``` */ export declare class ManagedNotificationAdditionalChannelAssociation extends pulumi.CustomResource { /** * Get an existing ManagedNotificationAdditionalChannelAssociation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ManagedNotificationAdditionalChannelAssociationState, opts?: pulumi.CustomResourceOptions): ManagedNotificationAdditionalChannelAssociation; /** * Returns true if the given object is an instance of ManagedNotificationAdditionalChannelAssociation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ManagedNotificationAdditionalChannelAssociation; /** * ARN of the channel to associate with the managed notification. */ readonly channelArn: pulumi.Output; /** * ARN of the managed notification to associate the channel with. */ readonly managedNotificationArn: pulumi.Output; /** * Create a ManagedNotificationAdditionalChannelAssociation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ManagedNotificationAdditionalChannelAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedNotificationAdditionalChannelAssociation resources. */ export interface ManagedNotificationAdditionalChannelAssociationState { /** * ARN of the channel to associate with the managed notification. */ channelArn?: pulumi.Input; /** * ARN of the managed notification to associate the channel with. */ managedNotificationArn?: pulumi.Input; } /** * The set of arguments for constructing a ManagedNotificationAdditionalChannelAssociation resource. */ export interface ManagedNotificationAdditionalChannelAssociationArgs { /** * ARN of the channel to associate with the managed notification. */ channelArn: pulumi.Input; /** * ARN of the managed notification to associate the channel with. */ managedNotificationArn: pulumi.Input; } //# sourceMappingURL=managedNotificationAdditionalChannelAssociation.d.ts.map