import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing an AWS User Notifications Managed Notification Account Contact Association. This resource associates an account contact with a managed notification configuration. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.notifications.ManagedNotificationAccountContactAssociation("example", { * contactIdentifier: "ACCOUNT_PRIMARY", * managedNotificationConfigurationArn: "arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security", * }); * ``` * * ## Import * * Using `pulumi import`, import User Notifications Managed Notification Account Contact Association using the `managed_notification_configuration_arn,contact_identifier` format. For example: * * ```sh * $ pulumi import aws:notifications/managedNotificationAccountContactAssociation:ManagedNotificationAccountContactAssociation example arn:aws:notifications::123456789012:managed-notification-configuration/category/AWS-Health/sub-category/Security,ACCOUNT_PRIMARY * ``` */ export declare class ManagedNotificationAccountContactAssociation extends pulumi.CustomResource { /** * Get an existing ManagedNotificationAccountContactAssociation 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?: ManagedNotificationAccountContactAssociationState, opts?: pulumi.CustomResourceOptions): ManagedNotificationAccountContactAssociation; /** * Returns true if the given object is an instance of ManagedNotificationAccountContactAssociation. 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 ManagedNotificationAccountContactAssociation; /** * A unique value of an Account Contact Type to associate with the ManagedNotificationConfiguration. Valid values: `ACCOUNT_PRIMARY`, `ACCOUNT_ALTERNATE_BILLING`, `ACCOUNT_ALTERNATE_OPERATIONS`, `ACCOUNT_ALTERNATE_SECURITY`. */ readonly contactIdentifier: pulumi.Output; /** * ARN of the managed notification configuration to associate the account contact with. */ readonly managedNotificationConfigurationArn: pulumi.Output; /** * Create a ManagedNotificationAccountContactAssociation 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: ManagedNotificationAccountContactAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedNotificationAccountContactAssociation resources. */ export interface ManagedNotificationAccountContactAssociationState { /** * A unique value of an Account Contact Type to associate with the ManagedNotificationConfiguration. Valid values: `ACCOUNT_PRIMARY`, `ACCOUNT_ALTERNATE_BILLING`, `ACCOUNT_ALTERNATE_OPERATIONS`, `ACCOUNT_ALTERNATE_SECURITY`. */ contactIdentifier?: pulumi.Input; /** * ARN of the managed notification configuration to associate the account contact with. */ managedNotificationConfigurationArn?: pulumi.Input; } /** * The set of arguments for constructing a ManagedNotificationAccountContactAssociation resource. */ export interface ManagedNotificationAccountContactAssociationArgs { /** * A unique value of an Account Contact Type to associate with the ManagedNotificationConfiguration. Valid values: `ACCOUNT_PRIMARY`, `ACCOUNT_ALTERNATE_BILLING`, `ACCOUNT_ALTERNATE_OPERATIONS`, `ACCOUNT_ALTERNATE_SECURITY`. */ contactIdentifier: pulumi.Input; /** * ARN of the managed notification configuration to associate the account contact with. */ managedNotificationConfigurationArn: pulumi.Input; } //# sourceMappingURL=managedNotificationAccountContactAssociation.d.ts.map