Class: AWSCDK::AIOps::CfnInvestigationGroup::CrossAccountConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AIOps::CfnInvestigationGroup::CrossAccountConfigurationProperty
- 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
-
#source_role_arn ⇒ String?
readonly
The ARN of an existing role which will be used to do investigations on your behalf.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_role_arn: nil) ⇒ CrossAccountConfigurationProperty
constructor
A new instance of CrossAccountConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_role_arn: nil) ⇒ CrossAccountConfigurationProperty
Returns a new instance of CrossAccountConfigurationProperty.
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_arn ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |