Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayTLSValidationContextSdsTrustProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_mesh/cfn_virtual_gateway.rb

Overview

An object that represents a virtual gateway's listener's Transport Layer Security (TLS) Secret Discovery Service validation context trust.

The proxy must be configured with a local SDS provider via a Unix Domain Socket. See App Mesh TLS documentation for more info.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secret_name:) ⇒ VirtualGatewayTLSValidationContextSdsTrustProperty

Returns a new instance of VirtualGatewayTLSValidationContextSdsTrustProperty.

Parameters:

  • secret_name (String)

    A reference to an object that represents the name of the secret for a virtual gateway's Transport Layer Security (TLS) Secret Discovery Service validation context trust.



1913
1914
1915
1916
# File 'app_mesh/cfn_virtual_gateway.rb', line 1913

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

Instance Attribute Details

#secret_nameString (readonly)

A reference to an object that represents the name of the secret for a virtual gateway's Transport Layer Security (TLS) Secret Discovery Service validation context trust.



1922
1923
1924
# File 'app_mesh/cfn_virtual_gateway.rb', line 1922

def secret_name
  @secret_name
end

Class Method Details

.jsii_propertiesObject



1924
1925
1926
1927
1928
# File 'app_mesh/cfn_virtual_gateway.rb', line 1924

def self.jsii_properties
  {
    :secret_name => "secretName",
  }
end

Instance Method Details

#to_jsiiObject



1930
1931
1932
1933
1934
1935
1936
# File 'app_mesh/cfn_virtual_gateway.rb', line 1930

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