@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)
68 lines (67 loc) • 2.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Definition of the AWS::QuickSight::Dashboard Resource Type.
*/
export declare function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardResult>;
export interface GetDashboardArgs {
/**
* The ID of the AWS account where you want to create the dashboard.
*/
awsAccountId: string;
/**
* The ID for the dashboard, also added to the IAM policy.
*/
dashboardId: string;
}
export interface GetDashboardResult {
/**
* <p>The Amazon Resource Name (ARN) of the resource.</p>
*/
readonly arn?: string;
/**
* <p>The time that this dashboard was created.</p>
*/
readonly createdTime?: string;
/**
* <p>The last time that this dashboard was published.</p>
*/
readonly lastPublishedTime?: string;
/**
* <p>The last time that this dashboard was updated.</p>
*/
readonly lastUpdatedTime?: string;
/**
* A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.
*/
readonly linkEntities?: string[];
/**
* The display name of the dashboard.
*/
readonly name?: string;
/**
* A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.
*
* To specify no permissions, omit the permissions list.
*/
readonly permissions?: outputs.quicksight.DashboardResourcePermission[];
/**
* Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
*/
readonly tags?: outputs.Tag[];
readonly version?: outputs.quicksight.DashboardVersion;
}
/**
* Definition of the AWS::QuickSight::Dashboard Resource Type.
*/
export declare function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDashboardResult>;
export interface GetDashboardOutputArgs {
/**
* The ID of the AWS account where you want to create the dashboard.
*/
awsAccountId: pulumi.Input<string>;
/**
* The ID for the dashboard, also added to the IAM policy.
*/
dashboardId: pulumi.Input<string>;
}