Skip to content
v2.278.0

AzureOidcConfigProperty Struct ​

Specifies the Microsoft Entra (Azure AD) identity that DataSync federates with to obtain an access token for your Azure Blob Storage container.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const azureOidcConfigProperty: datasync.CfnLocationAzureBlob.AzureOidcConfigProperty = {
  clientId: 'clientId',
  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_datasync as datasync

azure_oidc_config_property = datasync.CfnLocationAzureBlob.AzureOidcConfigProperty(
    client_id="clientId",
    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.datasync.*;

AzureOidcConfigProperty azureOidcConfigProperty = AzureOidcConfigProperty.builder()
        .clientId("clientId")
        .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.DataSync;

var azureOidcConfigProperty = new AzureOidcConfigProperty {
    ClientId = "clientId",
    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"

azureOidcConfigProperty := &AzureOidcConfigProperty{
	ClientId: jsii.String("clientId"),
	TenantId: jsii.String("tenantId"),
}

Properties ​

clientIdstringclient_idstrclientIdStringClientIdstringClientId*string required #
Specifies the client ID of the Microsoft Entra (Azure AD) identity that DataSync uses to obtain an access token.
tenantIdstringtenant_idstrtenantIdStringTenantIdstringTenantId*string required #
Specifies the Microsoft Entra (Azure AD) tenant ID that the identity belongs to.