Class: AWSCDK::Interfaces::AWSResourceexplorer2::DefaultViewAssociationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_resourceexplorer2/default_view_association_reference.rb

Overview

A reference to a DefaultViewAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(associated_aws_principal:) ⇒ DefaultViewAssociationReference

Returns a new instance of DefaultViewAssociationReference.

Parameters:

  • associated_aws_principal (String)

    The AssociatedAwsPrincipal of the DefaultViewAssociation resource.



8
9
10
11
# File 'interfaces/aws_resourceexplorer2/default_view_association_reference.rb', line 8

def initialize(associated_aws_principal:)
  @associated_aws_principal = associated_aws_principal
  Jsii::Type.check_type(@associated_aws_principal, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "associatedAwsPrincipal")
end

Instance Attribute Details

#associated_aws_principalString (readonly)

The AssociatedAwsPrincipal of the DefaultViewAssociation resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_resourceexplorer2/default_view_association_reference.rb', line 16

def associated_aws_principal
  @associated_aws_principal
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_resourceexplorer2/default_view_association_reference.rb', line 18

def self.jsii_properties
  {
    :associated_aws_principal => "associatedAwsPrincipal",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_resourceexplorer2/default_view_association_reference.rb', line 24

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