WorkloadIdentityProps
- class aws_cdk.aws_bedrock_agentcore_alpha.WorkloadIdentityProps(*, allowed_resource_oauth2_return_urls=None, tags=None, workload_identity_name=None)
Bases:
object(deprecated) Properties for a new {@link WorkloadIdentity}.
- Parameters:
allowed_resource_oauth2_return_urls (
Optional[Sequence[str]]) – (deprecated) Allowed OAuth2 return URLs for resources associated with this workload identity. Default: - no return URLstags (
Optional[Mapping[str,str]]) – (deprecated) Tags for this workload identity. Default: - no tagsworkload_identity_name (
Optional[str]) – (deprecated) Name of the workload identity. Default: - a name generated by CDK
- Deprecated:
Use the equivalent construct from
aws-cdk-lib/aws-bedrockagentcoreinstead.- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha workload_identity_props = bedrock_agentcore_alpha.WorkloadIdentityProps( allowed_resource_oauth2_return_urls=["allowedResourceOauth2ReturnUrls"], tags={ "tags_key": "tags" }, workload_identity_name="workloadIdentityName" )
Attributes
- allowed_resource_oauth2_return_urls
(deprecated) Allowed OAuth2 return URLs for resources associated with this workload identity.
- Default:
no return URLs
- Stability:
deprecated
- tags
(deprecated) Tags for this workload identity.
- Default:
no tags
- Stability:
deprecated
- workload_identity_name
(deprecated) Name of the workload identity.
- Default:
a name generated by CDK
- Stability:
deprecated