# GoogleOidcConfigProperty

Specifies the Google Cloud workload identity federation configuration that DataSync uses to obtain an access token for your Google Cloud Storage bucket.

- 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 googleOidcConfigProperty: datasync.CfnLocationObjectStorage.GoogleOidcConfigProperty = {
  identityPoolName: 'identityPoolName',
  identityProviderName: 'identityProviderName',
  projectName: 'projectName',
  projectNumber: 'projectNumber',
};
```

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

google_oidc_config_property = datasync.CfnLocationObjectStorage.GoogleOidcConfigProperty(
    identity_pool_name="identityPoolName",
    identity_provider_name="identityProviderName",
    project_name="projectName",
    project_number="projectNumber"
)
```

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.*;

GoogleOidcConfigProperty googleOidcConfigProperty = GoogleOidcConfigProperty.builder()
        .identityPoolName("identityPoolName")
        .identityProviderName("identityProviderName")
        .projectName("projectName")
        .projectNumber("projectNumber")
        .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 googleOidcConfigProperty = new GoogleOidcConfigProperty {
    IdentityPoolName = "identityPoolName",
    IdentityProviderName = "identityProviderName",
    ProjectName = "projectName",
    ProjectNumber = "projectNumber"
};
```

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"

googleOidcConfigProperty := &GoogleOidcConfigProperty{
	IdentityPoolName: jsii.String("identityPoolName"),
	IdentityProviderName: jsii.String("identityProviderName"),
	ProjectName: jsii.String("projectName"),
	ProjectNumber: jsii.String("projectNumber"),
}
```

## Properties

- `identityPoolName`: string (required) — The name of the Google Cloud workload identity pool that DataSync federates with.

- `identityProviderName`: string (required) — The name of the OIDC identity provider configured in the Google Cloud workload identity pool.

- `projectName`: string (required) — The human-readable Google Cloud project name.

- `projectNumber`: string (required) — The numeric Google Cloud project ID, as a string.
