# SharePointSourceConfigurationProperty

The endpoint information to connect to your SharePoint data source.

- Source: Generated at build time
- Type last changed: v2.154.1 · 23 Aug 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const sharePointSourceConfigurationProperty: bedrock.CfnDataSource.SharePointSourceConfigurationProperty = {
  authType: 'authType',
  credentialsSecretArn: 'credentialsSecretArn',
  domain: 'domain',
  hostType: 'hostType',
  siteUrls: ['siteUrls'],

  // the properties below are optional
  tenantId: 'tenantId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

share_point_source_configuration_property = bedrock.CfnDataSource.SharePointSourceConfigurationProperty(
    auth_type="authType",
    credentials_secret_arn="credentialsSecretArn",
    domain="domain",
    host_type="hostType",
    site_urls=["siteUrls"],

    # the properties below are optional
    tenant_id="tenantId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

SharePointSourceConfigurationProperty sharePointSourceConfigurationProperty = SharePointSourceConfigurationProperty.builder()
        .authType("authType")
        .credentialsSecretArn("credentialsSecretArn")
        .domain("domain")
        .hostType("hostType")
        .siteUrls(List.of("siteUrls"))

        // the properties below are optional
        .tenantId("tenantId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var sharePointSourceConfigurationProperty = new SharePointSourceConfigurationProperty {
    AuthType = "authType",
    CredentialsSecretArn = "credentialsSecretArn",
    Domain = "domain",
    HostType = "hostType",
    SiteUrls = new [] { "siteUrls" },

    // the properties below are optional
    TenantId = "tenantId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

sharePointSourceConfigurationProperty := &SharePointSourceConfigurationProperty{
	AuthType: jsii.String("authType"),
	CredentialsSecretArn: jsii.String("credentialsSecretArn"),
	Domain: jsii.String("domain"),
	HostType: jsii.String("hostType"),
	SiteUrls: []*string{
		jsii.String("siteUrls"),
	},

	// the properties below are optional
	TenantId: jsii.String("tenantId"),
}
```

## Properties

- `authType`: string (required) — The supported authentication type to authenticate and connect to your SharePoint site/sites.

- `credentialsSecretArn`: string (required) — The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites.

  For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see [SharePoint connection configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/sharepoint-data-source-connector.html#configuration-sharepoint-connector) .

- `domain`: string (required) — The domain of your SharePoint instance or site URL/URLs.

- `hostType`: string (required) — The supported host type, whether online/cloud or server/on-premises.

- `siteUrls`: string[] (required) — A list of one or more SharePoint site URLs.

- `tenantId`: string — The identifier of your Microsoft 365 tenant.
