Class: AWSCDK::Pipes::CfnPipe::MQBrokerAccessCredentialsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pipes/cfn_pipe.rb

Overview

The AWS Secrets Manager secret that stores your broker credentials.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(basic_auth:) ⇒ MQBrokerAccessCredentialsProperty

Returns a new instance of MQBrokerAccessCredentialsProperty.

Parameters:

  • basic_auth (String)

    The ARN of the Secrets Manager secret.



1850
1851
1852
1853
# File 'pipes/cfn_pipe.rb', line 1850

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

Instance Attribute Details

#basic_authString (readonly)

The ARN of the Secrets Manager secret.



1859
1860
1861
# File 'pipes/cfn_pipe.rb', line 1859

def basic_auth
  @basic_auth
end

Class Method Details

.jsii_propertiesObject



1861
1862
1863
1864
1865
# File 'pipes/cfn_pipe.rb', line 1861

def self.jsii_properties
  {
    :basic_auth => "basicAuth",
  }
end

Instance Method Details

#to_jsiiObject



1867
1868
1869
1870
1871
1872
1873
# File 'pipes/cfn_pipe.rb', line 1867

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