ClientVpnTargetNetworkAssociationReference Struct
A reference to a ClientVpnTargetNetworkAssociation resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const clientVpnTargetNetworkAssociationReference: interfaces_ec2.ClientVpnTargetNetworkAssociationReference = {
associationId: 'associationId',
clientVpnEndpointId: 'clientVpnEndpointId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ec2 as interfaces_ec2
client_vpn_target_network_association_reference = interfaces_ec2.ClientVpnTargetNetworkAssociationReference(
association_id="associationId",
client_vpn_endpoint_id="clientVpnEndpointId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ec2.*;
ClientVpnTargetNetworkAssociationReference clientVpnTargetNetworkAssociationReference = ClientVpnTargetNetworkAssociationReference.builder()
.associationId("associationId")
.clientVpnEndpointId("clientVpnEndpointId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.EC2;
var clientVpnTargetNetworkAssociationReference = new ClientVpnTargetNetworkAssociationReference {
AssociationId = "associationId",
ClientVpnEndpointId = "clientVpnEndpointId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
clientVpnTargetNetworkAssociationReference := &ClientVpnTargetNetworkAssociationReference{
AssociationId: jsii.String("associationId"),
ClientVpnEndpointId: jsii.String("clientVpnEndpointId"),
}
Properties
associationIdstringassociation_idstrassociationIdStringAssociationIdstringAssociationId*stringrequired#The AssociationId of the ClientVpnTargetNetworkAssociation resource.
clientVpnEndpointIdstringclient_vpn_endpoint_idstrclientVpnEndpointIdStringClientVpnEndpointIdstringClientVpnEndpointId*stringrequired#The ClientVpnEndpointId of the ClientVpnTargetNetworkAssociation resource.