Skip to content
v2.278.0

SharePointSourceConfigurationProperty Struct ​

The endpoint information to connect to your SharePoint data source.

Example ​

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
# 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
// 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();
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"
};
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 ​

authTypestringauth_typestrauthTypeStringAuthTypestringAuthType*string required #
The supported authentication type to authenticate and connect to your SharePoint site/sites.
credentialsSecretArnstringcredentials_secret_arnstrcredentialsSecretArnStringCredentialsSecretArnstringCredentialsSecretArn*string required #
The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites.
notes

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

domainstringdomainstrdomainStringDomainstringDomain*string required #
The domain of your SharePoint instance or site URL/URLs.
hostTypestringhost_typestrhostTypeStringHostTypestringHostType*string required #
The supported host type, whether online/cloud or server/on-premises.
siteUrlsstring[]site_urlstyping.List[str]siteUrlsList<String>SiteUrlsstring[]SiteUrls*[]*string required #
A list of one or more SharePoint site URLs.
tenantIdoptionalstringtenant_idoptionalstrtenantIdoptionalStringTenantIdoptionalstringTenantIdoptional*string #
The identifier of your Microsoft 365 tenant.