Class: AWSCDK::WorkspacesWeb::CfnUserSettings::CookieSynchronizationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesWeb::CfnUserSettings::CookieSynchronizationConfigurationProperty
- 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
-
#allowlist ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WorkspacesWeb::CfnUserSettings::CookieSpecificationProperty>
readonly
The list of cookie specifications that are allowed to be synchronized to the remote browser.
-
#blocklist ⇒ AWSCDK::IResolvable, ...
readonly
The list of cookie specifications that are blocked from being synchronized to the remote browser.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allowlist:, blocklist: nil) ⇒ CookieSynchronizationConfigurationProperty
constructor
A new instance of CookieSynchronizationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allowlist:, blocklist: nil) ⇒ CookieSynchronizationConfigurationProperty
Returns a new instance of CookieSynchronizationConfigurationProperty.
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
#allowlist ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WorkspacesWeb::CfnUserSettings::CookieSpecificationProperty> (readonly)
The list of cookie specifications that are allowed to be synchronized to the remote browser.
938 939 940 |
# File 'workspaces_web/cfn_user_settings.rb', line 938 def allowlist @allowlist end |
#blocklist ⇒ AWSCDK::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_properties ⇒ Object
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_jsii ⇒ Object
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 |