Class CfnCanary.VPCConfigProperty
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.
Inheritance
System.Object
CfnCanary.VPCConfigProperty
Implements
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.AWS.Synthetics.dll
Syntax (csharp)
public class VPCConfigProperty : Object, CfnCanary.IVPCConfigProperty
Syntax (vb)
Public Class VPCConfigProperty
Inherits Object
Implements CfnCanary.IVPCConfigProperty
Remarks
For more information, see Running a Canary in a VPC .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Synthetics;
var vPCConfigProperty = new VPCConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
VpcId = "vpcId"
};
Synopsis
Constructors
VPCConfigProperty() |
Properties
SecurityGroupIds | The IDs of the security groups for this canary. |
SubnetIds | The IDs of the subnets where this canary is to run. |
VpcId | The ID of the VPC where this canary is to run. |
Constructors
VPCConfigProperty()
public VPCConfigProperty()
Properties
SecurityGroupIds
The IDs of the security groups for this canary.
public string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
Remarks
SubnetIds
The IDs of the subnets where this canary is to run.
public string[] SubnetIds { get; set; }
Property Value
System.String[]
Remarks
VpcId
The ID of the VPC where this canary is to run.
public string VpcId { get; set; }
Property Value
System.String