Skip to content
v2.278.0

AzureFederatedIdentityConfigProperty Struct ​

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

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 azureFederatedIdentityConfigProperty: datasync.CfnLocationAzureBlob.AzureFederatedIdentityConfigProperty = {
  awsIamRole: 'awsIamRole',
  azureOidc: {
    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_federated_identity_config_property = datasync.CfnLocationAzureBlob.AzureFederatedIdentityConfigProperty(
    aws_iam_role="awsIamRole",
    azure_oidc=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.*;

AzureFederatedIdentityConfigProperty azureFederatedIdentityConfigProperty = AzureFederatedIdentityConfigProperty.builder()
        .awsIamRole("awsIamRole")
        .azureOidc(AzureOidcConfigProperty.builder()
                .clientId("clientId")
                .tenantId("tenantId")
                .build())
        .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 azureFederatedIdentityConfigProperty = new AzureFederatedIdentityConfigProperty {
    AwsIamRole = "awsIamRole",
    AzureOidc = 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"

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

Properties ​

awsIamRoleoptionalstringaws_iam_roleoptionalstrawsIamRoleoptionalStringAwsIamRoleoptionalstringAwsIamRoleoptional*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.
azureOidcoptionalIResolvable | CfnLocationAzureBlob.AzureOidcConfigPropertyazure_oidcoptionaltyping.Union[IResolvable, AzureOidcConfigProperty]azureOidcoptionalIResolvableAzureOidcoptionalIResolvableAzureOidcoptionalinterface{} #
Specifies the Microsoft Entra (Azure AD) identity that DataSync federates with to obtain an access token for your Azure Blob Storage container.