import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class SheetControlsOption { VisibilityState ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ResourcePermission { Actions ! : List < Value < string > > ; Principal ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DashboardSourceEntity { SourceTemplate ? : DashboardSourceTemplate ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Parameters { StringParameters ? : List < StringParameter > ; DecimalParameters ? : List < DecimalParameter > ; IntegerParameters ? : List < IntegerParameter > ; DateTimeParameters ? : List < DateTimeParameter > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DashboardSourceTemplate { DataSetReferences ! : List < DataSetReference > ; Arn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DataSetReference { DataSetArn ! : Value < string > ; DataSetPlaceholder ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StringParameter { Values ! : List < Value < string > > ; Name ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class IntegerParameter { Values ! : List < Value < number > > ; Name ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ExportToCSVOption { AvailabilityStatus ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DashboardPublishOptions { SheetControlsOption ? : SheetControlsOption ; ExportToCSVOption ? : ExportToCSVOption ; AdHocFilteringOption ? : AdHocFilteringOption ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DecimalParameter { Values ! : List < Value < number > > ; Name ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DateTimeParameter { Values ! : List < Value < string > > ; Name ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AdHocFilteringOption { AvailabilityStatus ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DashboardProperties { AwsAccountId : Value < string > ; DashboardId : Value < string > ; DashboardPublishOptions ? : DashboardPublishOptions ; Name ? : Value < string > ; Parameters ? : Parameters ; Permissions ? : List < ResourcePermission > ; SourceEntity ? : DashboardSourceEntity ; Tags ? : List < ResourceTag > ; ThemeArn ? : Value < string > ; VersionDescription ? : Value < string > ; } export default class Dashboard extends ResourceBase < DashboardProperties > { static SheetControlsOption = SheetControlsOption ; static ResourcePermission = ResourcePermission ; static DashboardSourceEntity = DashboardSourceEntity ; static Parameters = Parameters ; static DashboardSourceTemplate = DashboardSourceTemplate ; static DataSetReference = DataSetReference ; static StringParameter = StringParameter ; static IntegerParameter = IntegerParameter ; static ExportToCSVOption = ExportToCSVOption ; static DashboardPublishOptions = DashboardPublishOptions ; static DecimalParameter = DecimalParameter ; static DateTimeParameter = DateTimeParameter ; static AdHocFilteringOption = AdHocFilteringOption ; constructor ( properties ) { super ( 'AWS::QuickSight::Dashboard' , properties ) ; } }