Class: AWSCDK::Interfaces::AWSDatazone::OwnerReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_datazone/owner_reference.rb

Overview

A reference to a Owner resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_identifier:, entity_identifier:, entity_type:, owner_identifier:, owner_type:) ⇒ OwnerReference

Returns a new instance of OwnerReference.

Parameters:

  • domain_identifier (String)

    The DomainIdentifier of the Owner resource.

  • entity_identifier (String)

    The EntityIdentifier of the Owner resource.

  • entity_type (String)

    The EntityType of the Owner resource.

  • owner_identifier (String)

    The OwnerIdentifier of the Owner resource.

  • owner_type (String)

    The OwnerType of the Owner resource.



12
13
14
15
16
17
18
19
20
21
22
23
# File 'interfaces/aws_datazone/owner_reference.rb', line 12

def initialize(domain_identifier:, entity_identifier:, entity_type:, owner_identifier:, owner_type:)
  @domain_identifier = domain_identifier
  Jsii::Type.check_type(@domain_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainIdentifier")
  @entity_identifier = entity_identifier
  Jsii::Type.check_type(@entity_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "entityIdentifier")
  @entity_type = entity_type
  Jsii::Type.check_type(@entity_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "entityType")
  @owner_identifier = owner_identifier
  Jsii::Type.check_type(@owner_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ownerIdentifier")
  @owner_type = owner_type
  Jsii::Type.check_type(@owner_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ownerType")
end

Instance Attribute Details

#domain_identifierString (readonly)

The DomainIdentifier of the Owner resource.

Returns:

  • (String)


28
29
30
# File 'interfaces/aws_datazone/owner_reference.rb', line 28

def domain_identifier
  @domain_identifier
end

#entity_identifierString (readonly)

The EntityIdentifier of the Owner resource.

Returns:

  • (String)


32
33
34
# File 'interfaces/aws_datazone/owner_reference.rb', line 32

def entity_identifier
  @entity_identifier
end

#entity_typeString (readonly)

The EntityType of the Owner resource.

Returns:

  • (String)


36
37
38
# File 'interfaces/aws_datazone/owner_reference.rb', line 36

def entity_type
  @entity_type
end

#owner_identifierString (readonly)

The OwnerIdentifier of the Owner resource.

Returns:

  • (String)


40
41
42
# File 'interfaces/aws_datazone/owner_reference.rb', line 40

def owner_identifier
  @owner_identifier
end

#owner_typeString (readonly)

The OwnerType of the Owner resource.

Returns:

  • (String)


44
45
46
# File 'interfaces/aws_datazone/owner_reference.rb', line 44

def owner_type
  @owner_type
end

Class Method Details

.jsii_propertiesObject



46
47
48
49
50
51
52
53
54
# File 'interfaces/aws_datazone/owner_reference.rb', line 46

def self.jsii_properties
  {
    :domain_identifier => "domainIdentifier",
    :entity_identifier => "entityIdentifier",
    :entity_type => "entityType",
    :owner_identifier => "ownerIdentifier",
    :owner_type => "ownerType",
  }
end

Instance Method Details

#to_jsiiObject



56
57
58
59
60
61
62
63
64
65
66
# File 'interfaces/aws_datazone/owner_reference.rb', line 56

def to_jsii
  result = {}
  result.merge!({
    "domainIdentifier" => @domain_identifier,
    "entityIdentifier" => @entity_identifier,
    "entityType" => @entity_type,
    "ownerIdentifier" => @owner_identifier,
    "ownerType" => @owner_type,
  })
  result.compact
end