Class: AWSCDK::Interfaces::AWSDatazone::OwnerReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSDatazone::OwnerReference
- Defined in:
- interfaces/aws_datazone/owner_reference.rb
Overview
A reference to a Owner resource.
Instance Attribute Summary collapse
-
#domain_identifier ⇒ String
readonly
The DomainIdentifier of the Owner resource.
-
#entity_identifier ⇒ String
readonly
The EntityIdentifier of the Owner resource.
-
#entity_type ⇒ String
readonly
The EntityType of the Owner resource.
-
#owner_identifier ⇒ String
readonly
The OwnerIdentifier of the Owner resource.
-
#owner_type ⇒ String
readonly
The OwnerType of the Owner resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_identifier:, entity_identifier:, entity_type:, owner_identifier:, owner_type:) ⇒ OwnerReference
constructor
A new instance of OwnerReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_identifier:, entity_identifier:, entity_type:, owner_identifier:, owner_type:) ⇒ OwnerReference
Returns a new instance of OwnerReference.
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_identifier ⇒ String (readonly)
The DomainIdentifier of the Owner resource.
28 29 30 |
# File 'interfaces/aws_datazone/owner_reference.rb', line 28 def domain_identifier @domain_identifier end |
#entity_identifier ⇒ String (readonly)
The EntityIdentifier of the Owner resource.
32 33 34 |
# File 'interfaces/aws_datazone/owner_reference.rb', line 32 def entity_identifier @entity_identifier end |
#entity_type ⇒ String (readonly)
The EntityType of the Owner resource.
36 37 38 |
# File 'interfaces/aws_datazone/owner_reference.rb', line 36 def entity_type @entity_type end |
#owner_identifier ⇒ String (readonly)
The OwnerIdentifier of the Owner resource.
40 41 42 |
# File 'interfaces/aws_datazone/owner_reference.rb', line 40 def owner_identifier @owner_identifier end |
#owner_type ⇒ String (readonly)
The OwnerType of the Owner resource.
44 45 46 |
# File 'interfaces/aws_datazone/owner_reference.rb', line 44 def owner_type @owner_type end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |