Struct aws_sdk_kendra::types::ConfluenceConfiguration
source · #[non_exhaustive]pub struct ConfluenceConfiguration {
pub server_url: String,
pub secret_arn: String,
pub version: ConfluenceVersion,
pub space_configuration: Option<ConfluenceSpaceConfiguration>,
pub page_configuration: Option<ConfluencePageConfiguration>,
pub blog_configuration: Option<ConfluenceBlogConfiguration>,
pub attachment_configuration: Option<ConfluenceAttachmentConfiguration>,
pub vpc_configuration: Option<DataSourceVpcConfiguration>,
pub inclusion_patterns: Option<Vec<String>>,
pub exclusion_patterns: Option<Vec<String>>,
pub proxy_configuration: Option<ProxyConfiguration>,
pub authentication_type: Option<ConfluenceAuthenticationType>,
}Expand description
Provides the configuration information to connect to Confluence as your data source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.server_url: StringThe URL of your Confluence instance. Use the full URL of the server. For example, https://server.example.com:port/. You can also use an IP address, for example, https://192.168.1.113/.
secret_arn: StringThe Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the Confluence instance. If you use Confluence Cloud, you use a generated API token as the password.
You can also provide authentication credentials in the form of a personal access token. For more information, see Using a Confluence data source.
version: ConfluenceVersionThe version or the type of Confluence installation to connect to.
space_configuration: Option<ConfluenceSpaceConfiguration>Configuration information for indexing Confluence spaces.
page_configuration: Option<ConfluencePageConfiguration>Configuration information for indexing Confluence pages.
blog_configuration: Option<ConfluenceBlogConfiguration>Configuration information for indexing Confluence blogs.
attachment_configuration: Option<ConfluenceAttachmentConfiguration>Configuration information for indexing attachments to Confluence blogs and pages.
vpc_configuration: Option<DataSourceVpcConfiguration>Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.
inclusion_patterns: Option<Vec<String>>A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
exclusion_patterns: Option<Vec<String>>A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
proxy_configuration: Option<ProxyConfiguration>Configuration information to connect to your Confluence URL instance via a web proxy. You can use this option for Confluence Server.
You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
authentication_type: Option<ConfluenceAuthenticationType>Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token. You can use a personal access token for Confluence Server.
Implementations§
source§impl ConfluenceConfiguration
impl ConfluenceConfiguration
sourcepub fn server_url(&self) -> &str
pub fn server_url(&self) -> &str
The URL of your Confluence instance. Use the full URL of the server. For example, https://server.example.com:port/. You can also use an IP address, for example, https://192.168.1.113/.
sourcepub fn secret_arn(&self) -> &str
pub fn secret_arn(&self) -> &str
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the Confluence instance. If you use Confluence Cloud, you use a generated API token as the password.
You can also provide authentication credentials in the form of a personal access token. For more information, see Using a Confluence data source.
sourcepub fn version(&self) -> &ConfluenceVersion
pub fn version(&self) -> &ConfluenceVersion
The version or the type of Confluence installation to connect to.
sourcepub fn space_configuration(&self) -> Option<&ConfluenceSpaceConfiguration>
pub fn space_configuration(&self) -> Option<&ConfluenceSpaceConfiguration>
Configuration information for indexing Confluence spaces.
sourcepub fn page_configuration(&self) -> Option<&ConfluencePageConfiguration>
pub fn page_configuration(&self) -> Option<&ConfluencePageConfiguration>
Configuration information for indexing Confluence pages.
sourcepub fn blog_configuration(&self) -> Option<&ConfluenceBlogConfiguration>
pub fn blog_configuration(&self) -> Option<&ConfluenceBlogConfiguration>
Configuration information for indexing Confluence blogs.
sourcepub fn attachment_configuration(
&self
) -> Option<&ConfluenceAttachmentConfiguration>
pub fn attachment_configuration( &self ) -> Option<&ConfluenceAttachmentConfiguration>
Configuration information for indexing attachments to Confluence blogs and pages.
sourcepub fn vpc_configuration(&self) -> Option<&DataSourceVpcConfiguration>
pub fn vpc_configuration(&self) -> Option<&DataSourceVpcConfiguration>
Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.
sourcepub fn inclusion_patterns(&self) -> &[String]
pub fn inclusion_patterns(&self) -> &[String]
A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .inclusion_patterns.is_none().
sourcepub fn exclusion_patterns(&self) -> &[String]
pub fn exclusion_patterns(&self) -> &[String]
A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .exclusion_patterns.is_none().
sourcepub fn proxy_configuration(&self) -> Option<&ProxyConfiguration>
pub fn proxy_configuration(&self) -> Option<&ProxyConfiguration>
Configuration information to connect to your Confluence URL instance via a web proxy. You can use this option for Confluence Server.
You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS.
Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager.
It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
sourcepub fn authentication_type(&self) -> Option<&ConfluenceAuthenticationType>
pub fn authentication_type(&self) -> Option<&ConfluenceAuthenticationType>
Whether you want to connect to Confluence using basic authentication of user name and password, or a personal access token. You can use a personal access token for Confluence Server.
source§impl ConfluenceConfiguration
impl ConfluenceConfiguration
sourcepub fn builder() -> ConfluenceConfigurationBuilder
pub fn builder() -> ConfluenceConfigurationBuilder
Creates a new builder-style object to manufacture ConfluenceConfiguration.
Trait Implementations§
source§impl Clone for ConfluenceConfiguration
impl Clone for ConfluenceConfiguration
source§fn clone(&self) -> ConfluenceConfiguration
fn clone(&self) -> ConfluenceConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConfluenceConfiguration
impl Debug for ConfluenceConfiguration
source§impl PartialEq for ConfluenceConfiguration
impl PartialEq for ConfluenceConfiguration
source§fn eq(&self, other: &ConfluenceConfiguration) -> bool
fn eq(&self, other: &ConfluenceConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfluenceConfiguration
Auto Trait Implementations§
impl Freeze for ConfluenceConfiguration
impl RefUnwindSafe for ConfluenceConfiguration
impl Send for ConfluenceConfiguration
impl Sync for ConfluenceConfiguration
impl Unpin for ConfluenceConfiguration
impl UnwindSafe for ConfluenceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more