Skip to content

Create Vpc Endpoint Association

networkfirewall_create_vpc_endpoint_association R Documentation

Creates a firewall endpoint for an Network Firewall firewall

Description

Creates a firewall endpoint for an Network Firewall firewall. This type of firewall endpoint is independent of the firewall endpoints that you specify in the Firewall itself, and you define it in addition to those endpoints after the firewall has been created. You can define a VPC endpoint association using a different VPC than the one you used in the firewall specifications.

Usage

networkfirewall_create_vpc_endpoint_association(FirewallArn, VpcId,
  SubnetMapping, Description, Tags)

Arguments

FirewallArn

[required] The Amazon Resource Name (ARN) of the firewall.

VpcId

[required] The unique identifier of the VPC where you want to create a firewall endpoint.

SubnetMapping

[required] The ID for a subnet that's used in an association with a firewall. This is used in create_firewall, associate_subnets, and create_vpc_endpoint_association. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.

Description

A description of the VPC endpoint association.

Tags

The key:value pairs to associate with the resource.

Value

A list with the following syntax:

list(
  VpcEndpointAssociation = list(
    VpcEndpointAssociationId = "string",
    VpcEndpointAssociationArn = "string",
    FirewallArn = "string",
    VpcId = "string",
    SubnetMapping = list(
      SubnetId = "string",
      IPAddressType = "DUALSTACK"|"IPV4"|"IPV6"
    ),
    Description = "string",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  ),
  VpcEndpointAssociationStatus = list(
    Status = "PROVISIONING"|"DELETING"|"READY",
    AssociationSyncState = list(
      list(
        Attachment = list(
          SubnetId = "string",
          EndpointId = "string",
          Status = "CREATING"|"DELETING"|"FAILED"|"ERROR"|"SCALING"|"READY",
          StatusMessage = "string"
        )
      )
    )
  )
)

Request syntax

svc$create_vpc_endpoint_association(
  FirewallArn = "string",
  VpcId = "string",
  SubnetMapping = list(
    SubnetId = "string",
    IPAddressType = "DUALSTACK"|"IPV4"|"IPV6"
  ),
  Description = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)