ObjectStorageExternalIdentityConfigProperty Struct
Specifies the external (non-AWS) identity provider that DataSync federates with to access your object storage location.
| Source | |
|---|---|
| Type last changed |
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 objectStorageExternalIdentityConfigProperty: datasync.CfnLocationObjectStorage.ObjectStorageExternalIdentityConfigProperty = {
googleOidc: {
identityPoolName: 'identityPoolName',
identityProviderName: 'identityProviderName',
projectName: 'projectName',
projectNumber: 'projectNumber',
},
};
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
object_storage_external_identity_config_property = datasync.CfnLocationObjectStorage.ObjectStorageExternalIdentityConfigProperty(
google_oidc=datasync.CfnLocationObjectStorage.GoogleOidcConfigProperty(
identity_pool_name="identityPoolName",
identity_provider_name="identityProviderName",
project_name="projectName",
project_number="projectNumber"
)
)
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.*;
ObjectStorageExternalIdentityConfigProperty objectStorageExternalIdentityConfigProperty = ObjectStorageExternalIdentityConfigProperty.builder()
.googleOidc(GoogleOidcConfigProperty.builder()
.identityPoolName("identityPoolName")
.identityProviderName("identityProviderName")
.projectName("projectName")
.projectNumber("projectNumber")
.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 objectStorageExternalIdentityConfigProperty = new ObjectStorageExternalIdentityConfigProperty {
GoogleOidc = new GoogleOidcConfigProperty {
IdentityPoolName = "identityPoolName",
IdentityProviderName = "identityProviderName",
ProjectName = "projectName",
ProjectNumber = "projectNumber"
}
};
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"
objectStorageExternalIdentityConfigProperty := &ObjectStorageExternalIdentityConfigProperty{
GoogleOidc: &GoogleOidcConfigProperty{
IdentityPoolName: jsii.String("identityPoolName"),
IdentityProviderName: jsii.String("identityProviderName"),
ProjectName: jsii.String("projectName"),
ProjectNumber: jsii.String("projectNumber"),
},
}
Properties
googleOidcoptionalIResolvable | CfnLocationObjectStorage.google_oidcoptionaltyping.Union[IResolvable, GoogleOidcConfigProperty]googleOidcoptionalIResolvableGoogleOidcoptionalIResolvableGoogleOidcoptionalinterface{} #Specifies the Google Cloud workload identity federation configuration that DataSync uses to obtain an access token for your Google Cloud Storage bucket.