Create Direct Connect Gateway Association Proposal
directconnect_create_direct_connect_gateway_association_proposal | R Documentation |
Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway¶
Description¶
Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.
You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any Amazon Web Services account.
Usage¶
directconnect_create_direct_connect_gateway_association_proposal(
directConnectGatewayId, directConnectGatewayOwnerAccount, gatewayId,
addAllowedPrefixesToDirectConnectGateway,
removeAllowedPrefixesToDirectConnectGateway)
Arguments¶
directConnectGatewayId
[required] The ID of the Direct Connect gateway.
directConnectGatewayOwnerAccount
[required] The ID of the Amazon Web Services account that owns the Direct Connect gateway.
gatewayId
[required] The ID of the virtual private gateway or transit gateway.
addAllowedPrefixesToDirectConnectGateway
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
removeAllowedPrefixesToDirectConnectGateway
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
Value¶
A list with the following syntax:
list(
directConnectGatewayAssociationProposal = list(
proposalId = "string",
directConnectGatewayId = "string",
directConnectGatewayOwnerAccount = "string",
proposalState = "requested"|"accepted"|"deleted",
associatedGateway = list(
id = "string",
type = "virtualPrivateGateway"|"transitGateway",
ownerAccount = "string",
region = "string"
),
existingAllowedPrefixesToDirectConnectGateway = list(
list(
cidr = "string"
)
),
requestedAllowedPrefixesToDirectConnectGateway = list(
list(
cidr = "string"
)
)
)
)
Request syntax¶
svc$create_direct_connect_gateway_association_proposal(
directConnectGatewayId = "string",
directConnectGatewayOwnerAccount = "string",
gatewayId = "string",
addAllowedPrefixesToDirectConnectGateway = list(
list(
cidr = "string"
)
),
removeAllowedPrefixesToDirectConnectGateway = list(
list(
cidr = "string"
)
)
)