Class: AWSCDK::QuickSight::CfnAnalysis::SheetProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

A sheet , which is an object that contains a set of visuals that are viewed together on one page in Quick Sight.

Every analysis and dashboard contains at least one sheet. Each sheet contains at least one visualization widget, for example a chart, pivot table, or narrative insight. Sheets can be associated with other components, such as controls, filters, and so on.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil, sheet_id: nil) ⇒ SheetProperty

Returns a new instance of SheetProperty.

Parameters:

  • name (String, nil) (defaults to: nil)

    The name of a sheet.

  • sheet_id (String, nil) (defaults to: nil)

    The unique identifier associated with a sheet.



26584
26585
26586
26587
26588
26589
# File 'quick_sight/cfn_analysis.rb', line 26584

def initialize(name: nil, sheet_id: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @sheet_id = sheet_id
  Jsii::Type.check_type(@sheet_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sheetId") unless @sheet_id.nil?
end

Instance Attribute Details

#nameString? (readonly)

The name of a sheet.

This name is displayed on the sheet's tab in the Quick Sight console.



26597
26598
26599
# File 'quick_sight/cfn_analysis.rb', line 26597

def name
  @name
end

#sheet_idString? (readonly)

The unique identifier associated with a sheet.



26602
26603
26604
# File 'quick_sight/cfn_analysis.rb', line 26602

def sheet_id
  @sheet_id
end

Class Method Details

.jsii_propertiesObject



26604
26605
26606
26607
26608
26609
# File 'quick_sight/cfn_analysis.rb', line 26604

def self.jsii_properties
  {
    :name => "name",
    :sheet_id => "sheetId",
  }
end

Instance Method Details

#to_jsiiObject



26611
26612
26613
26614
26615
26616
26617
26618
# File 'quick_sight/cfn_analysis.rb', line 26611

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "sheetId" => @sheet_id,
  })
  result.compact
end