Class: AWSCDK::Interfaces::AWSConfig::AggregationAuthorizationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_config/aggregation_authorization_reference.rb

Overview

A reference to a AggregationAuthorization resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aggregation_authorization_arn:, authorized_account_id:, authorized_aws_region:) ⇒ AggregationAuthorizationReference

Returns a new instance of AggregationAuthorizationReference.

Parameters:

  • aggregation_authorization_arn (String)

    The ARN of the AggregationAuthorization resource.

  • authorized_account_id (String)

    The AuthorizedAccountId of the AggregationAuthorization resource.

  • authorized_aws_region (String)

    The AuthorizedAwsRegion of the AggregationAuthorization resource.



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 = 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 = authorized_aws_region
  Jsii::Type.check_type(@authorized_aws_region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizedAwsRegion")
end

Instance Attribute Details

#aggregation_authorization_arnString (readonly)

The ARN of the AggregationAuthorization resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 22

def aggregation_authorization_arn
  @aggregation_authorization_arn
end

#authorized_account_idString (readonly)

The AuthorizedAccountId of the AggregationAuthorization resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 26

def 
  @authorized_account_id
end

#authorized_aws_regionString (readonly)

The AuthorizedAwsRegion of the AggregationAuthorization resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_config/aggregation_authorization_reference.rb', line 30

def authorized_aws_region
  @authorized_aws_region
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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