Interface CfnCanaryPropsMixin.VPCConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCanaryPropsMixin.VPCConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCanaryPropsMixin
@Stability(Stable)
public static interface CfnCanaryPropsMixin.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.cfnpropertymixins.services.synthetics.*;
VPCConfigProperty vPCConfigProperty = VPCConfigProperty.builder()
.ipv6AllowedForDualStack(false)
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.vpcId("vpcId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCanaryPropsMixin.VPCConfigPropertystatic final classAn implementation forCfnCanaryPropsMixin.VPCConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSet this totrueto allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets.The IDs of the security groups for this canary.The IDs of the subnets where this canary is to run.default ObjectgetVpcId()The ID of the VPC where this canary is to run.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIpv6AllowedForDualStack
Set this totrueto allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets.The default is
false.Returns union: either
BooleanorIResolvable- See Also:
-
getSecurityGroupIds
The IDs of the security groups for this canary.- See Also:
-
getSubnetIds
The IDs of the subnets where this canary is to run.Returns union: Listinvalid input: '<'either
StringorISubnetRef>- See Also:
-
getVpcId
- See Also:
-
builder
-