public VpcConfigInput getVpcConfig() {
        return this.vpcConfig;
    }
<p>
If this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security
groups of the VPC endpoint. For more information, see <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
Running a Canary in a VPC</a>.
</p>

@return If this canary is to test an endpoint in a VPC, this structure contains information about the subnet and
        security groups of the VPC endpoint. For more information, see <a href=
        "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
        Running a Canary in a VPC</a>.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/CreateCanaryRequest.java