Skip to content

Update Agent Runtime

bedrockagentcorecontrol_update_agent_runtime R Documentation

Updates an existing Amazon Secure Agent

Description

Updates an existing Amazon Secure Agent.

Usage

bedrockagentcorecontrol_update_agent_runtime(agentRuntimeId,
  agentRuntimeArtifact, roleArn, networkConfiguration, description,
  authorizerConfiguration, requestHeaderConfiguration,
  protocolConfiguration, lifecycleConfiguration, metadataConfiguration,
  environmentVariables, filesystemConfigurations, clientToken)

Arguments

agentRuntimeId

[required] The unique identifier of the AgentCore Runtime to update.

agentRuntimeArtifact

[required] The updated artifact of the AgentCore Runtime.

roleArn

[required] The updated IAM role ARN that provides permissions for the AgentCore Runtime.

networkConfiguration

[required] The updated network configuration for the AgentCore Runtime.

description

The updated description of the AgentCore Runtime.

authorizerConfiguration

The updated authorizer configuration for the AgentCore Runtime.

requestHeaderConfiguration

The updated configuration for HTTP request headers that will be passed through to the runtime.

protocolConfiguration

The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.

lifecycleConfiguration

The updated life cycle configuration for the AgentCore Runtime.

metadataConfiguration

The updated configuration for microVM Metadata Service (MMDS) settings for the AgentCore Runtime.

environmentVariables

Updated environment variables to set in the AgentCore Runtime environment.

filesystemConfigurations

The updated filesystem configurations to mount into the AgentCore Runtime.

clientToken

A unique, case-sensitive identifier to ensure idempotency of the request.

Value

A list with the following syntax:

list(
  agentRuntimeArn = "string",
  agentRuntimeId = "string",
  workloadIdentityDetails = list(
    workloadIdentityArn = "string"
  ),
  agentRuntimeVersion = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  status = "CREATING"|"CREATE_FAILED"|"UPDATING"|"UPDATE_FAILED"|"READY"|"DELETING"
)

Request syntax

svc$update_agent_runtime(
  agentRuntimeId = "string",
  agentRuntimeArtifact = list(
    containerConfiguration = list(
      containerUri = "string"
    ),
    codeConfiguration = list(
      code = list(
        s3 = list(
          bucket = "string",
          prefix = "string",
          versionId = "string"
        )
      ),
      runtime = "PYTHON_3_10"|"PYTHON_3_11"|"PYTHON_3_12"|"PYTHON_3_13"|"PYTHON_3_14"|"NODE_22",
      entryPoint = list(
        "string"
      )
    )
  ),
  roleArn = "string",
  networkConfiguration = list(
    networkMode = "PUBLIC"|"VPC",
    networkModeConfig = list(
      securityGroups = list(
        "string"
      ),
      subnets = list(
        "string"
      ),
      requireServiceS3Endpoint = TRUE|FALSE
    )
  ),
  description = "string",
  authorizerConfiguration = list(
    customJWTAuthorizer = list(
      discoveryUrl = "string",
      allowedAudience = list(
        "string"
      ),
      allowedClients = list(
        "string"
      ),
      allowedScopes = list(
        "string"
      ),
      customClaims = list(
        list(
          inboundTokenClaimName = "string",
          inboundTokenClaimValueType = "STRING"|"STRING_ARRAY",
          authorizingClaimMatchValue = list(
            claimMatchValue = list(
              matchValueString = "string",
              matchValueStringList = list(
                "string"
              )
            ),
            claimMatchOperator = "EQUALS"|"CONTAINS"|"CONTAINS_ANY"
          )
        )
      ),
      privateEndpoint = list(
        selfManagedLatticeResource = list(
          resourceConfigurationIdentifier = "string"
        ),
        managedVpcResource = list(
          vpcIdentifier = "string",
          subnetIds = list(
            "string"
          ),
          endpointIpAddressType = "IPV4"|"IPV6",
          securityGroupIds = list(
            "string"
          ),
          tags = list(
            "string"
          ),
          routingDomain = "string"
        )
      ),
      privateEndpointOverrides = list(
        list(
          domain = "string",
          privateEndpoint = list(
            selfManagedLatticeResource = list(
              resourceConfigurationIdentifier = "string"
            ),
            managedVpcResource = list(
              vpcIdentifier = "string",
              subnetIds = list(
                "string"
              ),
              endpointIpAddressType = "IPV4"|"IPV6",
              securityGroupIds = list(
                "string"
              ),
              tags = list(
                "string"
              ),
              routingDomain = "string"
            )
          )
        )
      )
    )
  ),
  requestHeaderConfiguration = list(
    requestHeaderAllowlist = list(
      "string"
    )
  ),
  protocolConfiguration = list(
    serverProtocol = "MCP"|"HTTP"|"A2A"|"AGUI"
  ),
  lifecycleConfiguration = list(
    idleRuntimeSessionTimeout = 123,
    maxLifetime = 123
  ),
  metadataConfiguration = list(
    requireMMDSV2 = TRUE|FALSE
  ),
  environmentVariables = list(
    "string"
  ),
  filesystemConfigurations = list(
    list(
      sessionStorage = list(
        mountPath = "string"
      ),
      s3FilesAccessPoint = list(
        accessPointArn = "string",
        mountPath = "string"
      ),
      efsAccessPoint = list(
        accessPointArn = "string",
        mountPath = "string"
      )
    )
  ),
  clientToken = "string"
)