Skip to content

Creates a new workload identity

Description

Creates a new workload identity.

Usage

bedrockagentcorecontrol_create_workload_identity(name,
  allowedResourceOauth2ReturnUrls, tags)

Arguments

  • name

    [required] The name of the workload identity. The name must be unique within your account.

  • allowedResourceOauth2ReturnUrls

    The list of allowed OAuth2 return URLs for resources associated with this workload identity.

  • tags

    A map of tag keys and values to assign to the workload identity. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Value

A list with the following syntax:

list(
  name = "string",
  workloadIdentityArn = "string",
  allowedResourceOauth2ReturnUrls = list(
    "string"
  )
)

Request syntax

svc$create_workload_identity(
  name = "string",
  allowedResourceOauth2ReturnUrls = list(
    "string"
  ),
  tags = list(
    "string"
  )
)