Class: AWSCDK::Interfaces::AWSDatazone::EnvironmentActionsReference

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

Overview

A reference to a EnvironmentActions resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_id:, environment_actions_id:, environment_id:) ⇒ EnvironmentActionsReference

Returns a new instance of EnvironmentActionsReference.

Parameters:

  • domain_id (String)

    The DomainId of the EnvironmentActions resource.

  • environment_actions_id (String)

    The Id of the EnvironmentActions resource.

  • environment_id (String)

    The EnvironmentId of the EnvironmentActions resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_datazone/environment_actions_reference.rb', line 10

def initialize(domain_id:, environment_actions_id:, environment_id:)
  @domain_id = domain_id
  Jsii::Type.check_type(@domain_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainId")
  @environment_actions_id = environment_actions_id
  Jsii::Type.check_type(@environment_actions_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentActionsId")
  @environment_id = environment_id
  Jsii::Type.check_type(@environment_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentId")
end

Instance Attribute Details

#domain_idString (readonly)

The DomainId of the EnvironmentActions resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_datazone/environment_actions_reference.rb', line 22

def domain_id
  @domain_id
end

#environment_actions_idString (readonly)

The Id of the EnvironmentActions resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_datazone/environment_actions_reference.rb', line 26

def environment_actions_id
  @environment_actions_id
end

#environment_idString (readonly)

The EnvironmentId of the EnvironmentActions resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_datazone/environment_actions_reference.rb', line 30

def environment_id
  @environment_id
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'interfaces/aws_datazone/environment_actions_reference.rb', line 32

def self.jsii_properties
  {
    :domain_id => "domainId",
    :environment_actions_id => "environmentActionsId",
    :environment_id => "environmentId",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_datazone/environment_actions_reference.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "domainId" => @domain_id,
    "environmentActionsId" => @environment_actions_id,
    "environmentId" => @environment_id,
  })
  result.compact
end