Interface CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Jsii$Proxy
- Enclosing class:
CfnLocationObjectStorage
@Stability(Stable)
public static interface CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the identity federation configuration that DataSync uses to access your object storage location using an OpenID Connect (OIDC) token.
Example:
// 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.*;
ObjectStorageFederatedIdentityConfigProperty objectStorageFederatedIdentityConfigProperty = ObjectStorageFederatedIdentityConfigProperty.builder()
.awsIamRole("awsIamRole")
.externalIdentity(ObjectStorageExternalIdentityConfigProperty.builder()
.googleOidc(GoogleOidcConfigProperty.builder()
.identityPoolName("identityPoolName")
.identityProviderName("identityProviderName")
.projectName("projectName")
.projectNumber("projectNumber")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecifies 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.default ObjectSpecifies the external (non-AWS) identity provider that DataSync federates with to access your object storage location.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsIamRole
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.- See Also:
-
getExternalIdentity
Specifies the external (non-AWS) identity provider that DataSync federates with to access your object storage location.Returns union: either
IResolvableorCfnLocationObjectStorage.ObjectStorageExternalIdentityConfigProperty- See Also:
-
builder
@Stability(Stable) static CfnLocationObjectStorage.ObjectStorageFederatedIdentityConfigProperty.Builder builder()
-