Class WorkloadIdentityProps
Properties for a new {@link WorkloadIdentity}.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WorkloadIdentityProps : IWorkloadIdentityProps
Syntax (vb)
Public Class WorkloadIdentityProps Implements IWorkloadIdentityProps
Remarks
ExampleMetadata: fixture=default infused
Examples
new WorkloadIdentity(this, "MyWorkloadIdentity", new WorkloadIdentityProps {
WorkloadIdentityName = "customer-support-agent-prod",
AllowedResourceOauth2ReturnUrls = new [] { "https://app.example.com/oauth/callback" },
Tags = new Dictionary<string, string> { { "team", "agents" }, { "env", "prod" } }
});
Synopsis
Constructors
| WorkloadIdentityProps() | Properties for a new {@link WorkloadIdentity}. |
Properties
| AllowedResourceOauth2ReturnUrls | Allowed OAuth2 return URLs for resources associated with this workload identity. |
| Tags | Tags for this workload identity. |
| WorkloadIdentityName | Name of the workload identity. |
Constructors
WorkloadIdentityProps()
Properties for a new {@link WorkloadIdentity}.
public WorkloadIdentityProps()
Remarks
ExampleMetadata: fixture=default infused
Examples
new WorkloadIdentity(this, "MyWorkloadIdentity", new WorkloadIdentityProps {
WorkloadIdentityName = "customer-support-agent-prod",
AllowedResourceOauth2ReturnUrls = new [] { "https://app.example.com/oauth/callback" },
Tags = new Dictionary<string, string> { { "team", "agents" }, { "env", "prod" } }
});
Properties
AllowedResourceOauth2ReturnUrls
Allowed OAuth2 return URLs for resources associated with this workload identity.
public string[]? AllowedResourceOauth2ReturnUrls { get; set; }
Property Value
string[]
Remarks
Default: - no return URLs
Tags
Tags for this workload identity.
public IDictionary<string, string>? Tags { get; set; }
Property Value
Remarks
Default: - no tags
WorkloadIdentityName
Name of the workload identity.
public string? WorkloadIdentityName { get; set; }
Property Value
Remarks
Default: - a name generated by CDK