interface VPCConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Synthetics.CfnCanary.VPCConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssynthetics#CfnCanary_VPCConfigProperty |
![]() | software.amazon.awscdk.services.synthetics.CfnCanary.VPCConfigProperty |
![]() | aws_cdk.aws_synthetics.CfnCanary.VPCConfigProperty |
![]() | aws-cdk-lib » aws_synthetics » 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.
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 { aws_synthetics as synthetics } from 'aws-cdk-lib';
const vPCConfigProperty: synthetics.CfnCanary.VPCConfigProperty = {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
// the properties below are optional
ipv6AllowedForDualStack: false,
vpcId: 'vpcId',
};
Properties
Name | Type | Description |
---|---|---|
security | string[] | The IDs of the security groups for this canary. |
subnet | string[] | The IDs of the subnets where this canary is to run. |
ipv6 | boolean | IResolvable | Allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets if set to true. |
vpc | string | The ID of the VPC where this canary is to run. |
securityGroupIds
Type:
string[]
The IDs of the security groups for this canary.
subnetIds
Type:
string[]
The IDs of the subnets where this canary is to run.
ipv6AllowedForDualStack?
Type:
boolean |
IResolvable
(optional)
Allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets if set to true.
vpcId?
Type:
string
(optional)
The ID of the VPC where this canary is to run.