1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. bedrockagentcore
  5. getWorkloadIdentity

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

aws-native.bedrockagentcore.getWorkloadIdentity

Start a Neo task
Explain and create an aws-native.bedrockagentcore.getWorkloadIdentity resource
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

    Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type

    Using getWorkloadIdentity

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkloadIdentity(args: GetWorkloadIdentityArgs, opts?: InvokeOptions): Promise<GetWorkloadIdentityResult>
    function getWorkloadIdentityOutput(args: GetWorkloadIdentityOutputArgs, opts?: InvokeOptions): Output<GetWorkloadIdentityResult>
    def get_workload_identity(name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetWorkloadIdentityResult
    def get_workload_identity_output(name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadIdentityResult]
    func LookupWorkloadIdentity(ctx *Context, args *LookupWorkloadIdentityArgs, opts ...InvokeOption) (*LookupWorkloadIdentityResult, error)
    func LookupWorkloadIdentityOutput(ctx *Context, args *LookupWorkloadIdentityOutputArgs, opts ...InvokeOption) LookupWorkloadIdentityResultOutput

    > Note: This function is named LookupWorkloadIdentity in the Go SDK.

    public static class GetWorkloadIdentity 
    {
        public static Task<GetWorkloadIdentityResult> InvokeAsync(GetWorkloadIdentityArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkloadIdentityResult> Invoke(GetWorkloadIdentityInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkloadIdentityResult> getWorkloadIdentity(GetWorkloadIdentityArgs args, InvokeOptions options)
    public static Output<GetWorkloadIdentityResult> getWorkloadIdentity(GetWorkloadIdentityArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:bedrockagentcore:getWorkloadIdentity
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the workload identity. The name must be unique within your account.
    Name string
    The name of the workload identity. The name must be unique within your account.
    name String
    The name of the workload identity. The name must be unique within your account.
    name string
    The name of the workload identity. The name must be unique within your account.
    name str
    The name of the workload identity. The name must be unique within your account.
    name String
    The name of the workload identity. The name must be unique within your account.

    getWorkloadIdentity Result

    The following output properties are available:

    AllowedResourceOauth2ReturnUrls List<string>
    The list of allowed OAuth2 return URLs for resources associated with this workload identity.
    CreatedTime double
    The timestamp when the workload identity was created.
    LastUpdatedTime double
    The timestamp when the workload identity was last updated.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    WorkloadIdentityArn string
    The Amazon Resource Name (ARN) of the workload identity.
    AllowedResourceOauth2ReturnUrls []string
    The list of allowed OAuth2 return URLs for resources associated with this workload identity.
    CreatedTime float64
    The timestamp when the workload identity was created.
    LastUpdatedTime float64
    The timestamp when the workload identity was last updated.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    WorkloadIdentityArn string
    The Amazon Resource Name (ARN) of the workload identity.
    allowedResourceOauth2ReturnUrls List<String>
    The list of allowed OAuth2 return URLs for resources associated with this workload identity.
    createdTime Double
    The timestamp when the workload identity was created.
    lastUpdatedTime Double
    The timestamp when the workload identity was last updated.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    workloadIdentityArn String
    The Amazon Resource Name (ARN) of the workload identity.
    allowedResourceOauth2ReturnUrls string[]
    The list of allowed OAuth2 return URLs for resources associated with this workload identity.
    createdTime number
    The timestamp when the workload identity was created.
    lastUpdatedTime number
    The timestamp when the workload identity was last updated.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    workloadIdentityArn string
    The Amazon Resource Name (ARN) of the workload identity.
    allowed_resource_oauth2_return_urls Sequence[str]
    The list of allowed OAuth2 return URLs for resources associated with this workload identity.
    created_time float
    The timestamp when the workload identity was created.
    last_updated_time float
    The timestamp when the workload identity was last updated.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    workload_identity_arn str
    The Amazon Resource Name (ARN) of the workload identity.
    allowedResourceOauth2ReturnUrls List<String>
    The list of allowed OAuth2 return URLs for resources associated with this workload identity.
    createdTime Number
    The timestamp when the workload identity was created.
    lastUpdatedTime Number
    The timestamp when the workload identity was last updated.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.
    workloadIdentityArn String
    The Amazon Resource Name (ARN) of the workload identity.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate