Class: AWSCDK::ODB::CfnCloudVmCluster::IAMRoleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ODB::CfnCloudVmCluster::IAMRoleProperty
- Defined in:
- odb/cfn_cloud_vm_cluster.rb
Overview
An AWS Identity and Access Management (IAM) service role associated with the VM cluster.
Instance Attribute Summary collapse
-
#aws_integration ⇒ String?
readonly
The AWS integration configuration settings for the AWS Identity and Access Management (IAM) service role.
-
#iam_role_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role.
-
#status ⇒ String?
readonly
The current status of the AWS Identity and Access Management (IAM) service role.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_integration: nil, iam_role_arn: nil, status: nil) ⇒ IAMRoleProperty
constructor
A new instance of IAMRoleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_integration: nil, iam_role_arn: nil, status: nil) ⇒ IAMRoleProperty
Returns a new instance of IAMRoleProperty.
1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 1147 def initialize(aws_integration: nil, iam_role_arn: nil, status: nil) @aws_integration = aws_integration Jsii::Type.check_type(@aws_integration, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsIntegration") unless @aws_integration.nil? @iam_role_arn = iam_role_arn Jsii::Type.check_type(@iam_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "iamRoleArn") unless @iam_role_arn.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#aws_integration ⇒ String? (readonly)
The AWS integration configuration settings for the AWS Identity and Access Management (IAM) service role.
1160 1161 1162 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 1160 def aws_integration @aws_integration end |
#iam_role_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role.
1165 1166 1167 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 1165 def iam_role_arn @iam_role_arn end |
#status ⇒ String? (readonly)
The current status of the AWS Identity and Access Management (IAM) service role.
1170 1171 1172 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 1170 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
1172 1173 1174 1175 1176 1177 1178 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 1172 def self.jsii_properties { :aws_integration => "awsIntegration", :iam_role_arn => "iamRoleArn", :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
1180 1181 1182 1183 1184 1185 1186 1187 1188 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 1180 def to_jsii result = {} result.merge!({ "awsIntegration" => @aws_integration, "iamRoleArn" => @iam_role_arn, "status" => @status, }) result.compact end |