Class: AWSCDK::WorkspacesWeb::CfnUserSettings::CookieSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesWeb::CfnUserSettings::CookieSpecificationProperty
- Defined in:
- workspaces_web/cfn_user_settings.rb
Overview
Specifies a single cookie or set of cookies in an end user's browser.
Instance Attribute Summary collapse
-
#domain ⇒ String
readonly
The domain of the cookie.
-
#name ⇒ String?
readonly
The name of the cookie.
-
#path ⇒ String?
readonly
The path of the cookie.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain:, name: nil, path: nil) ⇒ CookieSpecificationProperty
constructor
A new instance of CookieSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain:, name: nil, path: nil) ⇒ CookieSpecificationProperty
Returns a new instance of CookieSpecificationProperty.
875 876 877 878 879 880 881 882 |
# File 'workspaces_web/cfn_user_settings.rb', line 875 def initialize(domain:, name: nil, path: nil) @domain = domain Jsii::Type.check_type(@domain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domain") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") unless @path.nil? end |
Instance Attribute Details
#domain ⇒ String (readonly)
The domain of the cookie.
888 889 890 |
# File 'workspaces_web/cfn_user_settings.rb', line 888 def domain @domain end |
#name ⇒ String? (readonly)
The name of the cookie.
893 894 895 |
# File 'workspaces_web/cfn_user_settings.rb', line 893 def name @name end |
#path ⇒ String? (readonly)
The path of the cookie.
898 899 900 |
# File 'workspaces_web/cfn_user_settings.rb', line 898 def path @path end |
Class Method Details
.jsii_properties ⇒ Object
900 901 902 903 904 905 906 |
# File 'workspaces_web/cfn_user_settings.rb', line 900 def self.jsii_properties { :domain => "domain", :name => "name", :path => "path", } end |
Instance Method Details
#to_jsii ⇒ Object
908 909 910 911 912 913 914 915 916 |
# File 'workspaces_web/cfn_user_settings.rb', line 908 def to_jsii result = {} result.merge!({ "domain" => @domain, "name" => @name, "path" => @path, }) result.compact end |