Class: AWSCDK::Pipes::CfnPipe::MSKAccessCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::MSKAccessCredentialsProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
The AWS Secrets Manager secret that stores your stream credentials.
Instance Attribute Summary collapse
-
#client_certificate_tls_auth ⇒ String?
readonly
The ARN of the Secrets Manager secret.
-
#sasl_scram512_auth ⇒ String?
readonly
The ARN of the Secrets Manager secret.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_certificate_tls_auth: nil, sasl_scram512_auth: nil) ⇒ MSKAccessCredentialsProperty
constructor
A new instance of MSKAccessCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_certificate_tls_auth: nil, sasl_scram512_auth: nil) ⇒ MSKAccessCredentialsProperty
Returns a new instance of MSKAccessCredentialsProperty.
1884 1885 1886 1887 1888 1889 |
# File 'pipes/cfn_pipe.rb', line 1884 def initialize(client_certificate_tls_auth: nil, sasl_scram512_auth: nil) @client_certificate_tls_auth = client_certificate_tls_auth Jsii::Type.check_type(@client_certificate_tls_auth, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientCertificateTlsAuth") unless @client_certificate_tls_auth.nil? @sasl_scram512_auth = sasl_scram512_auth Jsii::Type.check_type(@sasl_scram512_auth, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "saslScram512Auth") unless @sasl_scram512_auth.nil? end |
Instance Attribute Details
#client_certificate_tls_auth ⇒ String? (readonly)
The ARN of the Secrets Manager secret.
1895 1896 1897 |
# File 'pipes/cfn_pipe.rb', line 1895 def client_certificate_tls_auth @client_certificate_tls_auth end |
#sasl_scram512_auth ⇒ String? (readonly)
The ARN of the Secrets Manager secret.
1900 1901 1902 |
# File 'pipes/cfn_pipe.rb', line 1900 def sasl_scram512_auth @sasl_scram512_auth end |
Class Method Details
.jsii_properties ⇒ Object
1902 1903 1904 1905 1906 1907 |
# File 'pipes/cfn_pipe.rb', line 1902 def self.jsii_properties { :client_certificate_tls_auth => "clientCertificateTlsAuth", :sasl_scram512_auth => "saslScram512Auth", } end |
Instance Method Details
#to_jsii ⇒ Object
1909 1910 1911 1912 1913 1914 1915 1916 |
# File 'pipes/cfn_pipe.rb', line 1909 def to_jsii result = {} result.merge!({ "clientCertificateTlsAuth" => @client_certificate_tls_auth, "saslScram512Auth" => @sasl_scram512_auth, }) result.compact end |