Interface VpcContextQuery

    • Method Detail

      • getReturnAsymmetricSubnets

        @Stability(Stable)
        @Nullable
        default Boolean getReturnAsymmetricSubnets()
        Whether to populate the subnetGroups field of the VpcContextResponse, which contains potentially asymmetric subnet groups.

        Default: false

      • getReturnVpnGateways

        @Stability(Stable)
        @Nullable
        default Boolean getReturnVpnGateways()
        Whether to populate the vpnGatewayId field of the VpcContextResponse, which contains the VPN Gateway ID, if one exists.

        You can explicitly disable this in order to avoid the lookup if you know the VPC does not have a VPN Gatway attached.

        Default: true

      • getSubnetGroupNameTag

        @Stability(Stable)
        @Nullable
        default String getSubnetGroupNameTag()
        Optional tag for subnet group name.

        If not provided, we'll look at the aws-cdk:subnet-name tag. If the subnet does not have the specified tag, we'll use its type as the name.

        Default: 'aws-cdk:subnet-name'