@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)
49 lines (48 loc) • 1.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* An example resource schema demonstrating some basic constructs and validation rules.
*/
export declare function getGrant(args: GetGrantArgs, opts?: pulumi.InvokeOptions): Promise<GetGrantResult>;
export interface GetGrantArgs {
/**
* Arn of the grant.
*/
grantArn: string;
}
export interface GetGrantResult {
/**
* Arn of the grant.
*/
readonly grantArn?: string;
/**
* Name for the created Grant.
*/
readonly grantName?: string;
/**
* Home region for the created grant.
*/
readonly homeRegion?: string;
/**
* License Arn for the grant.
*/
readonly licenseArn?: string;
/**
* A list of tags to attach.
*/
readonly tags?: outputs.Tag[];
/**
* The version of the grant.
*/
readonly version?: string;
}
/**
* An example resource schema demonstrating some basic constructs and validation rules.
*/
export declare function getGrantOutput(args: GetGrantOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGrantResult>;
export interface GetGrantOutputArgs {
/**
* Arn of the grant.
*/
grantArn: pulumi.Input<string>;
}