public sealed class VpcPeeringConfig : IMessage<VpcPeeringConfig>, IEquatable<VpcPeeringConfig>, IDeepCloneable<VpcPeeringConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class VpcPeeringConfig.
The VPC peering configuration is used to create VPC peering with the
consumer's VPC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eVpcPeeringConfig\u003c/code\u003e class, part of the Database Migration v1 API, facilitates the creation of VPC peering with a consumer's VPC, and is implemented in version 2.1.0 of the library.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to perform operations such as deep cloning and equality comparisons.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVpcPeeringConfig\u003c/code\u003e has two constructors: a default constructor and one that accepts another \u003ccode\u003eVpcPeeringConfig\u003c/code\u003e object for copying its properties.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for \u003ccode\u003eSubnet\u003c/code\u003e, which requires a free subnet for peering (CIDR of /29), and \u003ccode\u003eVpcName\u003c/code\u003e, which requires the fully qualified name of the VPC for the Database Migration Service to peer with, both of which are of string type.\u003c/p\u003e\n"],["\u003cp\u003eThere is also the property \u003ccode\u003eVpcNameAsNetworksName\u003c/code\u003e, that provides a \u003ccode\u003eNetworksName\u003c/code\u003e-typed view over the \u003ccode\u003eVpcName\u003c/code\u003e resource name property.\u003c/p\u003e\n"]]],[],null,[]]