AWS Fundamentals Logo
AWS Fundamentals
AWS::VpcLattice::ServiceNetworkVpcAssociation

VpcLattice ServiceNetworkVpcAssociation

Associates a VPC with a service network.

Properties

6 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
DnsOptions
DnsOptions
Create-only
PrivateDnsEnabled
boolean
Create-only
SecurityGroupIds
Array<string>
ServiceNetworkIdentifier
string
Create-onlyWrite-only
Tags
Array<Tag>
VpcIdentifier
string
Create-onlyWrite-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-
CreatedAtstring-
Idstring-
ServiceNetworkArnstring-
ServiceNetworkIdstring-
ServiceNetworkNamestring-
Statusstring-
VpcIdstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::VpcLattice::ServiceNetworkVpcAssociation

Resources:
  MyResource:
    Type: AWS::VpcLattice::ServiceNetworkVpcAssociation
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

vpc-lattice:CreateServiceNetworkVpcAssociationvpc-lattice:GetServiceNetworkVpcAssociationvpc-lattice:ListServiceNetworkVpcAssociationsvpc-lattice:ListTagsForResourceec2:DescribeSecurityGroupsec2:DescribeVpcsvpc-lattice:TagResource

read

vpc-lattice:GetServiceNetworkVpcAssociationvpc-lattice:ListTagsForResource

update

vpc-lattice:TagResourcevpc-lattice:UntagResourcevpc-lattice:GetServiceNetworkVpcAssociationvpc-lattice:UpdateServiceNetworkVpcAssociationec2:DescribeSecurityGroupsvpc-lattice:ListTagsForResource

delete

vpc-lattice:DeleteServiceNetworkVpcAssociationvpc-lattice:GetServiceNetworkVpcAssociationvpc-lattice:UntagResource

list

vpc-lattice:ListServiceNetworkVpcAssociations

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceVpcLattice
Properties14
Required0
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ServiceNetworkIdentifierVpcIdentifierPrivateDnsEnabledDnsOptionsDnsOptions/PrivateDnsPreferenceDnsOptions/PrivateDnsSpecifiedDomains

External Links