Skip to content

Creates a new consent portal

Description

Creates a new consent portal.

Usage

bedrockagentcorecontrol_create_consent_portal(executionRoleArn,
  idpConfig, name, sources, description, tags)

Arguments

  • executionRoleArn

    [required] The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.

  • idpConfig

    [required] The identity provider configuration that the consent portal uses to authenticate end users.

  • name

    [required] The name of the consent portal. The name must be unique within your account.

  • sources

    [required] The resources served by the consent portal. Currently, we only support type agentcore-gateway.

  • description

    The description of the consent portal.

  • tags

    A map of tag keys and values to assign to the consent portal. 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(
  sources = list(
    list(
      identifier = "string",
      type = "agentcore-gateway"
    )
  ),
  consentPortalArn = "string",
  consentPortalId = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  description = "string",
  executionRoleArn = "string",
  idpConfig = list(
    credentialProviderArn = "string",
    scopes = list(
      "string"
    ),
    audience = "string"
  ),
  name = "string",
  portalUrl = "string",
  status = "CREATING"|"ACTIVE"|"UPDATING"|"UPDATE_FAILED"|"DELETING"|"FAILED",
  statusReason = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_consent_portal(
  executionRoleArn = "string",
  idpConfig = list(
    credentialProviderArn = "string",
    scopes = list(
      "string"
    ),
    audience = "string"
  ),
  name = "string",
  sources = list(
    list(
      identifier = "string",
      type = "agentcore-gateway"
    )
  ),
  description = "string",
  tags = list(
    "string"
  )
)