UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

45 lines (44 loc) 1.59 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type */ export declare function getWorkloadIdentity(args: GetWorkloadIdentityArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkloadIdentityResult>; export interface GetWorkloadIdentityArgs { /** * The name of the workload identity. The name must be unique within your account. */ name: string; } export interface GetWorkloadIdentityResult { /** * The list of allowed OAuth2 return URLs for resources associated with this workload identity. */ readonly allowedResourceOauth2ReturnUrls?: string[]; /** * The timestamp when the workload identity was created. */ readonly createdTime?: number; /** * The timestamp when the workload identity was last updated. */ readonly lastUpdatedTime?: number; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; /** * The Amazon Resource Name (ARN) of the workload identity. */ readonly workloadIdentityArn?: string; } /** * Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type */ export declare function getWorkloadIdentityOutput(args: GetWorkloadIdentityOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkloadIdentityResult>; export interface GetWorkloadIdentityOutputArgs { /** * The name of the workload identity. The name must be unique within your account. */ name: pulumi.Input<string>; }