Skip to content

Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway

Description

Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway.

Usage

directconnect_accept_direct_connect_gateway_association_proposal(
  directConnectGatewayId, proposalId, associatedGatewayOwnerAccount,
  overrideAllowedPrefixesToDirectConnectGateway)

Arguments

  • directConnectGatewayId

[required] The ID of the Direct Connect gateway.

  • proposalId

[required] The ID of the request proposal.

  • associatedGatewayOwnerAccount

[required] The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.

  • overrideAllowedPrefixesToDirectConnectGateway

Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.

For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

Value

A list with the following syntax:

list(
  directConnectGatewayAssociation = list(
    directConnectGatewayId = "string",
    directConnectGatewayOwnerAccount = "string",
    associationState = "associating"|"associated"|"disassociating"|"disassociated"|"updating",
    stateChangeError = "string",
    associatedGateway = list(
      id = "string",
      type = "virtualPrivateGateway"|"transitGateway",
      ownerAccount = "string",
      region = "string"
    ),
    associationId = "string",
    allowedPrefixesToDirectConnectGateway = list(
      list(
        cidr = "string"
      )
    ),
    associatedCoreNetwork = list(
      id = "string",
      ownerAccount = "string",
      attachmentId = "string"
    ),
    virtualGatewayId = "string",
    virtualGatewayRegion = "string",
    virtualGatewayOwnerAccount = "string"
  )
)

Request syntax

svc$accept_direct_connect_gateway_association_proposal(
  directConnectGatewayId = "string",
  proposalId = "string",
  associatedGatewayOwnerAccount = "string",
  overrideAllowedPrefixesToDirectConnectGateway = list(
    list(
      cidr = "string"
    )
  )
)