Class: AWSCDK::WorkspacesWeb::CfnUserSettings::CookieSynchronizationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
workspaces_web/cfn_user_settings.rb

Overview

The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allowlist:, blocklist: nil) ⇒ CookieSynchronizationConfigurationProperty

Returns a new instance of CookieSynchronizationConfigurationProperty.

Parameters:



927
928
929
930
931
932
# File 'workspaces_web/cfn_user_settings.rb', line 927

def initialize(allowlist:, blocklist: nil)
  @allowlist = allowlist
  Jsii::Type.check_type(@allowlist, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd29ya3NwYWNlc3dlYi5DZm5Vc2VyU2V0dGluZ3MuQ29va2llU3BlY2lmaWNhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "allowlist")
  @blocklist = blocklist
  Jsii::Type.check_type(@blocklist, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd29ya3NwYWNlc3dlYi5DZm5Vc2VyU2V0dGluZ3MuQ29va2llU3BlY2lmaWNhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "blocklist") unless @blocklist.nil?
end

Instance Attribute Details

#blocklistAWSCDK::IResolvable, ... (readonly)

The list of cookie specifications that are blocked from being synchronized to the remote browser.



943
944
945
# File 'workspaces_web/cfn_user_settings.rb', line 943

def blocklist
  @blocklist
end

Class Method Details

.jsii_propertiesObject



945
946
947
948
949
950
# File 'workspaces_web/cfn_user_settings.rb', line 945

def self.jsii_properties
  {
    :allowlist => "allowlist",
    :blocklist => "blocklist",
  }
end

Instance Method Details

#to_jsiiObject



952
953
954
955
956
957
958
959
# File 'workspaces_web/cfn_user_settings.rb', line 952

def to_jsii
  result = {}
  result.merge!({
    "allowlist" => @allowlist,
    "blocklist" => @blocklist,
  })
  result.compact
end