Class: AWSCDK::WorkspacesInstances::CfnWorkspaceInstance::IAMInstanceProfileSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesInstances::CfnWorkspaceInstance::IAMInstanceProfileSpecificationProperty
- Defined in:
- workspaces_instances/cfn_workspace_instance.rb
Overview
Instance Attribute Summary collapse
- #arn ⇒ String? readonly
- #name ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil, name: nil) ⇒ IAMInstanceProfileSpecificationProperty
constructor
A new instance of IAMInstanceProfileSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil, name: nil) ⇒ IAMInstanceProfileSpecificationProperty
Returns a new instance of IAMInstanceProfileSpecificationProperty.
908 909 910 911 912 913 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 908 def initialize(arn: nil, name: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
917 918 919 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 917 def arn @arn end |
#name ⇒ String? (readonly)
920 921 922 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 920 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
922 923 924 925 926 927 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 922 def self.jsii_properties { :arn => "arn", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
929 930 931 932 933 934 935 936 |
# File 'workspaces_instances/cfn_workspace_instance.rb', line 929 def to_jsii result = {} result.merge!({ "arn" => @arn, "name" => @name, }) result.compact end |