We recommend new projects start with resources from the AWS provider.
aws-native.cloudtrail.Dashboard
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.
Create Dashboard Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dashboard(name: string, args?: DashboardArgs, opts?: CustomResourceOptions);@overload
def Dashboard(resource_name: str,
              args: Optional[DashboardArgs] = None,
              opts: Optional[ResourceOptions] = None)
@overload
def Dashboard(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              name: Optional[str] = None,
              refresh_schedule: Optional[DashboardRefreshScheduleArgs] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
              termination_protection_enabled: Optional[bool] = None,
              widgets: Optional[Sequence[DashboardWidgetArgs]] = None)func NewDashboard(ctx *Context, name string, args *DashboardArgs, opts ...ResourceOption) (*Dashboard, error)public Dashboard(string name, DashboardArgs? args = null, CustomResourceOptions? opts = null)
public Dashboard(String name, DashboardArgs args)
public Dashboard(String name, DashboardArgs args, CustomResourceOptions options)
type: aws-native:cloudtrail:Dashboard
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Dashboard Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dashboard resource accepts the following input properties:
- Name string
- The name of the dashboard.
- RefreshSchedule Pulumi.Aws Native. Cloud Trail. Inputs. 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.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- A list of tags.
- TerminationProtection boolEnabled 
- Indicates whether the dashboard is protected from termination.
- Widgets
List<Pulumi.Aws Native. Cloud Trail. Inputs. Dashboard Widget> 
- List of widgets on the dashboard
- Name string
- The name of the dashboard.
- RefreshSchedule DashboardRefresh Schedule Args 
- 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.
- 
TagArgs 
- A list of tags.
- TerminationProtection boolEnabled 
- Indicates whether the dashboard is protected from termination.
- Widgets
[]DashboardWidget Args 
- List of widgets on 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.
- List<Tag>
- A list of tags.
- terminationProtection BooleanEnabled 
- Indicates whether the dashboard is protected from termination.
- widgets
List<DashboardWidget> 
- List of widgets on 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.
- Tag[]
- A list of tags.
- terminationProtection booleanEnabled 
- Indicates whether the dashboard is protected from termination.
- widgets
DashboardWidget[] 
- List of widgets on the dashboard
- name str
- The name of the dashboard.
- refresh_schedule DashboardRefresh Schedule Args 
- 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.
- 
Sequence[TagArgs] 
- A list of tags.
- termination_protection_ boolenabled 
- Indicates whether the dashboard is protected from termination.
- widgets
Sequence[DashboardWidget Args] 
- List of widgets on 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.
- List<Property Map>
- A list of tags.
- terminationProtection BooleanEnabled 
- Indicates whether the dashboard is protected from termination.
- widgets List<Property Map>
- List of widgets on the dashboard
Outputs
All input properties are implicitly available as output properties. Additionally, the Dashboard resource produces the following output properties:
- CreatedTimestamp string
- The timestamp of the dashboard creation.
- DashboardArn string
- The ARN of the dashboard.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Pulumi.Aws Native. Cloud Trail. Dashboard Status 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- 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.
- CreatedTimestamp string
- The timestamp of the dashboard creation.
- DashboardArn string
- The ARN of the dashboard.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- 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.
- createdTimestamp String
- The timestamp of the dashboard creation.
- dashboardArn String
- The ARN of the dashboard.
- id String
- The provider-assigned unique ID for this managed resource.
- status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- 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.
- createdTimestamp string
- The timestamp of the dashboard creation.
- dashboardArn string
- The ARN of the dashboard.
- id string
- The provider-assigned unique ID for this managed resource.
- status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- 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.
- created_timestamp str
- The timestamp of the dashboard creation.
- dashboard_arn str
- The ARN of the dashboard.
- id str
- The provider-assigned unique ID for this managed resource.
- status
DashboardStatus 
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- 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.
- createdTimestamp String
- The timestamp of the dashboard creation.
- dashboardArn String
- The ARN of the dashboard.
- id String
- The provider-assigned unique ID for this managed resource.
- status "CREATING" | "CREATED" | "UPDATING" | "UPDATED" | "DELETING"
- The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- 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.
Supporting Types
DashboardRefreshSchedule, DashboardRefreshScheduleArgs      
- 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, DashboardRefreshScheduleFrequencyPropertiesArgs          
- 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, DashboardRefreshScheduleFrequencyPropertiesUnitArgs            
- Hours
- HOURS
- Days
- DAYS
- DashboardRefresh Schedule Frequency Properties Unit Hours 
- HOURS
- DashboardRefresh Schedule Frequency Properties Unit Days 
- DAYS
- Hours
- HOURS
- Days
- DAYS
- Hours
- HOURS
- Days
- DAYS
- HOURS
- HOURS
- DAYS
- DAYS
- "HOURS"
- HOURS
- "DAYS"
- DAYS
DashboardRefreshScheduleStatus, DashboardRefreshScheduleStatusArgs        
- Enabled
- ENABLED
- Disabled
- DISABLED
- DashboardRefresh Schedule Status Enabled 
- ENABLED
- DashboardRefresh Schedule Status Disabled 
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
DashboardStatus, DashboardStatusArgs    
- Creating
- CREATING
- Created
- CREATED
- Updating
- UPDATING
- Updated
- UPDATED
- Deleting
- DELETING
- DashboardStatus Creating 
- CREATING
- DashboardStatus Created 
- CREATED
- DashboardStatus Updating 
- UPDATING
- DashboardStatus Updated 
- UPDATED
- DashboardStatus Deleting 
- DELETING
- Creating
- CREATING
- Created
- CREATED
- Updating
- UPDATING
- Updated
- UPDATED
- Deleting
- DELETING
- Creating
- CREATING
- Created
- CREATED
- Updating
- UPDATING
- Updated
- UPDATED
- Deleting
- DELETING
- CREATING
- CREATING
- CREATED
- CREATED
- UPDATING
- UPDATING
- UPDATED
- UPDATED
- DELETING
- DELETING
- "CREATING"
- CREATING
- "CREATED"
- CREATED
- "UPDATING"
- UPDATING
- "UPDATED"
- UPDATED
- "DELETING"
- DELETING
DashboardType, DashboardTypeArgs    
- Managed
- MANAGED
- Custom
- CUSTOM
- DashboardType Managed 
- MANAGED
- DashboardType Custom 
- CUSTOM
- Managed
- MANAGED
- Custom
- CUSTOM
- Managed
- MANAGED
- Custom
- CUSTOM
- MANAGED
- MANAGED
- CUSTOM
- CUSTOM
- "MANAGED"
- MANAGED
- "CUSTOM"
- CUSTOM
DashboardWidget, DashboardWidgetArgs    
- 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, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.