CfnWorkloadIdentityProps
- class aws_cdk.aws_bedrockagentcore.CfnWorkloadIdentityProps(*, name, allowed_resource_oauth2_return_urls=None, tags=None)
Bases:
objectProperties for defining a
CfnWorkloadIdentity.- Parameters:
name (
str) – The name of the workload identity. The name must be unique within your account.allowed_resource_oauth2_return_urls (
Optional[Sequence[str]]) – The list of allowed OAuth2 return URLs for resources associated with this workload identity.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags for the workload identity.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrockagentcore as bedrockagentcore cfn_workload_identity_props = bedrockagentcore.CfnWorkloadIdentityProps( name="name", # the properties below are optional allowed_resource_oauth2_return_urls=["allowedResourceOauth2ReturnUrls"], tags=[CfnTag( key="key", value="value" )] )
Attributes
- allowed_resource_oauth2_return_urls
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- name
The name of the workload identity.
The name must be unique within your account.
- tags
The tags for the workload identity.