We recommend new projects start with resources from the AWS provider.
aws-native.cloudtrail.getDashboard
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The Amazon CloudTrail dashboard resource allows customers to manage managed dashboards and create custom dashboards. You can manually refresh custom and managed dashboards. For custom dashboards, you can also set up an automatic refresh schedule and modify dashboard widgets.
Using getDashboard
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDashboard(args: GetDashboardArgs, opts?: InvokeOptions): Promise<GetDashboardResult>
function getDashboardOutput(args: GetDashboardOutputArgs, opts?: InvokeOptions): Output<GetDashboardResult>def get_dashboard(dashboard_arn: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetDashboardResult
def get_dashboard_output(dashboard_arn: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetDashboardResult]func LookupDashboard(ctx *Context, args *LookupDashboardArgs, opts ...InvokeOption) (*LookupDashboardResult, error)
func LookupDashboardOutput(ctx *Context, args *LookupDashboardOutputArgs, opts ...InvokeOption) LookupDashboardResultOutput> Note: This function is named LookupDashboard in the Go SDK.
public static class GetDashboard 
{
    public static Task<GetDashboardResult> InvokeAsync(GetDashboardArgs args, InvokeOptions? opts = null)
    public static Output<GetDashboardResult> Invoke(GetDashboardInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDashboardResult> getDashboard(GetDashboardArgs args, InvokeOptions options)
public static Output<GetDashboardResult> getDashboard(GetDashboardArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cloudtrail:getDashboard
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DashboardArn string
- The ARN of the dashboard.
- DashboardArn string
- The ARN of the dashboard.
- dashboardArn String
- The ARN of the dashboard.
- dashboardArn string
- The ARN of the dashboard.
- dashboard_arn str
- The ARN of the dashboard.
- dashboardArn String
- The ARN of the dashboard.
getDashboard Result
The following output properties are available:
- CreatedTimestamp string
- The timestamp of the dashboard creation.
- DashboardArn string
- The ARN of the dashboard.
- Name string
- The name of the dashboard.
- RefreshSchedule Pulumi.Aws Native. Cloud Trail. Outputs. Dashboard Refresh Schedule 
- Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
- Status
Pulumi.Aws Native. Cloud Trail. Dashboard Status 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- A list of tags.
- TerminationProtection boolEnabled 
- Indicates whether the dashboard is protected from termination.
- Type
Pulumi.Aws Native. Cloud Trail. Dashboard Type 
- The type of the dashboard. Values are CUSTOM and MANAGED.
- UpdatedTimestamp string
- The timestamp showing when the dashboard was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
- Widgets
List<Pulumi.Aws Native. Cloud Trail. Outputs. Dashboard Widget> 
- List of widgets on the dashboard
- CreatedTimestamp string
- The timestamp of the dashboard creation.
- DashboardArn string
- The ARN of the dashboard.
- Name string
- The name of the dashboard.
- RefreshSchedule DashboardRefresh Schedule 
- Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
- Status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- Tag
- A list of tags.
- TerminationProtection boolEnabled 
- Indicates whether the dashboard is protected from termination.
- Type
DashboardType 
- The type of the dashboard. Values are CUSTOM and MANAGED.
- UpdatedTimestamp string
- The timestamp showing when the dashboard was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
- Widgets
[]DashboardWidget 
- List of widgets on the dashboard
- createdTimestamp String
- The timestamp of the dashboard creation.
- dashboardArn String
- The ARN of the dashboard.
- name String
- The name of the dashboard.
- refreshSchedule DashboardRefresh Schedule 
- Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
- status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- List<Tag>
- A list of tags.
- terminationProtection BooleanEnabled 
- Indicates whether the dashboard is protected from termination.
- type
DashboardType 
- The type of the dashboard. Values are CUSTOM and MANAGED.
- updatedTimestamp String
- The timestamp showing when the dashboard was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
- widgets
List<DashboardWidget> 
- List of widgets on the dashboard
- createdTimestamp string
- The timestamp of the dashboard creation.
- dashboardArn string
- The ARN of the dashboard.
- name string
- The name of the dashboard.
- refreshSchedule DashboardRefresh Schedule 
- Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
- status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- Tag[]
- A list of tags.
- terminationProtection booleanEnabled 
- Indicates whether the dashboard is protected from termination.
- type
DashboardType 
- The type of the dashboard. Values are CUSTOM and MANAGED.
- updatedTimestamp string
- The timestamp showing when the dashboard was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
- widgets
DashboardWidget[] 
- List of widgets on the dashboard
- created_timestamp str
- The timestamp of the dashboard creation.
- dashboard_arn str
- The ARN of the dashboard.
- name str
- The name of the dashboard.
- refresh_schedule DashboardRefresh Schedule 
- Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
- status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- Sequence[root_Tag]
- A list of tags.
- termination_protection_ boolenabled 
- Indicates whether the dashboard is protected from termination.
- type
DashboardType 
- The type of the dashboard. Values are CUSTOM and MANAGED.
- updated_timestamp str
- The timestamp showing when the dashboard was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
- widgets
Sequence[DashboardWidget] 
- List of widgets on the dashboard
- createdTimestamp String
- The timestamp of the dashboard creation.
- dashboardArn String
- The ARN of the dashboard.
- name String
- The name of the dashboard.
- refreshSchedule Property Map
- Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
- status "CREATING" | "CREATED" | "UPDATING" | "UPDATED" | "DELETING"
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- List<Property Map>
- A list of tags.
- terminationProtection BooleanEnabled 
- Indicates whether the dashboard is protected from termination.
- type "MANAGED" | "CUSTOM"
- The type of the dashboard. Values are CUSTOM and MANAGED.
- updatedTimestamp String
- The timestamp showing when the dashboard was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
- widgets List<Property Map>
- List of widgets on the dashboard
Supporting Types
DashboardRefreshSchedule  
- Frequency
Pulumi.Aws Native. Cloud Trail. Inputs. Dashboard Refresh Schedule Frequency Properties 
- The frequency at which you want the dashboard refreshed.
- Status
Pulumi.Aws Native. Cloud Trail. Dashboard Refresh Schedule Status 
- The status of the schedule. Supported values are ENABLED and DISABLED.
- TimeOf stringDay 
- StartTime of the automatic schedule refresh.
- Frequency
DashboardRefresh Schedule Frequency Properties 
- The frequency at which you want the dashboard refreshed.
- Status
DashboardRefresh Schedule Status 
- The status of the schedule. Supported values are ENABLED and DISABLED.
- TimeOf stringDay 
- StartTime of the automatic schedule refresh.
- frequency
DashboardRefresh Schedule Frequency Properties 
- The frequency at which you want the dashboard refreshed.
- status
DashboardRefresh Schedule Status 
- The status of the schedule. Supported values are ENABLED and DISABLED.
- timeOf StringDay 
- StartTime of the automatic schedule refresh.
- frequency
DashboardRefresh Schedule Frequency Properties 
- The frequency at which you want the dashboard refreshed.
- status
DashboardRefresh Schedule Status 
- The status of the schedule. Supported values are ENABLED and DISABLED.
- timeOf stringDay 
- StartTime of the automatic schedule refresh.
- frequency
DashboardRefresh Schedule Frequency Properties 
- The frequency at which you want the dashboard refreshed.
- status
DashboardRefresh Schedule Status 
- The status of the schedule. Supported values are ENABLED and DISABLED.
- time_of_ strday 
- StartTime of the automatic schedule refresh.
- frequency Property Map
- The frequency at which you want the dashboard refreshed.
- status "ENABLED" | "DISABLED"
- The status of the schedule. Supported values are ENABLED and DISABLED.
- timeOf StringDay 
- StartTime of the automatic schedule refresh.
DashboardRefreshScheduleFrequencyProperties    
- Unit
Pulumi.Aws Native. Cloud Trail. Dashboard Refresh Schedule Frequency Properties Unit 
- The frequency unit. Supported values are HOURS and DAYS.
- Value int
- The frequency value.
- Unit
DashboardRefresh Schedule Frequency Properties Unit 
- The frequency unit. Supported values are HOURS and DAYS.
- Value int
- The frequency value.
- unit
DashboardRefresh Schedule Frequency Properties Unit 
- The frequency unit. Supported values are HOURS and DAYS.
- value Integer
- The frequency value.
- unit
DashboardRefresh Schedule Frequency Properties Unit 
- The frequency unit. Supported values are HOURS and DAYS.
- value number
- The frequency value.
- unit
DashboardRefresh Schedule Frequency Properties Unit 
- The frequency unit. Supported values are HOURS and DAYS.
- value int
- The frequency value.
- unit "HOURS" | "DAYS"
- The frequency unit. Supported values are HOURS and DAYS.
- value Number
- The frequency value.
DashboardRefreshScheduleFrequencyPropertiesUnit     
DashboardRefreshScheduleStatus   
DashboardStatus 
DashboardType 
DashboardWidget 
- QueryStatement string
- The SQL query statement on one or more event data stores.
- QueryParameters List<string>
- The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- ViewProperties Dictionary<string, string>
- The view properties of the widget.
- QueryStatement string
- The SQL query statement on one or more event data stores.
- QueryParameters []string
- The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- ViewProperties map[string]string
- The view properties of the widget.
- queryStatement String
- The SQL query statement on one or more event data stores.
- queryParameters List<String>
- The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- viewProperties Map<String,String>
- The view properties of the widget.
- queryStatement string
- The SQL query statement on one or more event data stores.
- queryParameters string[]
- The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- viewProperties {[key: string]: string}
- The view properties of the widget.
- query_statement str
- The SQL query statement on one or more event data stores.
- query_parameters Sequence[str]
- The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- view_properties Mapping[str, str]
- The view properties of the widget.
- queryStatement String
- The SQL query statement on one or more event data stores.
- queryParameters List<String>
- The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- viewProperties Map<String>
- The view properties of the widget.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.