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.
- Refresh
Schedule 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> - Termination
Protection 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.
- 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.
- Tag
Args - Termination
Protection boolEnabled - Indicates whether the dashboard is protected from termination.
- Widgets
[]Dashboard
Widget Args - List of widgets on the dashboard
- name String
- 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.
- List<Tag>
- termination
Protection BooleanEnabled - Indicates whether the dashboard is protected from termination.
- widgets
List<Dashboard
Widget> - List of widgets on the dashboard
- name string
- 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.
- Tag[]
- termination
Protection booleanEnabled - Indicates whether the dashboard is protected from termination.
- widgets
Dashboard
Widget[] - 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[Tag
Args] - termination_
protection_ boolenabled - Indicates whether the dashboard is protected from termination.
- widgets
Sequence[Dashboard
Widget Args] - List of widgets on the dashboard
- name String
- The name of the dashboard.
- refresh
Schedule 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>
- termination
Protection 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:
- Created
Timestamp string - The timestamp of the dashboard creation.
- Dashboard
Arn 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.
- Updated
Timestamp 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 string - The timestamp of the dashboard creation.
- Dashboard
Arn string - The ARN of the dashboard.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Dashboard
Status - The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- Type
Dashboard
Type - The type of the dashboard. Values are CUSTOM and MANAGED.
- Updated
Timestamp 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 String - The timestamp of the dashboard creation.
- dashboard
Arn String - The ARN of the dashboard.
- id String
- The provider-assigned unique ID for this managed resource.
- status
Dashboard
Status - The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- type
Dashboard
Type - The type of the dashboard. Values are CUSTOM and MANAGED.
- updated
Timestamp 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 string - The timestamp of the dashboard creation.
- dashboard
Arn string - The ARN of the dashboard.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Dashboard
Status - The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- type
Dashboard
Type - The type of the dashboard. Values are CUSTOM and MANAGED.
- updated
Timestamp 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
Dashboard
Status - The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
- type
Dashboard
Type - 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.
- created
Timestamp String - The timestamp of the dashboard creation.
- dashboard
Arn 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.
- updated
Timestamp 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 - Status
Pulumi.
Aws Native. Cloud Trail. Dashboard Refresh Schedule Status - The status of the schedule. Supported values are ENABLED and DISABLED.
- Time
Of stringDay - StartTime of the automatic schedule refresh.
- Frequency
Dashboard
Refresh Schedule Frequency Properties - Status
Dashboard
Refresh Schedule Status - The status of the schedule. Supported values are ENABLED and DISABLED.
- Time
Of stringDay - StartTime of the automatic schedule refresh.
- frequency
Dashboard
Refresh Schedule Frequency Properties - status
Dashboard
Refresh Schedule Status - The status of the schedule. Supported values are ENABLED and DISABLED.
- time
Of StringDay - StartTime of the automatic schedule refresh.
- frequency
Dashboard
Refresh Schedule Frequency Properties - status
Dashboard
Refresh Schedule Status - The status of the schedule. Supported values are ENABLED and DISABLED.
- time
Of stringDay - StartTime of the automatic schedule refresh.
- frequency
Dashboard
Refresh Schedule Frequency Properties - status
Dashboard
Refresh 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
- status "ENABLED" | "DISABLED"
- The status of the schedule. Supported values are ENABLED and DISABLED.
- time
Of 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
Dashboard
Refresh Schedule Frequency Properties Unit - The frequency unit. Supported values are HOURS and DAYS.
- Value int
- The frequency value.
- unit
Dashboard
Refresh Schedule Frequency Properties Unit - The frequency unit. Supported values are HOURS and DAYS.
- value Integer
- The frequency value.
- unit
Dashboard
Refresh Schedule Frequency Properties Unit - The frequency unit. Supported values are HOURS and DAYS.
- value number
- The frequency value.
- unit
Dashboard
Refresh 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
- Dashboard
Refresh Schedule Frequency Properties Unit Hours - HOURS
- Dashboard
Refresh 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
- Dashboard
Refresh Schedule Status Enabled - ENABLED
- Dashboard
Refresh 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
- Dashboard
Status Creating - CREATING
- Dashboard
Status Created - CREATED
- Dashboard
Status Updating - UPDATING
- Dashboard
Status Updated - UPDATED
- Dashboard
Status 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
- Dashboard
Type Managed - MANAGED
- Dashboard
Type Custom - CUSTOM
- Managed
- MANAGED
- Custom
- CUSTOM
- Managed
- MANAGED
- Custom
- CUSTOM
- MANAGED
- MANAGED
- CUSTOM
- CUSTOM
- "MANAGED"
- MANAGED
- "CUSTOM"
- CUSTOM
DashboardWidget, DashboardWidgetArgs
- Query
Statement string - The SQL query statement on one or more event data stores.
- Query
Parameters List<string> - The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- View
Properties Dictionary<string, string> - The view properties of the widget.
- Query
Statement string - The SQL query statement on one or more event data stores.
- Query
Parameters []string - The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- View
Properties map[string]string - The view properties of the widget.
- query
Statement String - The SQL query statement on one or more event data stores.
- query
Parameters List<String> - The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- view
Properties Map<String,String> - The view properties of the widget.
- query
Statement string - The SQL query statement on one or more event data stores.
- query
Parameters string[] - The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- view
Properties {[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.
- query
Statement String - The SQL query statement on one or more event data stores.
- query
Parameters List<String> - The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
- view
Properties 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.