Class CfnClientVpnTargetNetworkAssociationPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnClientVpnTargetNetworkAssociationPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:19:58.353Z") @Stability(Stable) public class CfnClientVpnTargetNetworkAssociationPropsMixin extends Mixin implements software.constructs.IMixin
Specifies a target network to associate with a Client VPN endpoint.

A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnClientVpnTargetNetworkAssociationPropsMixin cfnClientVpnTargetNetworkAssociationPropsMixin = CfnClientVpnTargetNetworkAssociationPropsMixin.Builder.create(CfnClientVpnTargetNetworkAssociationMixinProps.builder()
         .clientVpnEndpointId("clientVpnEndpointId")
         .subnetId("subnetId")
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnClientVpnTargetNetworkAssociationPropsMixin

      protected CfnClientVpnTargetNetworkAssociationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnClientVpnTargetNetworkAssociationPropsMixin

      protected CfnClientVpnTargetNetworkAssociationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnClientVpnTargetNetworkAssociationPropsMixin

      @Stability(Stable) public CfnClientVpnTargetNetworkAssociationPropsMixin(@NotNull CfnClientVpnTargetNetworkAssociationMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::EC2::ClientVpnTargetNetworkAssociation.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnClientVpnTargetNetworkAssociationPropsMixin

      @Stability(Stable) public CfnClientVpnTargetNetworkAssociationPropsMixin(@NotNull CfnClientVpnTargetNetworkAssociationMixinProps props)
      Create a mixin to apply properties to AWS::EC2::ClientVpnTargetNetworkAssociation.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnClientVpnTargetNetworkAssociationMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()