Class: AWSCDK::Interfaces::AWSS3Objectlambda::AccessPointPolicyReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awss3_objectlambda/access_point_policy_reference.rb

Overview

A reference to a AccessPointPolicy resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object_lambda_access_point:) ⇒ AccessPointPolicyReference

Returns a new instance of AccessPointPolicyReference.

Parameters:

  • object_lambda_access_point (String)

    The ObjectLambdaAccessPoint of the AccessPointPolicy resource.



8
9
10
11
# File 'interfaces/awss3_objectlambda/access_point_policy_reference.rb', line 8

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

Instance Attribute Details

#object_lambda_access_pointString (readonly)

The ObjectLambdaAccessPoint of the AccessPointPolicy resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awss3_objectlambda/access_point_policy_reference.rb', line 16

def object_lambda_access_point
  @object_lambda_access_point
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/awss3_objectlambda/access_point_policy_reference.rb', line 18

def self.jsii_properties
  {
    :object_lambda_access_point => "objectLambdaAccessPoint",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/awss3_objectlambda/access_point_policy_reference.rb', line 24

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