Skip to content
v2.274.0

CfnWorkloadIdentityProps Struct ​

Properties for defining a CfnWorkloadIdentity.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnWorkloadIdentityProps: bedrockagentcore.CfnWorkloadIdentityProps = {
  name: 'name',

  // the properties below are optional
  allowedResourceOauth2ReturnUrls: ['allowedResourceOauth2ReturnUrls'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

allowedResourceOauth2ReturnUrlsoptionalstring[]allowed_resource_oauth2_return_urlsoptionaltyping.List[str]allowedResourceOauth2ReturnUrlsoptionalList<String>AllowedResourceOauth2ReturnUrlsoptionalstring[]AllowedResourceOauth2ReturnUrlsoptional*[]*string#
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the workload identity.

The name must be unique within your account.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags for the workload identity.