Skip to content
v2.274.0

ObjectStorageFederatedIdentityConfigProperty Struct ​

Specifies the identity federation configuration that DataSync uses to access your object storage location 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 objectStorageFederatedIdentityConfigProperty: datasync.CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty = {
  awsIamRole: 'awsIamRole',
  externalIdentity: {
    googleOidc: {
      identityPoolName: 'identityPoolName',
      identityProviderName: 'identityProviderName',
      projectName: 'projectName',
      projectNumber: 'projectNumber',
    },
  },
};

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.
externalIdentityoptionalIResolvable | CfnLocationObjectStorage.ObjectStorageExternalIdentityConfigPropertyexternal_identityoptionaltyping.Union[IResolvable, ObjectStorageExternalIdentityConfigProperty]externalIdentityoptionalIResolvableExternalIdentityoptionalIResolvableExternalIdentityoptionalinterface{}#
Specifies the external (non-AWS) identity provider that DataSync federates with to access your object storage location.