Class: AWSCDK::SES::CfnTenant::ResourceAssociationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnTenant::ResourceAssociationProperty
- Defined in:
- ses/cfn_tenant.rb
Overview
The resource to associate with the tenant.
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the resource associated with the tenant.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_arn:) ⇒ ResourceAssociationProperty
constructor
A new instance of ResourceAssociationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_arn:) ⇒ ResourceAssociationProperty
Returns a new instance of ResourceAssociationProperty.
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_arn ⇒ String (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_properties ⇒ Object
556 557 558 559 560 |
# File 'ses/cfn_tenant.rb', line 556 def self.jsii_properties { :resource_arn => "resourceArn", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |