@Stability(value=Stable)
public static interface CfnCanary.VPCConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCanary.VPCConfigProperty.Builder
A builder for
CfnCanary.VPCConfigProperty |
static class |
CfnCanary.VPCConfigProperty.Jsii$Proxy
An implementation for
CfnCanary.VPCConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCanary.VPCConfigProperty.Builder |
builder() |
List<String> |
getSecurityGroupIds()
The IDs of the security groups for this canary.
|
List<String> |
getSubnetIds()
The IDs of the subnets where this canary is to run.
|
default String |
getVpcId()
The ID of the VPC where this canary is to run.
|
@Stability(value=Stable) @NotNull List<String> getSecurityGroupIds()
@Stability(value=Stable) @NotNull List<String> getSubnetIds()
@Stability(value=Stable) @Nullable default String getVpcId()
@Stability(value=Stable) static CfnCanary.VPCConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.