Interface CfnCanary.VPCConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCanary.VPCConfigProperty.Jsii$Proxy
Enclosing class:
CfnCanary

@Stability(Stable) public static interface CfnCanary.VPCConfigProperty extends software.amazon.jsii.JsiiSerializable
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 Running a Canary in a VPC .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.synthetics.*;
 VPCConfigProperty vPCConfigProperty = VPCConfigProperty.builder()
         .securityGroupIds(List.of("securityGroupIds"))
         .subnetIds(List.of("subnetIds"))
         // the properties below are optional
         .vpcId("vpcId")
         .build();
 

See Also: