Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayClientTLSCertificateProperty

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

Overview

An object that represents the virtual gateway's client's Transport Layer Security (TLS) certificate.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file: nil, sds: nil) ⇒ VirtualGatewayClientTLSCertificateProperty

Returns a new instance of VirtualGatewayClientTLSCertificateProperty.

Parameters:



941
942
943
944
945
946
# File 'app_mesh/cfn_virtual_gateway.rb', line 941

def initialize(file: nil, sds: nil)
  @file = file.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSFileCertificateProperty.new(**file.transform_keys(&:to_sym)) : file
  Jsii::Type.check_type(@file, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5TGlzdGVuZXJUbHNGaWxlQ2VydGlmaWNhdGVQcm9wZXJ0eSJ9XX19")), "file") unless @file.nil?
  @sds = sds.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSSdsCertificateProperty.new(**sds.transform_keys(&:to_sym)) : sds
  Jsii::Type.check_type(@sds, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5TGlzdGVuZXJUbHNTZHNDZXJ0aWZpY2F0ZVByb3BlcnR5In1dfX0=")), "sds") unless @sds.nil?
end

Instance Attribute Details

#fileAWSCDK::IResolvable, ... (readonly)

An object that represents a local file certificate.

The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS) .



954
955
956
# File 'app_mesh/cfn_virtual_gateway.rb', line 954

def file
  @file
end

#sdsAWSCDK::IResolvable, ... (readonly)

A reference to an object that represents a virtual gateway's client's Secret Discovery Service certificate.



959
960
961
# File 'app_mesh/cfn_virtual_gateway.rb', line 959

def sds
  @sds
end

Class Method Details

.jsii_propertiesObject



961
962
963
964
965
966
# File 'app_mesh/cfn_virtual_gateway.rb', line 961

def self.jsii_properties
  {
    :file => "file",
    :sds => "sds",
  }
end

Instance Method Details

#to_jsiiObject



968
969
970
971
972
973
974
975
# File 'app_mesh/cfn_virtual_gateway.rb', line 968

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