@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)
66 lines (65 loc) • 2.45 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
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 function getBudgetsAction(args: GetBudgetsActionArgs, opts?: pulumi.InvokeOptions): Promise<GetBudgetsActionResult>;
export interface GetBudgetsActionArgs {
/**
* A system-generated universally unique identifier (UUID) for the action.
*/
actionId: string;
/**
* A string that represents the budget name. ":" and "\" characters aren't allowed.
*/
budgetName: string;
}
export interface GetBudgetsActionResult {
/**
* A system-generated universally unique identifier (UUID) for the action.
*/
readonly actionId?: string;
/**
* The trigger threshold of the action.
*/
readonly actionThreshold?: outputs.budgets.BudgetsActionActionThreshold;
/**
* This specifies if the action needs manual or automatic approval.
*/
readonly approvalModel?: enums.budgets.BudgetsActionApprovalModel;
/**
* Specifies all of the type-specific parameters.
*/
readonly definition?: outputs.budgets.BudgetsActionDefinition;
/**
* The role passed for action execution and reversion. Roles and actions must be in the same account.
*/
readonly executionRoleArn?: string;
/**
* The type of a notification.
*/
readonly notificationType?: 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?: outputs.Tag[];
/**
* A list of subscribers.
*/
readonly subscribers?: outputs.budgets.BudgetsActionSubscriber[];
}
/**
* An example resource schema demonstrating some basic constructs and validation rules.
*/
export declare function getBudgetsActionOutput(args: GetBudgetsActionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetsActionResult>;
export interface GetBudgetsActionOutputArgs {
/**
* A system-generated universally unique identifier (UUID) for the action.
*/
actionId: pulumi.Input<string>;
/**
* A string that represents the budget name. ":" and "\" characters aren't allowed.
*/
budgetName: pulumi.Input<string>;
}