Class: AWSCDK::AppStream::CfnStack::StorageConnectorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppStream::CfnStack::StorageConnectorProperty
- Defined in:
- app_stream/cfn_stack.rb
Overview
A connector that enables persistent storage for users.
Instance Attribute Summary collapse
-
#connector_type ⇒ String
readonly
The type of storage connector.
-
#domains ⇒ Array<String>?
readonly
The names of the domains for the account.
-
#resource_identifier ⇒ String?
readonly
The ARN of the storage connector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connector_type:, domains: nil, resource_identifier: nil) ⇒ StorageConnectorProperty
constructor
A new instance of StorageConnectorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connector_type:, domains: nil, resource_identifier: nil) ⇒ StorageConnectorProperty
Returns a new instance of StorageConnectorProperty.
832 833 834 835 836 837 838 839 |
# File 'app_stream/cfn_stack.rb', line 832 def initialize(connector_type:, domains: nil, resource_identifier: nil) @connector_type = connector_type Jsii::Type.check_type(@connector_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectorType") @domains = domains Jsii::Type.check_type(@domains, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "domains") unless @domains.nil? @resource_identifier = resource_identifier Jsii::Type.check_type(@resource_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceIdentifier") unless @resource_identifier.nil? end |
Instance Attribute Details
#connector_type ⇒ String (readonly)
The type of storage connector.
845 846 847 |
# File 'app_stream/cfn_stack.rb', line 845 def connector_type @connector_type end |
#domains ⇒ Array<String>? (readonly)
The names of the domains for the account.
850 851 852 |
# File 'app_stream/cfn_stack.rb', line 850 def domains @domains end |
#resource_identifier ⇒ String? (readonly)
The ARN of the storage connector.
855 856 857 |
# File 'app_stream/cfn_stack.rb', line 855 def resource_identifier @resource_identifier end |
Class Method Details
.jsii_properties ⇒ Object
857 858 859 860 861 862 863 |
# File 'app_stream/cfn_stack.rb', line 857 def self.jsii_properties { :connector_type => "connectorType", :domains => "domains", :resource_identifier => "resourceIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
865 866 867 868 869 870 871 872 873 |
# File 'app_stream/cfn_stack.rb', line 865 def to_jsii result = {} result.merge!({ "connectorType" => @connector_type, "domains" => @domains, "resourceIdentifier" => @resource_identifier, }) result.compact end |