Class: AWSCDK::AppMesh::CfnVirtualNode::TLSValidationContextSdsTrustProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualNode::TLSValidationContextSdsTrustProperty
- Defined in:
- app_mesh/cfn_virtual_node.rb
Overview
An object that represents a 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
-
#secret_name ⇒ String
readonly
A reference to an object that represents the name of the secret for a Transport Layer Security (TLS) Secret Discovery Service validation context trust.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(secret_name:) ⇒ TLSValidationContextSdsTrustProperty
constructor
A new instance of TLSValidationContextSdsTrustProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(secret_name:) ⇒ TLSValidationContextSdsTrustProperty
Returns a new instance of TLSValidationContextSdsTrustProperty.
2273 2274 2275 2276 |
# File 'app_mesh/cfn_virtual_node.rb', line 2273 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_name ⇒ String (readonly)
A reference to an object that represents the name of the secret for a Transport Layer Security (TLS) Secret Discovery Service validation context trust.
2282 2283 2284 |
# File 'app_mesh/cfn_virtual_node.rb', line 2282 def secret_name @secret_name end |
Class Method Details
.jsii_properties ⇒ Object
2284 2285 2286 2287 2288 |
# File 'app_mesh/cfn_virtual_node.rb', line 2284 def self.jsii_properties { :secret_name => "secretName", } end |
Instance Method Details
#to_jsii ⇒ Object
2290 2291 2292 2293 2294 2295 2296 |
# File 'app_mesh/cfn_virtual_node.rb', line 2290 def to_jsii result = {} result.merge!({ "secretName" => @secret_name, }) result.compact end |