Class: AWSCDK::Interfaces::AWSS3Express::AccessPointReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSS3Express::AccessPointReference
- Defined in:
- interfaces/awss3_express/access_point_reference.rb
Overview
A reference to a AccessPoint resource.
Instance Attribute Summary collapse
-
#access_point_arn ⇒ String
readonly
The ARN of the AccessPoint resource.
-
#access_point_name ⇒ String
readonly
The Name of the AccessPoint resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_point_arn:, access_point_name:) ⇒ AccessPointReference
constructor
A new instance of AccessPointReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_point_arn:, access_point_name:) ⇒ AccessPointReference
Returns a new instance of AccessPointReference.
9 10 11 12 13 14 |
# File 'interfaces/awss3_express/access_point_reference.rb', line 9 def initialize(access_point_arn:, access_point_name:) @access_point_arn = access_point_arn Jsii::Type.check_type(@access_point_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessPointArn") @access_point_name = access_point_name Jsii::Type.check_type(@access_point_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessPointName") end |
Instance Attribute Details
#access_point_arn ⇒ String (readonly)
The ARN of the AccessPoint resource.
19 20 21 |
# File 'interfaces/awss3_express/access_point_reference.rb', line 19 def access_point_arn @access_point_arn end |
#access_point_name ⇒ String (readonly)
The Name of the AccessPoint resource.
23 24 25 |
# File 'interfaces/awss3_express/access_point_reference.rb', line 23 def access_point_name @access_point_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/awss3_express/access_point_reference.rb', line 25 def self.jsii_properties { :access_point_arn => "accessPointArn", :access_point_name => "accessPointName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/awss3_express/access_point_reference.rb', line 32 def to_jsii result = {} result.merge!({ "accessPointArn" => @access_point_arn, "accessPointName" => @access_point_name, }) result.compact end |