interface VPCConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Synthetics.Mixins.CfnCanaryPropsMixin.VPCConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssynthetics/mixins#CfnCanaryPropsMixin_VPCConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.synthetics.mixins.CfnCanaryPropsMixin.VPCConfigProperty |
Python | aws_cdk.mixins_preview.aws_synthetics.mixins.CfnCanaryPropsMixin.VPCConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_synthetics » mixins » CfnCanaryPropsMixin » 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 { mixins as synthetics_mixins } from '@aws-cdk/mixins-preview/aws-synthetics';
const vPCConfigProperty: synthetics_mixins.CfnCanaryPropsMixin.VPCConfigProperty = {
ipv6AllowedForDualStack: false,
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| ipv6 | boolean | IResolvable | Set this to true to allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets. |
| security | string[] | The IDs of the security groups for this canary. |
| subnet | string[] | The IDs of the subnets where this canary is to run. |
| vpc | string | The ID of the VPC where this canary is to run. |
ipv6AllowedForDualStack?
Type:
boolean | IResolvable
(optional)
Set this to true to allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets.
The default is false .
securityGroupIds?
Type:
string[]
(optional)
The IDs of the security groups for this canary.
subnetIds?
Type:
string[]
(optional)
The IDs of the subnets where this canary is to run.
vpcId?
Type:
string
(optional)
The ID of the VPC where this canary is to run.

.NET
Go
Java
Python
TypeScript