Class: AWSCDK::Interfaces::AWSVpclattice::AuthPolicyReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_vpclattice/auth_policy_reference.rb

Overview

A reference to a AuthPolicy resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_identifier:) ⇒ AuthPolicyReference

Returns a new instance of AuthPolicyReference.

Parameters:

  • resource_identifier (String)

    The ResourceIdentifier of the AuthPolicy resource.



8
9
10
11
# File 'interfaces/aws_vpclattice/auth_policy_reference.rb', line 8

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

Instance Attribute Details

#resource_identifierString (readonly)

The ResourceIdentifier of the AuthPolicy resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_vpclattice/auth_policy_reference.rb', line 16

def resource_identifier
  @resource_identifier
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_vpclattice/auth_policy_reference.rb', line 18

def self.jsii_properties
  {
    :resource_identifier => "resourceIdentifier",
  }
end

Instance Method Details

#to_jsiiObject



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

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