Class CfnWorkloadIdentity.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnWorkloadIdentity.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkloadIdentity>
- Enclosing class:
CfnWorkloadIdentity
@Stability(Stable)
public static final class CfnWorkloadIdentity.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkloadIdentity>
A fluent builder for
CfnWorkloadIdentity.-
Method Summary
Modifier and TypeMethodDescriptionallowedResourceOauth2ReturnUrls(List<String> allowedResourceOauth2ReturnUrls) The list of allowed OAuth2 return URLs for resources associated with this workload identity.build()static CfnWorkloadIdentity.BuilderThe name of the workload identity.The tags for the workload identity.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkloadIdentity.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkloadIdentity.Builder.
-
name
The name of the workload identity.The name must be unique within your account.
- Parameters:
name- The name of the workload identity. This parameter is required.- Returns:
this- See Also:
-
allowedResourceOauth2ReturnUrls
@Stability(Stable) public CfnWorkloadIdentity.Builder allowedResourceOauth2ReturnUrls(List<String> allowedResourceOauth2ReturnUrls) The list of allowed OAuth2 return URLs for resources associated with this workload identity.- Parameters:
allowedResourceOauth2ReturnUrls- The list of allowed OAuth2 return URLs for resources associated with this workload identity. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the workload identity.- Parameters:
tags- The tags for the workload identity. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkloadIdentity>- Returns:
- a newly built instance of
CfnWorkloadIdentity.
-