Class: AWSCDK::ODB::CfnCloudVmCluster::IAMRoleProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_integration: nil, iam_role_arn: nil, status: nil) ⇒ IAMRoleProperty

Returns a new instance of IAMRoleProperty.

Parameters:

  • aws_integration (String, nil) (defaults to: nil)

    The AWS integration configuration settings for the AWS Identity and Access Management (IAM) service role.

  • iam_role_arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role.

  • status (String, nil) (defaults to: nil)

    The current status of the AWS Identity and Access Management (IAM) service role.



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_integrationString? (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_arnString? (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

#statusString? (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_propertiesObject



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_jsiiObject



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