interface VPCConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Synthetics.CfnCanaryPropsMixin.VPCConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssynthetics#CfnCanaryPropsMixin_VPCConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.synthetics.CfnCanaryPropsMixin.VPCConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_synthetics.CfnCanaryPropsMixin.VPCConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_synthetics » 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 { aws_synthetics as synthetics } from '@aws-cdk/cfn-property-mixins';
const vPCConfigProperty: synthetics.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 | ISubnet)[] | The IDs of the subnets where this canary is to run. |
| vpc | string | IVPCRef | 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 | ISubnet)[]
(optional)
The IDs of the subnets where this canary is to run.
vpcId?
Type:
string | IVPCRef
(optional)
The ID of the VPC where this canary is to run.

.NET
Go
Java
Python
TypeScript