# AzureFederatedIdentityConfigProperty

Specifies the identity federation configuration that DataSync uses to access your Azure Blob Storage container using an OpenID Connect (OIDC) token.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```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 azureFederatedIdentityConfigProperty: datasync.CfnLocationAzureBlob.AzureFederatedIdentityConfigProperty = {
  awsIamRole: 'awsIamRole',
  azureOidc: {
    clientId: 'clientId',
    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_datasync as datasync

azure_federated_identity_config_property = datasync.CfnLocationAzureBlob.AzureFederatedIdentityConfigProperty(
    aws_iam_role="awsIamRole",
    azure_oidc=datasync.CfnLocationAzureBlob.AzureOidcConfigProperty(
        client_id="clientId",
        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.datasync.*;

AzureFederatedIdentityConfigProperty azureFederatedIdentityConfigProperty = AzureFederatedIdentityConfigProperty.builder()
        .awsIamRole("awsIamRole")
        .azureOidc(AzureOidcConfigProperty.builder()
                .clientId("clientId")
                .tenantId("tenantId")
                .build())
        .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.DataSync;

var azureFederatedIdentityConfigProperty = new AzureFederatedIdentityConfigProperty {
    AwsIamRole = "awsIamRole",
    AzureOidc = new AzureOidcConfigProperty {
        ClientId = "clientId",
        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"

azureFederatedIdentityConfigProperty := &AzureFederatedIdentityConfigProperty{
	AwsIamRole: jsii.String("awsIamRole"),
	AzureOidc: &AzureOidcConfigProperty{
		ClientId: jsii.String("clientId"),
		TenantId: jsii.String("tenantId"),
	},
}
```

## Properties

- `awsIamRole`: string — Specifies the ARN of the AWS Identity and Access Management (IAM) role that DataSync assumes to mint the OIDC token used to authenticate with the identity provider.

- `azureOidc`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLocationAzureBlob.AzureOidcConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_datasync.CfnLocationAzureBlob.AzureOidcConfigProperty.html) — Specifies the Microsoft Entra (Azure AD) identity that DataSync federates with to obtain an access token for your Azure Blob Storage container.
