Class: Aws::CloudTrail::Types::CreateDashboardRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudtrail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the dashboard. The name must be unique to your account.

To create the Highlights dashboard, the name must be ‘AWSCloudTrail-Highlights`.

Returns:

  • (String)


677
678
679
680
681
682
683
684
685
# File 'lib/aws-sdk-cloudtrail/types.rb', line 677

class CreateDashboardRequest < Struct.new(
  :name,
  :refresh_schedule,
  :tags_list,
  :termination_protection_enabled,
  :widgets)
  SENSITIVE = []
  include Aws::Structure
end

#refresh_scheduleTypes::RefreshSchedule

The refresh schedule configuration for the dashboard.

To create the Highlights dashboard, you must set a refresh schedule and set the ‘Status` to `ENABLED`. The `Unit` for the refresh schedule must be `HOURS` and the `Value` must be `6`.



677
678
679
680
681
682
683
684
685
# File 'lib/aws-sdk-cloudtrail/types.rb', line 677

class CreateDashboardRequest < Struct.new(
  :name,
  :refresh_schedule,
  :tags_list,
  :termination_protection_enabled,
  :widgets)
  SENSITIVE = []
  include Aws::Structure
end

#tags_listArray<Types::Tag>

A list of tags.

Returns:



677
678
679
680
681
682
683
684
685
# File 'lib/aws-sdk-cloudtrail/types.rb', line 677

class CreateDashboardRequest < Struct.new(
  :name,
  :refresh_schedule,
  :tags_list,
  :termination_protection_enabled,
  :widgets)
  SENSITIVE = []
  include Aws::Structure
end

#termination_protection_enabledBoolean

Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.

Returns:

  • (Boolean)


677
678
679
680
681
682
683
684
685
# File 'lib/aws-sdk-cloudtrail/types.rb', line 677

class CreateDashboardRequest < Struct.new(
  :name,
  :refresh_schedule,
  :tags_list,
  :termination_protection_enabled,
  :widgets)
  SENSITIVE = []
  include Aws::Structure
end

#widgetsArray<Types::RequestWidget>

An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.

You do not need to specify widgets for the Highlights dashboard.

Returns:



677
678
679
680
681
682
683
684
685
# File 'lib/aws-sdk-cloudtrail/types.rb', line 677

class CreateDashboardRequest < Struct.new(
  :name,
  :refresh_schedule,
  :tags_list,
  :termination_protection_enabled,
  :widgets)
  SENSITIVE = []
  include Aws::Structure
end