Class: AWSCDK::Interfaces::AWSConfig::AggregationAuthorizationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSConfig::AggregationAuthorizationReference
- Defined in:
- interfaces/aws_config/aggregation_authorization_reference.rb
Overview
A reference to a AggregationAuthorization resource.
Instance Attribute Summary collapse
-
#aggregation_authorization_arn ⇒ String
readonly
The ARN of the AggregationAuthorization resource.
-
#authorized_account_id ⇒ String
readonly
The AuthorizedAccountId of the AggregationAuthorization resource.
-
#authorized_aws_region ⇒ String
readonly
The AuthorizedAwsRegion of the AggregationAuthorization resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aggregation_authorization_arn:, authorized_account_id:, authorized_aws_region:) ⇒ AggregationAuthorizationReference
constructor
A new instance of AggregationAuthorizationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aggregation_authorization_arn:, authorized_account_id:, authorized_aws_region:) ⇒ AggregationAuthorizationReference
Returns a new instance of AggregationAuthorizationReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 10 def initialize(aggregation_authorization_arn:, authorized_account_id:, authorized_aws_region:) @aggregation_authorization_arn = Jsii::Type.check_type(@aggregation_authorization_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "aggregationAuthorizationArn") @authorized_account_id = Jsii::Type.check_type(@authorized_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizedAccountId") @authorized_aws_region = Jsii::Type.check_type(@authorized_aws_region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizedAwsRegion") end |
Instance Attribute Details
#aggregation_authorization_arn ⇒ String (readonly)
The ARN of the AggregationAuthorization resource.
22 23 24 |
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 22 def @aggregation_authorization_arn end |
#authorized_account_id ⇒ String (readonly)
The AuthorizedAccountId of the AggregationAuthorization resource.
26 27 28 |
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 26 def @authorized_account_id end |
#authorized_aws_region ⇒ String (readonly)
The AuthorizedAwsRegion of the AggregationAuthorization resource.
30 31 32 |
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 30 def @authorized_aws_region end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 32 def self.jsii_properties { :aggregation_authorization_arn => "aggregationAuthorizationArn", :authorized_account_id => "authorizedAccountId", :authorized_aws_region => "authorizedAwsRegion", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 40 def to_jsii result = {} result.merge!({ "aggregationAuthorizationArn" => @aggregation_authorization_arn, "authorizedAccountId" => @authorized_account_id, "authorizedAwsRegion" => @authorized_aws_region, }) result.compact end |