@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
97 lines (96 loc) • 3.3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::Connect::Notification
*/
export declare class Notification extends pulumi.CustomResource {
/**
* Get an existing Notification 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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Notification;
/**
* Returns true if the given object is an instance of Notification. 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 Notification;
/**
* The Amazon Resource Name (ARN) for the notification.
*/
readonly arn: pulumi.Output<string>;
/**
* The identifier of the notification.
*/
readonly awsId: pulumi.Output<string>;
/**
* The content of the notification.
*/
readonly content: pulumi.Output<outputs.connect.NotificationContent>;
/**
* The time a notification was created
*/
readonly createdAt: pulumi.Output<string>;
/**
* The time a notification will expire
*/
readonly expiresAt: pulumi.Output<string | undefined>;
/**
* The identifier of the Amazon Connect instance.
*/
readonly instanceArn: pulumi.Output<string>;
/**
* The priority of the notification.
*/
readonly priority: pulumi.Output<enums.connect.NotificationPriority | undefined>;
/**
* The recipients of the notification.
*/
readonly recipients: pulumi.Output<string[] | undefined>;
/**
* One or more tags.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* Create a Notification 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: NotificationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Notification resource.
*/
export interface NotificationArgs {
/**
* The content of the notification.
*/
content: pulumi.Input<inputs.connect.NotificationContentArgs>;
/**
* The time a notification will expire
*/
expiresAt?: pulumi.Input<string>;
/**
* The identifier of the Amazon Connect instance.
*/
instanceArn: pulumi.Input<string>;
/**
* The priority of the notification.
*/
priority?: pulumi.Input<enums.connect.NotificationPriority>;
/**
* The recipients of the notification.
*/
recipients?: pulumi.Input<pulumi.Input<string>[]>;
/**
* One or more tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
}