Show / Hide Table of Contents

Class WorkloadIdentityProps

Properties for a new {@link WorkloadIdentity}.

Inheritance
object
WorkloadIdentityProps
Implements
IWorkloadIdentityProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

IDictionary<string, string>

Remarks

Default: - no tags

WorkloadIdentityName

Name of the workload identity.

public string? WorkloadIdentityName { get; set; }
Property Value

string

Remarks

Default: - a name generated by CDK

Implements

IWorkloadIdentityProps
Back to top Generated by DocFX