Class: AWSCDK::ODB::CfnCloudAutonomousVmCluster::IAMRoleProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
odb/cfn_cloud_autonomous_vm_cluster.rb

Overview

An AWS Identity and Access Management (IAM) service role associated with the Autonomous 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.



946
947
948
949
950
951
952
953
# File 'odb/cfn_cloud_autonomous_vm_cluster.rb', line 946

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.



959
960
961
# File 'odb/cfn_cloud_autonomous_vm_cluster.rb', line 959

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.



964
965
966
# File 'odb/cfn_cloud_autonomous_vm_cluster.rb', line 964

def iam_role_arn
  @iam_role_arn
end

#statusString? (readonly)

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



969
970
971
# File 'odb/cfn_cloud_autonomous_vm_cluster.rb', line 969

def status
  @status
end

Class Method Details

.jsii_propertiesObject



971
972
973
974
975
976
977
# File 'odb/cfn_cloud_autonomous_vm_cluster.rb', line 971

def self.jsii_properties
  {
    :aws_integration => "awsIntegration",
    :iam_role_arn => "iamRoleArn",
    :status => "status",
  }
end

Instance Method Details

#to_jsiiObject



979
980
981
982
983
984
985
986
987
# File 'odb/cfn_cloud_autonomous_vm_cluster.rb', line 979

def to_jsii
  result = {}
  result.merge!({
    "awsIntegration" => @aws_integration,
    "iamRoleArn" => @iam_role_arn,
    "status" => @status,
  })
  result.compact
end