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