Namespace Pulumi.Aws.Ec2ClientVpn
Classes
Endpoint
Provides an AWS Client VPN endpoint for OpenVPN clients. For more information on usage, please see the AWS Client VPN Administrator's Guide.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Ec2ClientVpn.Endpoint("example", new Aws.Ec2ClientVpn.EndpointArgs
{
AuthenticationOptions =
{
new Aws.Ec2ClientVpn.Inputs.EndpointAuthenticationOptionArgs
{
RootCertificateChainArn = aws_acm_certificate.Root_cert.Arn,
Type = "certificate-authentication",
},
},
ClientCidrBlock = "10.0.0.0/16",
ConnectionLogOptions = new Aws.Ec2ClientVpn.Inputs.EndpointConnectionLogOptionsArgs
{
CloudwatchLogGroup = aws_cloudwatch_log_group.Lg.Name,
CloudwatchLogStream = aws_cloudwatch_log_stream.Ls.Name,
Enabled = true,
},
Description = "clientvpn-example",
ServerCertificateArn = aws_acm_certificate.Cert.Arn,
});
}
}
EndpointArgs
EndpointState
NetworkAssociation
Provides network associations for AWS Client VPN endpoints. For more information on usage, please see the AWS Client VPN Administrator's Guide.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Ec2ClientVpn.NetworkAssociation("example", new Aws.Ec2ClientVpn.NetworkAssociationArgs
{
ClientVpnEndpointId = aws_ec2_client_vpn_endpoint.Example.Id,
SubnetId = aws_subnet.Example.Id,
});
}
}