Class: AWSCDK::AIOps::CfnInvestigationGroup::CrossAccountConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ai_ops/cfn_investigation_group.rb

Overview

This structure contains information about the cross-account configuration in the account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_role_arn: nil) ⇒ CrossAccountConfigurationProperty

Returns a new instance of CrossAccountConfigurationProperty.

Parameters:

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

    The ARN of an existing role which will be used to do investigations on your behalf.



728
729
730
731
# File 'ai_ops/cfn_investigation_group.rb', line 728

def initialize(source_role_arn: nil)
  @source_role_arn = source_role_arn
  Jsii::Type.check_type(@source_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceRoleArn") unless @source_role_arn.nil?
end

Instance Attribute Details

#source_role_arnString? (readonly)

The ARN of an existing role which will be used to do investigations on your behalf.



737
738
739
# File 'ai_ops/cfn_investigation_group.rb', line 737

def source_role_arn
  @source_role_arn
end

Class Method Details

.jsii_propertiesObject



739
740
741
742
743
# File 'ai_ops/cfn_investigation_group.rb', line 739

def self.jsii_properties
  {
    :source_role_arn => "sourceRoleArn",
  }
end

Instance Method Details

#to_jsiiObject



745
746
747
748
749
750
751
# File 'ai_ops/cfn_investigation_group.rb', line 745

def to_jsii
  result = {}
  result.merge!({
    "sourceRoleArn" => @source_role_arn,
  })
  result.compact
end