Skip to content
v2.277.0

Experimental

@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

WorkloadIdentityAttributes Struct ​

Attributes for importing an existing workload identity.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const workloadIdentityAttributes: bedrock_agentcore_alpha.WorkloadIdentityAttributes = {
  workloadIdentityArn: 'workloadIdentityArn',
  workloadIdentityName: 'workloadIdentityName',

  // the properties below are optional
  createdTime: 'createdTime',
  lastUpdatedTime: 'lastUpdatedTime',
};
python
# 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_attributes = bedrock_agentcore_alpha.WorkloadIdentityAttributes(
    workload_identity_arn="workloadIdentityArn",
    workload_identity_name="workloadIdentityName",

    # the properties below are optional
    created_time="createdTime",
    last_updated_time="lastUpdatedTime"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.agentcore.alpha.*;

WorkloadIdentityAttributes workloadIdentityAttributes = WorkloadIdentityAttributes.builder()
        .workloadIdentityArn("workloadIdentityArn")
        .workloadIdentityName("workloadIdentityName")

        // the properties below are optional
        .createdTime("createdTime")
        .lastUpdatedTime("lastUpdatedTime")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;

var workloadIdentityAttributes = new WorkloadIdentityAttributes {
    WorkloadIdentityArn = "workloadIdentityArn",
    WorkloadIdentityName = "workloadIdentityName",

    // the properties below are optional
    CreatedTime = "createdTime",
    LastUpdatedTime = "lastUpdatedTime"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"

workloadIdentityAttributes := &WorkloadIdentityAttributes{
	WorkloadIdentityArn: jsii.String("workloadIdentityArn"),
	WorkloadIdentityName: jsii.String("workloadIdentityName"),

	// the properties below are optional
	CreatedTime: jsii.String("createdTime"),
	LastUpdatedTime: jsii.String("lastUpdatedTime"),
}

Properties ​

createdTimeoptionalstringcreated_timeoptionalstrcreatedTimeoptionalStringCreatedTimeoptionalstringCreatedTimeoptional*string #
Resource creation time.

Default: not set

lastUpdatedTimeoptionalstringlast_updated_timeoptionalstrlastUpdatedTimeoptionalStringLastUpdatedTimeoptionalstringLastUpdatedTimeoptional*string #
Resource last-updated time.

Default: not set

workloadIdentityArnstringworkload_identity_arnstrworkloadIdentityArnStringWorkloadIdentityArnstringWorkloadIdentityArn*string required #
ARN of the workload identity.
workloadIdentityNamestringworkload_identity_namestrworkloadIdentityNameStringWorkloadIdentityNamestringWorkloadIdentityName*string required #
Name of the workload identity.