WorkloadIdentityAttributes Struct
Attributes for importing an existing workload identity.
| Source | aws-bedrockagentcore/lib/identity/workload-identity.ts |
|---|---|
| Type last changed |
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 workloadIdentityAttributes: bedrockagentcore.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.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
workload_identity_attributes = bedrockagentcore.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.bedrockagentcore.*;
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.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
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/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
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.