Class: AWSCDK::Interfaces::AWSSES::TenantReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsses/tenant_reference.rb

Overview

A reference to a Tenant resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tenant_arn:, tenant_name:) ⇒ TenantReference

Returns a new instance of TenantReference.

Parameters:

  • tenant_arn (String)

    The ARN of the Tenant resource.

  • tenant_name (String)

    The TenantName of the Tenant resource.



9
10
11
12
13
14
# File 'interfaces/awsses/tenant_reference.rb', line 9

def initialize(tenant_arn:, tenant_name:)
  @tenant_arn = tenant_arn
  Jsii::Type.check_type(@tenant_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tenantArn")
  @tenant_name = tenant_name
  Jsii::Type.check_type(@tenant_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tenantName")
end

Instance Attribute Details

#tenant_arnString (readonly)

The ARN of the Tenant resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/awsses/tenant_reference.rb', line 19

def tenant_arn
  @tenant_arn
end

#tenant_nameString (readonly)

The TenantName of the Tenant resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/awsses/tenant_reference.rb', line 23

def tenant_name
  @tenant_name
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/awsses/tenant_reference.rb', line 25

def self.jsii_properties
  {
    :tenant_arn => "tenantArn",
    :tenant_name => "tenantName",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/awsses/tenant_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "tenantArn" => @tenant_arn,
    "tenantName" => @tenant_name,
  })
  result.compact
end