Class: AWSCDK::Bedrock::CfnDataSource::ConfluenceSourceConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_data_source.rb

Overview

The endpoint information to connect to your Confluence data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auth_type:, credentials_secret_arn:, host_type:, host_url:) ⇒ ConfluenceSourceConfigurationProperty

Returns a new instance of ConfluenceSourceConfigurationProperty.

Parameters:

  • auth_type (String)

    The supported authentication type to authenticate and connect to your Confluence instance.

  • credentials_secret_arn (String)

    The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Confluence instance URL.

  • host_type (String)

    The supported host type, whether online/cloud or server/on-premises.

  • host_url (String)

    The Confluence host URL or instance URL.



966
967
968
969
970
971
972
973
974
975
# File 'bedrock/cfn_data_source.rb', line 966

def initialize(auth_type:, credentials_secret_arn:, host_type:, host_url:)
  @auth_type = auth_type
  Jsii::Type.check_type(@auth_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authType")
  @credentials_secret_arn = credentials_secret_arn
  Jsii::Type.check_type(@credentials_secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "credentialsSecretArn")
  @host_type = host_type
  Jsii::Type.check_type(@host_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostType")
  @host_url = host_url
  Jsii::Type.check_type(@host_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostUrl")
end

Instance Attribute Details

#auth_typeString (readonly)

The supported authentication type to authenticate and connect to your Confluence instance.



981
982
983
# File 'bedrock/cfn_data_source.rb', line 981

def auth_type
  @auth_type
end

#credentials_secret_arnString (readonly)

The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Confluence instance URL.

For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Confluence connection configuration .



988
989
990
# File 'bedrock/cfn_data_source.rb', line 988

def credentials_secret_arn
  @credentials_secret_arn
end

#host_typeString (readonly)

The supported host type, whether online/cloud or server/on-premises.



993
994
995
# File 'bedrock/cfn_data_source.rb', line 993

def host_type
  @host_type
end

#host_urlString (readonly)

The Confluence host URL or instance URL.



998
999
1000
# File 'bedrock/cfn_data_source.rb', line 998

def host_url
  @host_url
end

Class Method Details

.jsii_propertiesObject



1000
1001
1002
1003
1004
1005
1006
1007
# File 'bedrock/cfn_data_source.rb', line 1000

def self.jsii_properties
  {
    :auth_type => "authType",
    :credentials_secret_arn => "credentialsSecretArn",
    :host_type => "hostType",
    :host_url => "hostUrl",
  }
end

Instance Method Details

#to_jsiiObject



1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'bedrock/cfn_data_source.rb', line 1009

def to_jsii
  result = {}
  result.merge!({
    "authType" => @auth_type,
    "credentialsSecretArn" => @credentials_secret_arn,
    "hostType" => @host_type,
    "hostUrl" => @host_url,
  })
  result.compact
end