UNPKG

@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)

113 lines (112 loc) 4.86 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * An example resource schema demonstrating some basic constructs and validation rules. */ export declare class BudgetsAction extends pulumi.CustomResource { /** * Get an existing BudgetsAction 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): BudgetsAction; /** * Returns true if the given object is an instance of BudgetsAction. 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 BudgetsAction; /** * A system-generated universally unique identifier (UUID) for the action. */ readonly actionId: pulumi.Output<string>; /** * The trigger threshold of the action. */ readonly actionThreshold: pulumi.Output<outputs.budgets.BudgetsActionActionThreshold>; /** * The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. */ readonly actionType: pulumi.Output<enums.budgets.BudgetsActionActionType>; /** * This specifies if the action needs manual or automatic approval. */ readonly approvalModel: pulumi.Output<enums.budgets.BudgetsActionApprovalModel | undefined>; /** * A string that represents the budget name. ":" and "\" characters aren't allowed. */ readonly budgetName: pulumi.Output<string>; /** * Specifies all of the type-specific parameters. */ readonly definition: pulumi.Output<outputs.budgets.BudgetsActionDefinition>; /** * The role passed for action execution and reversion. Roles and actions must be in the same account. */ readonly executionRoleArn: pulumi.Output<string>; /** * The type of a notification. */ readonly notificationType: pulumi.Output<enums.budgets.BudgetsActionNotificationType>; /** * An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource. */ readonly resourceTags: pulumi.Output<outputs.Tag[] | undefined>; /** * A list of subscribers. */ readonly subscribers: pulumi.Output<outputs.budgets.BudgetsActionSubscriber[]>; /** * Create a BudgetsAction 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: BudgetsActionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a BudgetsAction resource. */ export interface BudgetsActionArgs { /** * The trigger threshold of the action. */ actionThreshold: pulumi.Input<inputs.budgets.BudgetsActionActionThresholdArgs>; /** * The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. */ actionType: pulumi.Input<enums.budgets.BudgetsActionActionType>; /** * This specifies if the action needs manual or automatic approval. */ approvalModel?: pulumi.Input<enums.budgets.BudgetsActionApprovalModel>; /** * A string that represents the budget name. ":" and "\" characters aren't allowed. */ budgetName: pulumi.Input<string>; /** * Specifies all of the type-specific parameters. */ definition: pulumi.Input<inputs.budgets.BudgetsActionDefinitionArgs>; /** * The role passed for action execution and reversion. Roles and actions must be in the same account. */ executionRoleArn: pulumi.Input<string>; /** * The type of a notification. */ notificationType: pulumi.Input<enums.budgets.BudgetsActionNotificationType>; /** * An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource. */ resourceTags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; /** * A list of subscribers. */ subscribers: pulumi.Input<pulumi.Input<inputs.budgets.BudgetsActionSubscriberArgs>[]>; }