Class: AWSCDK::SES::CfnTenant::ResourceAssociationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ses/cfn_tenant.rb

Overview

The resource to associate with the tenant.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_arn:) ⇒ ResourceAssociationProperty

Returns a new instance of ResourceAssociationProperty.

Parameters:

  • resource_arn (String)

    The Amazon Resource Name (ARN) of the resource associated with the tenant.



545
546
547
548
# File 'ses/cfn_tenant.rb', line 545

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

Instance Attribute Details

#resource_arnString (readonly)

The Amazon Resource Name (ARN) of the resource associated with the tenant.



554
555
556
# File 'ses/cfn_tenant.rb', line 554

def resource_arn
  @resource_arn
end

Class Method Details

.jsii_propertiesObject



556
557
558
559
560
# File 'ses/cfn_tenant.rb', line 556

def self.jsii_properties
  {
    :resource_arn => "resourceArn",
  }
end

Instance Method Details

#to_jsiiObject



562
563
564
565
566
567
568
# File 'ses/cfn_tenant.rb', line 562

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