Skip to content

Create Vpc Attachment

networkmanager_create_vpc_attachment R Documentation

Creates a VPC attachment on an edge location of a core network

Description

Creates a VPC attachment on an edge location of a core network.

Usage

networkmanager_create_vpc_attachment(CoreNetworkId, VpcArn, SubnetArns,
  Options, RoutingPolicyLabel, Tags, ClientToken)

Arguments

CoreNetworkId

[required] The ID of a core network for the VPC attachment.

VpcArn

[required] The ARN of the VPC.

SubnetArns

[required] The subnet ARN of the VPC attachment.

Options

Options for the VPC attachment.

RoutingPolicyLabel

The routing policy label to apply to the VPC attachment for traffic routing decisions.

Tags

The key-value tags associated with the request.

ClientToken

The client token associated with the request.

Value

A list with the following syntax:

list(
  VpcAttachment = list(
    Attachment = list(
      CoreNetworkId = "string",
      CoreNetworkArn = "string",
      AttachmentId = "string",
      OwnerAccountId = "string",
      AttachmentType = "CONNECT"|"SITE_TO_SITE_VPN"|"VPC"|"DIRECT_CONNECT_GATEWAY"|"TRANSIT_GATEWAY_ROUTE_TABLE",
      State = "REJECTED"|"PENDING_ATTACHMENT_ACCEPTANCE"|"CREATING"|"FAILED"|"AVAILABLE"|"UPDATING"|"PENDING_NETWORK_UPDATE"|"PENDING_TAG_ACCEPTANCE"|"DELETING",
      EdgeLocation = "string",
      EdgeLocations = list(
        "string"
      ),
      ResourceArn = "string",
      AttachmentPolicyRuleNumber = 123,
      SegmentName = "string",
      NetworkFunctionGroupName = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      ProposedSegmentChange = list(
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        AttachmentPolicyRuleNumber = 123,
        SegmentName = "string"
      ),
      ProposedNetworkFunctionGroupChange = list(
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        AttachmentPolicyRuleNumber = 123,
        NetworkFunctionGroupName = "string"
      ),
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      ),
      LastModificationErrors = list(
        list(
          Code = "VPC_NOT_FOUND"|"SUBNET_NOT_FOUND"|"SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE"|"SUBNET_NO_FREE_ADDRESSES"|"SUBNET_UNSUPPORTED_AVAILABILITY_ZONE"|"SUBNET_NO_IPV6_CIDRS"|"VPN_CONNECTION_NOT_FOUND"|"MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"|"DIRECT_CONNECT_GATEWAY_NOT_FOUND"|"DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS"|"DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"|"VPN_EXISTING_ASSOCIATIONS"|"VPC_UNSUPPORTED_FEATURES",
          Message = "string",
          ResourceArn = "string",
          RequestId = "string"
        )
      )
    ),
    SubnetArns = list(
      "string"
    ),
    Options = list(
      Ipv6Support = TRUE|FALSE,
      ApplianceModeSupport = TRUE|FALSE,
      DnsSupport = TRUE|FALSE,
      SecurityGroupReferencingSupport = TRUE|FALSE
    )
  )
)

Request syntax

svc$create_vpc_attachment(
  CoreNetworkId = "string",
  VpcArn = "string",
  SubnetArns = list(
    "string"
  ),
  Options = list(
    Ipv6Support = TRUE|FALSE,
    ApplianceModeSupport = TRUE|FALSE,
    DnsSupport = TRUE|FALSE,
    SecurityGroupReferencingSupport = TRUE|FALSE
  ),
  RoutingPolicyLabel = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)