Class: AWSCDK::Interfaces::AWSDirectoryservice::SimpleADReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_directoryservice/simple_ad_reference.rb

Overview

A reference to a SimpleAD resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(directory_id:) ⇒ SimpleADReference

Returns a new instance of SimpleADReference.

Parameters:

  • directory_id (String)

    The DirectoryId of the SimpleAD resource.



8
9
10
11
# File 'interfaces/aws_directoryservice/simple_ad_reference.rb', line 8

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

Instance Attribute Details

#directory_idString (readonly)

The DirectoryId of the SimpleAD resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_directoryservice/simple_ad_reference.rb', line 16

def directory_id
  @directory_id
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_directoryservice/simple_ad_reference.rb', line 18

def self.jsii_properties
  {
    :directory_id => "directoryId",
  }
end

Instance Method Details

#to_jsiiObject



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

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