Skip to content

Update Resource Configuration

vpclattice_update_resource_configuration R Documentation

Updates the specified resource configuration

Description

Updates the specified resource configuration.

Usage

vpclattice_update_resource_configuration(
  resourceConfigurationIdentifier, resourceConfigurationDefinition,
  allowAssociationToShareableServiceNetwork, portRanges)

Arguments

resourceConfigurationIdentifier

[required] The ID of the resource configuration.

resourceConfigurationDefinition

Identifies the resource configuration in one of the following ways:

  • Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.

  • Domain name - Any domain name that is publicly resolvable.

  • IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.

allowAssociationToShareableServiceNetwork

Indicates whether to add the resource configuration to service networks that are shared with other accounts.

portRanges

The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30

Value

A list with the following syntax:

list(
  id = "string",
  name = "string",
  arn = "string",
  resourceGatewayId = "string",
  resourceConfigurationGroupId = "string",
  type = "GROUP"|"CHILD"|"SINGLE"|"ARN",
  portRanges = list(
    "string"
  ),
  allowAssociationToShareableServiceNetwork = TRUE|FALSE,
  protocol = "TCP",
  status = "ACTIVE"|"CREATE_IN_PROGRESS"|"UPDATE_IN_PROGRESS"|"DELETE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED",
  resourceConfigurationDefinition = list(
    dnsResource = list(
      domainName = "string",
      ipAddressType = "IPV4"|"IPV6"|"DUALSTACK"
    ),
    ipResource = list(
      ipAddress = "string"
    ),
    arnResource = list(
      arn = "string"
    )
  )
)

Request syntax

svc$update_resource_configuration(
  resourceConfigurationIdentifier = "string",
  resourceConfigurationDefinition = list(
    dnsResource = list(
      domainName = "string",
      ipAddressType = "IPV4"|"IPV6"|"DUALSTACK"
    ),
    ipResource = list(
      ipAddress = "string"
    ),
    arnResource = list(
      arn = "string"
    )
  ),
  allowAssociationToShareableServiceNetwork = TRUE|FALSE,
  portRanges = list(
    "string"
  )
)