Show / Hide Table of Contents

Class 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,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
NetworkAssociation
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2ClientVpn
Assembly: Pulumi.Aws.dll
Syntax
public class NetworkAssociation : CustomResource

Constructors

View Source

NetworkAssociation(String, NetworkAssociationArgs, CustomResourceOptions)

Create a NetworkAssociation resource with the given unique name, arguments, and options.

Declaration
public NetworkAssociation(string name, NetworkAssociationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

NetworkAssociationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ClientVpnEndpointId

The ID of the Client VPN endpoint.

Declaration
public Output<string> ClientVpnEndpointId { get; }
Property Value
Type Description
Output<System.String>
View Source

SecurityGroups

The IDs of the security groups applied to the target network association.

Declaration
public Output<ImmutableArray<string>> SecurityGroups { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Status

The current state of the target network association.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

SubnetId

The ID of the subnet to associate with the Client VPN endpoint.

Declaration
public Output<string> SubnetId { get; }
Property Value
Type Description
Output<System.String>
View Source

VpcId

The ID of the VPC in which the target network (subnet) is located.

Declaration
public Output<string> VpcId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, NetworkAssociationState, CustomResourceOptions)

Get an existing NetworkAssociation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static NetworkAssociation Get(string name, Input<string> id, NetworkAssociationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

NetworkAssociationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
NetworkAssociation
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.