ec2clientvpn

package
v6.0.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationRule

type AuthorizationRule struct {
	pulumi.CustomResourceState

	// The ID of the group to which the authorization rule grants access. One of `accessGroupId` or `authorizeAllGroups` must be set.
	AccessGroupId pulumi.StringPtrOutput `pulumi:"accessGroupId"`
	// Indicates whether the authorization rule grants access to all clients. One of `accessGroupId` or `authorizeAllGroups` must be set.
	AuthorizeAllGroups pulumi.BoolPtrOutput `pulumi:"authorizeAllGroups"`
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringOutput `pulumi:"clientVpnEndpointId"`
	// A brief description of the authorization rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.
	TargetNetworkCidr pulumi.StringOutput `pulumi:"targetNetworkCidr"`
}

Provides authorization rules for AWS Client VPN endpoints. For more information on usage, please see the [AWS Client VPN Administrator's Guide](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/what-is.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2clientvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2clientvpn.NewAuthorizationRule(ctx, "example", &ec2clientvpn.AuthorizationRuleArgs{
			ClientVpnEndpointId: pulumi.Any(aws_ec2_client_vpn_endpoint.Example.Id),
			TargetNetworkCidr:   pulumi.Any(aws_subnet.Example.Cidr_block),
			AuthorizeAllGroups:  pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AWS Client VPN authorization rules can be imported using the endpoint ID and target network CIDR. If there is a specific group name that is included as well. All values are separated by a `,`.

```sh

$ pulumi import aws:ec2clientvpn/authorizationRule:AuthorizationRule example cvpn-endpoint-0ac3a1abbccddd666,10.1.0.0/24

```

```sh

$ pulumi import aws:ec2clientvpn/authorizationRule:AuthorizationRule example cvpn-endpoint-0ac3a1abbccddd666,10.1.0.0/24,team-a

```

func GetAuthorizationRule

func GetAuthorizationRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuthorizationRuleState, opts ...pulumi.ResourceOption) (*AuthorizationRule, error)

GetAuthorizationRule gets an existing AuthorizationRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAuthorizationRule

func NewAuthorizationRule(ctx *pulumi.Context,
	name string, args *AuthorizationRuleArgs, opts ...pulumi.ResourceOption) (*AuthorizationRule, error)

NewAuthorizationRule registers a new resource with the given unique name, arguments, and options.

func (*AuthorizationRule) ElementType

func (*AuthorizationRule) ElementType() reflect.Type

func (*AuthorizationRule) ToAuthorizationRuleOutput

func (i *AuthorizationRule) ToAuthorizationRuleOutput() AuthorizationRuleOutput

func (*AuthorizationRule) ToAuthorizationRuleOutputWithContext

func (i *AuthorizationRule) ToAuthorizationRuleOutputWithContext(ctx context.Context) AuthorizationRuleOutput

type AuthorizationRuleArgs

type AuthorizationRuleArgs struct {
	// The ID of the group to which the authorization rule grants access. One of `accessGroupId` or `authorizeAllGroups` must be set.
	AccessGroupId pulumi.StringPtrInput
	// Indicates whether the authorization rule grants access to all clients. One of `accessGroupId` or `authorizeAllGroups` must be set.
	AuthorizeAllGroups pulumi.BoolPtrInput
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringInput
	// A brief description of the authorization rule.
	Description pulumi.StringPtrInput
	// The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.
	TargetNetworkCidr pulumi.StringInput
}

The set of arguments for constructing a AuthorizationRule resource.

func (AuthorizationRuleArgs) ElementType

func (AuthorizationRuleArgs) ElementType() reflect.Type

type AuthorizationRuleArray

type AuthorizationRuleArray []AuthorizationRuleInput

func (AuthorizationRuleArray) ElementType

func (AuthorizationRuleArray) ElementType() reflect.Type

func (AuthorizationRuleArray) ToAuthorizationRuleArrayOutput

func (i AuthorizationRuleArray) ToAuthorizationRuleArrayOutput() AuthorizationRuleArrayOutput

func (AuthorizationRuleArray) ToAuthorizationRuleArrayOutputWithContext

func (i AuthorizationRuleArray) ToAuthorizationRuleArrayOutputWithContext(ctx context.Context) AuthorizationRuleArrayOutput

type AuthorizationRuleArrayInput

type AuthorizationRuleArrayInput interface {
	pulumi.Input

	ToAuthorizationRuleArrayOutput() AuthorizationRuleArrayOutput
	ToAuthorizationRuleArrayOutputWithContext(context.Context) AuthorizationRuleArrayOutput
}

AuthorizationRuleArrayInput is an input type that accepts AuthorizationRuleArray and AuthorizationRuleArrayOutput values. You can construct a concrete instance of `AuthorizationRuleArrayInput` via:

AuthorizationRuleArray{ AuthorizationRuleArgs{...} }

type AuthorizationRuleArrayOutput

type AuthorizationRuleArrayOutput struct{ *pulumi.OutputState }

func (AuthorizationRuleArrayOutput) ElementType

func (AuthorizationRuleArrayOutput) Index

func (AuthorizationRuleArrayOutput) ToAuthorizationRuleArrayOutput

func (o AuthorizationRuleArrayOutput) ToAuthorizationRuleArrayOutput() AuthorizationRuleArrayOutput

func (AuthorizationRuleArrayOutput) ToAuthorizationRuleArrayOutputWithContext

func (o AuthorizationRuleArrayOutput) ToAuthorizationRuleArrayOutputWithContext(ctx context.Context) AuthorizationRuleArrayOutput

type AuthorizationRuleInput

type AuthorizationRuleInput interface {
	pulumi.Input

	ToAuthorizationRuleOutput() AuthorizationRuleOutput
	ToAuthorizationRuleOutputWithContext(ctx context.Context) AuthorizationRuleOutput
}

type AuthorizationRuleMap

type AuthorizationRuleMap map[string]AuthorizationRuleInput

func (AuthorizationRuleMap) ElementType

func (AuthorizationRuleMap) ElementType() reflect.Type

func (AuthorizationRuleMap) ToAuthorizationRuleMapOutput

func (i AuthorizationRuleMap) ToAuthorizationRuleMapOutput() AuthorizationRuleMapOutput

func (AuthorizationRuleMap) ToAuthorizationRuleMapOutputWithContext

func (i AuthorizationRuleMap) ToAuthorizationRuleMapOutputWithContext(ctx context.Context) AuthorizationRuleMapOutput

type AuthorizationRuleMapInput

type AuthorizationRuleMapInput interface {
	pulumi.Input

	ToAuthorizationRuleMapOutput() AuthorizationRuleMapOutput
	ToAuthorizationRuleMapOutputWithContext(context.Context) AuthorizationRuleMapOutput
}

AuthorizationRuleMapInput is an input type that accepts AuthorizationRuleMap and AuthorizationRuleMapOutput values. You can construct a concrete instance of `AuthorizationRuleMapInput` via:

AuthorizationRuleMap{ "key": AuthorizationRuleArgs{...} }

type AuthorizationRuleMapOutput

type AuthorizationRuleMapOutput struct{ *pulumi.OutputState }

func (AuthorizationRuleMapOutput) ElementType

func (AuthorizationRuleMapOutput) ElementType() reflect.Type

func (AuthorizationRuleMapOutput) MapIndex

func (AuthorizationRuleMapOutput) ToAuthorizationRuleMapOutput

func (o AuthorizationRuleMapOutput) ToAuthorizationRuleMapOutput() AuthorizationRuleMapOutput

func (AuthorizationRuleMapOutput) ToAuthorizationRuleMapOutputWithContext

func (o AuthorizationRuleMapOutput) ToAuthorizationRuleMapOutputWithContext(ctx context.Context) AuthorizationRuleMapOutput

type AuthorizationRuleOutput

type AuthorizationRuleOutput struct{ *pulumi.OutputState }

func (AuthorizationRuleOutput) AccessGroupId

The ID of the group to which the authorization rule grants access. One of `accessGroupId` or `authorizeAllGroups` must be set.

func (AuthorizationRuleOutput) AuthorizeAllGroups

func (o AuthorizationRuleOutput) AuthorizeAllGroups() pulumi.BoolPtrOutput

Indicates whether the authorization rule grants access to all clients. One of `accessGroupId` or `authorizeAllGroups` must be set.

func (AuthorizationRuleOutput) ClientVpnEndpointId

func (o AuthorizationRuleOutput) ClientVpnEndpointId() pulumi.StringOutput

The ID of the Client VPN endpoint.

func (AuthorizationRuleOutput) Description

A brief description of the authorization rule.

func (AuthorizationRuleOutput) ElementType

func (AuthorizationRuleOutput) ElementType() reflect.Type

func (AuthorizationRuleOutput) TargetNetworkCidr

func (o AuthorizationRuleOutput) TargetNetworkCidr() pulumi.StringOutput

The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.

func (AuthorizationRuleOutput) ToAuthorizationRuleOutput

func (o AuthorizationRuleOutput) ToAuthorizationRuleOutput() AuthorizationRuleOutput

func (AuthorizationRuleOutput) ToAuthorizationRuleOutputWithContext

func (o AuthorizationRuleOutput) ToAuthorizationRuleOutputWithContext(ctx context.Context) AuthorizationRuleOutput

type AuthorizationRuleState

type AuthorizationRuleState struct {
	// The ID of the group to which the authorization rule grants access. One of `accessGroupId` or `authorizeAllGroups` must be set.
	AccessGroupId pulumi.StringPtrInput
	// Indicates whether the authorization rule grants access to all clients. One of `accessGroupId` or `authorizeAllGroups` must be set.
	AuthorizeAllGroups pulumi.BoolPtrInput
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringPtrInput
	// A brief description of the authorization rule.
	Description pulumi.StringPtrInput
	// The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.
	TargetNetworkCidr pulumi.StringPtrInput
}

func (AuthorizationRuleState) ElementType

func (AuthorizationRuleState) ElementType() reflect.Type

type Endpoint

type Endpoint struct {
	pulumi.CustomResourceState

	// The ARN of the Client VPN endpoint.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Information about the authentication method to be used to authenticate clients.
	AuthenticationOptions EndpointAuthenticationOptionArrayOutput `pulumi:"authenticationOptions"`
	// The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.
	ClientCidrBlock pulumi.StringOutput `pulumi:"clientCidrBlock"`
	// The options for managing connection authorization for new client connections.
	ClientConnectOptions EndpointClientConnectOptionsOutput `pulumi:"clientConnectOptions"`
	// Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
	ClientLoginBannerOptions EndpointClientLoginBannerOptionsOutput `pulumi:"clientLoginBannerOptions"`
	// Information about the client connection logging options.
	ConnectionLogOptions EndpointConnectionLogOptionsOutput `pulumi:"connectionLogOptions"`
	// A brief description of the Client VPN endpoint.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The DNS name to be used by clients when establishing their VPN session.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address of the connecting device is used.
	DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"`
	// The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// Specify whether to enable the self-service portal for the Client VPN endpoint. Values can be `enabled` or `disabled`. Default value is `disabled`.
	SelfServicePortal pulumi.StringPtrOutput `pulumi:"selfServicePortal"`
	// The ARN of the ACM server certificate.
	ServerCertificateArn pulumi.StringOutput `pulumi:"serverCertificateArn"`
	// The maximum session duration is a trigger by which end-users are required to re-authenticate prior to establishing a VPN session. Default value is `24` - Valid values: `8 | 10 | 12 | 24`
	SessionTimeoutHours pulumi.IntPtrOutput `pulumi:"sessionTimeoutHours"`
	// Indicates whether split-tunnel is enabled on VPN endpoint. Default value is `false`.
	SplitTunnel pulumi.BoolPtrOutput `pulumi:"splitTunnel"`
	// A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The transport protocol to be used by the VPN session. Default value is `udp`.
	TransportProtocol pulumi.StringPtrOutput `pulumi:"transportProtocol"`
	// The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The port number for the Client VPN endpoint. Valid values are `443` and `1194`. Default value is `443`.
	VpnPort pulumi.IntPtrOutput `pulumi:"vpnPort"`
}

Provides an AWS Client VPN endpoint for OpenVPN clients. For more information on usage, please see the [AWS Client VPN Administrator's Guide](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/what-is.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2clientvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2clientvpn.NewEndpoint(ctx, "example", &ec2clientvpn.EndpointArgs{
			Description:          pulumi.String("clientvpn-example"),
			ServerCertificateArn: pulumi.Any(aws_acm_certificate.Cert.Arn),
			ClientCidrBlock:      pulumi.String("10.0.0.0/16"),
			AuthenticationOptions: ec2clientvpn.EndpointAuthenticationOptionArray{
				&ec2clientvpn.EndpointAuthenticationOptionArgs{
					Type:                    pulumi.String("certificate-authentication"),
					RootCertificateChainArn: pulumi.Any(aws_acm_certificate.Root_cert.Arn),
				},
			},
			ConnectionLogOptions: &ec2clientvpn.EndpointConnectionLogOptionsArgs{
				Enabled:             pulumi.Bool(true),
				CloudwatchLogGroup:  pulumi.Any(aws_cloudwatch_log_group.Lg.Name),
				CloudwatchLogStream: pulumi.Any(aws_cloudwatch_log_stream.Ls.Name),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AWS Client VPN endpoints can be imported using the `id` value found via `aws ec2 describe-client-vpn-endpoints`, e.g.,

```sh

$ pulumi import aws:ec2clientvpn/endpoint:Endpoint example cvpn-endpoint-0ac3a1abbccddd666

```

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)

GetEndpoint gets an existing Endpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpoint

func NewEndpoint(ctx *pulumi.Context,
	name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)

NewEndpoint registers a new resource with the given unique name, arguments, and options.

func (*Endpoint) ElementType

func (*Endpoint) ElementType() reflect.Type

func (*Endpoint) ToEndpointOutput

func (i *Endpoint) ToEndpointOutput() EndpointOutput

func (*Endpoint) ToEndpointOutputWithContext

func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointArgs

type EndpointArgs struct {
	// Information about the authentication method to be used to authenticate clients.
	AuthenticationOptions EndpointAuthenticationOptionArrayInput
	// The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.
	ClientCidrBlock pulumi.StringInput
	// The options for managing connection authorization for new client connections.
	ClientConnectOptions EndpointClientConnectOptionsPtrInput
	// Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
	ClientLoginBannerOptions EndpointClientLoginBannerOptionsPtrInput
	// Information about the client connection logging options.
	ConnectionLogOptions EndpointConnectionLogOptionsInput
	// A brief description of the Client VPN endpoint.
	Description pulumi.StringPtrInput
	// Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address of the connecting device is used.
	DnsServers pulumi.StringArrayInput
	// The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
	SecurityGroupIds pulumi.StringArrayInput
	// Specify whether to enable the self-service portal for the Client VPN endpoint. Values can be `enabled` or `disabled`. Default value is `disabled`.
	SelfServicePortal pulumi.StringPtrInput
	// The ARN of the ACM server certificate.
	ServerCertificateArn pulumi.StringInput
	// The maximum session duration is a trigger by which end-users are required to re-authenticate prior to establishing a VPN session. Default value is `24` - Valid values: `8 | 10 | 12 | 24`
	SessionTimeoutHours pulumi.IntPtrInput
	// Indicates whether split-tunnel is enabled on VPN endpoint. Default value is `false`.
	SplitTunnel pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The transport protocol to be used by the VPN session. Default value is `udp`.
	TransportProtocol pulumi.StringPtrInput
	// The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.
	VpcId pulumi.StringPtrInput
	// The port number for the Client VPN endpoint. Valid values are `443` and `1194`. Default value is `443`.
	VpnPort pulumi.IntPtrInput
}

The set of arguments for constructing a Endpoint resource.

func (EndpointArgs) ElementType

func (EndpointArgs) ElementType() reflect.Type

type EndpointArray

type EndpointArray []EndpointInput

func (EndpointArray) ElementType

func (EndpointArray) ElementType() reflect.Type

func (EndpointArray) ToEndpointArrayOutput

func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArray) ToEndpointArrayOutputWithContext

func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointArrayInput

type EndpointArrayInput interface {
	pulumi.Input

	ToEndpointArrayOutput() EndpointArrayOutput
	ToEndpointArrayOutputWithContext(context.Context) EndpointArrayOutput
}

EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. You can construct a concrete instance of `EndpointArrayInput` via:

EndpointArray{ EndpointArgs{...} }

type EndpointArrayOutput

type EndpointArrayOutput struct{ *pulumi.OutputState }

func (EndpointArrayOutput) ElementType

func (EndpointArrayOutput) ElementType() reflect.Type

func (EndpointArrayOutput) Index

func (EndpointArrayOutput) ToEndpointArrayOutput

func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArrayOutput) ToEndpointArrayOutputWithContext

func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointAuthenticationOption

type EndpointAuthenticationOption struct {
	// The ID of the Active Directory to be used for authentication if type is `directory-service-authentication`.
	ActiveDirectoryId *string `pulumi:"activeDirectoryId"`
	// The ARN of the client certificate. The certificate must be signed by a certificate authority (CA) and it must be provisioned in AWS Certificate Manager (ACM). Only necessary when type is set to `certificate-authentication`.
	RootCertificateChainArn *string `pulumi:"rootCertificateChainArn"`
	// The ARN of the IAM SAML identity provider if type is `federated-authentication`.
	SamlProviderArn *string `pulumi:"samlProviderArn"`
	// The ARN of the IAM SAML identity provider for the self service portal if type is `federated-authentication`.
	SelfServiceSamlProviderArn *string `pulumi:"selfServiceSamlProviderArn"`
	// The type of client authentication to be used. Specify `certificate-authentication` to use certificate-based authentication, `directory-service-authentication` to use Active Directory authentication, or `federated-authentication` to use Federated Authentication via SAML 2.0.
	Type string `pulumi:"type"`
}

type EndpointAuthenticationOptionArgs

type EndpointAuthenticationOptionArgs struct {
	// The ID of the Active Directory to be used for authentication if type is `directory-service-authentication`.
	ActiveDirectoryId pulumi.StringPtrInput `pulumi:"activeDirectoryId"`
	// The ARN of the client certificate. The certificate must be signed by a certificate authority (CA) and it must be provisioned in AWS Certificate Manager (ACM). Only necessary when type is set to `certificate-authentication`.
	RootCertificateChainArn pulumi.StringPtrInput `pulumi:"rootCertificateChainArn"`
	// The ARN of the IAM SAML identity provider if type is `federated-authentication`.
	SamlProviderArn pulumi.StringPtrInput `pulumi:"samlProviderArn"`
	// The ARN of the IAM SAML identity provider for the self service portal if type is `federated-authentication`.
	SelfServiceSamlProviderArn pulumi.StringPtrInput `pulumi:"selfServiceSamlProviderArn"`
	// The type of client authentication to be used. Specify `certificate-authentication` to use certificate-based authentication, `directory-service-authentication` to use Active Directory authentication, or `federated-authentication` to use Federated Authentication via SAML 2.0.
	Type pulumi.StringInput `pulumi:"type"`
}

func (EndpointAuthenticationOptionArgs) ElementType

func (EndpointAuthenticationOptionArgs) ToEndpointAuthenticationOptionOutput

func (i EndpointAuthenticationOptionArgs) ToEndpointAuthenticationOptionOutput() EndpointAuthenticationOptionOutput

func (EndpointAuthenticationOptionArgs) ToEndpointAuthenticationOptionOutputWithContext

func (i EndpointAuthenticationOptionArgs) ToEndpointAuthenticationOptionOutputWithContext(ctx context.Context) EndpointAuthenticationOptionOutput

type EndpointAuthenticationOptionArray

type EndpointAuthenticationOptionArray []EndpointAuthenticationOptionInput

func (EndpointAuthenticationOptionArray) ElementType

func (EndpointAuthenticationOptionArray) ToEndpointAuthenticationOptionArrayOutput

func (i EndpointAuthenticationOptionArray) ToEndpointAuthenticationOptionArrayOutput() EndpointAuthenticationOptionArrayOutput

func (EndpointAuthenticationOptionArray) ToEndpointAuthenticationOptionArrayOutputWithContext

func (i EndpointAuthenticationOptionArray) ToEndpointAuthenticationOptionArrayOutputWithContext(ctx context.Context) EndpointAuthenticationOptionArrayOutput

type EndpointAuthenticationOptionArrayInput

type EndpointAuthenticationOptionArrayInput interface {
	pulumi.Input

	ToEndpointAuthenticationOptionArrayOutput() EndpointAuthenticationOptionArrayOutput
	ToEndpointAuthenticationOptionArrayOutputWithContext(context.Context) EndpointAuthenticationOptionArrayOutput
}

EndpointAuthenticationOptionArrayInput is an input type that accepts EndpointAuthenticationOptionArray and EndpointAuthenticationOptionArrayOutput values. You can construct a concrete instance of `EndpointAuthenticationOptionArrayInput` via:

EndpointAuthenticationOptionArray{ EndpointAuthenticationOptionArgs{...} }

type EndpointAuthenticationOptionArrayOutput

type EndpointAuthenticationOptionArrayOutput struct{ *pulumi.OutputState }

func (EndpointAuthenticationOptionArrayOutput) ElementType

func (EndpointAuthenticationOptionArrayOutput) Index

func (EndpointAuthenticationOptionArrayOutput) ToEndpointAuthenticationOptionArrayOutput

func (o EndpointAuthenticationOptionArrayOutput) ToEndpointAuthenticationOptionArrayOutput() EndpointAuthenticationOptionArrayOutput

func (EndpointAuthenticationOptionArrayOutput) ToEndpointAuthenticationOptionArrayOutputWithContext

func (o EndpointAuthenticationOptionArrayOutput) ToEndpointAuthenticationOptionArrayOutputWithContext(ctx context.Context) EndpointAuthenticationOptionArrayOutput

type EndpointAuthenticationOptionInput

type EndpointAuthenticationOptionInput interface {
	pulumi.Input

	ToEndpointAuthenticationOptionOutput() EndpointAuthenticationOptionOutput
	ToEndpointAuthenticationOptionOutputWithContext(context.Context) EndpointAuthenticationOptionOutput
}

EndpointAuthenticationOptionInput is an input type that accepts EndpointAuthenticationOptionArgs and EndpointAuthenticationOptionOutput values. You can construct a concrete instance of `EndpointAuthenticationOptionInput` via:

EndpointAuthenticationOptionArgs{...}

type EndpointAuthenticationOptionOutput

type EndpointAuthenticationOptionOutput struct{ *pulumi.OutputState }

func (EndpointAuthenticationOptionOutput) ActiveDirectoryId

The ID of the Active Directory to be used for authentication if type is `directory-service-authentication`.

func (EndpointAuthenticationOptionOutput) ElementType

func (EndpointAuthenticationOptionOutput) RootCertificateChainArn

func (o EndpointAuthenticationOptionOutput) RootCertificateChainArn() pulumi.StringPtrOutput

The ARN of the client certificate. The certificate must be signed by a certificate authority (CA) and it must be provisioned in AWS Certificate Manager (ACM). Only necessary when type is set to `certificate-authentication`.

func (EndpointAuthenticationOptionOutput) SamlProviderArn

The ARN of the IAM SAML identity provider if type is `federated-authentication`.

func (EndpointAuthenticationOptionOutput) SelfServiceSamlProviderArn

func (o EndpointAuthenticationOptionOutput) SelfServiceSamlProviderArn() pulumi.StringPtrOutput

The ARN of the IAM SAML identity provider for the self service portal if type is `federated-authentication`.

func (EndpointAuthenticationOptionOutput) ToEndpointAuthenticationOptionOutput

func (o EndpointAuthenticationOptionOutput) ToEndpointAuthenticationOptionOutput() EndpointAuthenticationOptionOutput

func (EndpointAuthenticationOptionOutput) ToEndpointAuthenticationOptionOutputWithContext

func (o EndpointAuthenticationOptionOutput) ToEndpointAuthenticationOptionOutputWithContext(ctx context.Context) EndpointAuthenticationOptionOutput

func (EndpointAuthenticationOptionOutput) Type

The type of client authentication to be used. Specify `certificate-authentication` to use certificate-based authentication, `directory-service-authentication` to use Active Directory authentication, or `federated-authentication` to use Federated Authentication via SAML 2.0.

type EndpointClientConnectOptions

type EndpointClientConnectOptions struct {
	// Indicates whether client connect options are enabled. The default is `false` (not enabled).
	Enabled *bool `pulumi:"enabled"`
	// The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
	LambdaFunctionArn *string `pulumi:"lambdaFunctionArn"`
}

type EndpointClientConnectOptionsArgs

type EndpointClientConnectOptionsArgs struct {
	// Indicates whether client connect options are enabled. The default is `false` (not enabled).
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
	LambdaFunctionArn pulumi.StringPtrInput `pulumi:"lambdaFunctionArn"`
}

func (EndpointClientConnectOptionsArgs) ElementType

func (EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsOutput

func (i EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsOutput() EndpointClientConnectOptionsOutput

func (EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsOutputWithContext

func (i EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsOutputWithContext(ctx context.Context) EndpointClientConnectOptionsOutput

func (EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsPtrOutput

func (i EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsPtrOutput() EndpointClientConnectOptionsPtrOutput

func (EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsPtrOutputWithContext

func (i EndpointClientConnectOptionsArgs) ToEndpointClientConnectOptionsPtrOutputWithContext(ctx context.Context) EndpointClientConnectOptionsPtrOutput

type EndpointClientConnectOptionsInput

type EndpointClientConnectOptionsInput interface {
	pulumi.Input

	ToEndpointClientConnectOptionsOutput() EndpointClientConnectOptionsOutput
	ToEndpointClientConnectOptionsOutputWithContext(context.Context) EndpointClientConnectOptionsOutput
}

EndpointClientConnectOptionsInput is an input type that accepts EndpointClientConnectOptionsArgs and EndpointClientConnectOptionsOutput values. You can construct a concrete instance of `EndpointClientConnectOptionsInput` via:

EndpointClientConnectOptionsArgs{...}

type EndpointClientConnectOptionsOutput

type EndpointClientConnectOptionsOutput struct{ *pulumi.OutputState }

func (EndpointClientConnectOptionsOutput) ElementType

func (EndpointClientConnectOptionsOutput) Enabled

Indicates whether client connect options are enabled. The default is `false` (not enabled).

func (EndpointClientConnectOptionsOutput) LambdaFunctionArn

The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.

func (EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsOutput

func (o EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsOutput() EndpointClientConnectOptionsOutput

func (EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsOutputWithContext

func (o EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsOutputWithContext(ctx context.Context) EndpointClientConnectOptionsOutput

func (EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsPtrOutput

func (o EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsPtrOutput() EndpointClientConnectOptionsPtrOutput

func (EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsPtrOutputWithContext

func (o EndpointClientConnectOptionsOutput) ToEndpointClientConnectOptionsPtrOutputWithContext(ctx context.Context) EndpointClientConnectOptionsPtrOutput

type EndpointClientConnectOptionsPtrInput

type EndpointClientConnectOptionsPtrInput interface {
	pulumi.Input

	ToEndpointClientConnectOptionsPtrOutput() EndpointClientConnectOptionsPtrOutput
	ToEndpointClientConnectOptionsPtrOutputWithContext(context.Context) EndpointClientConnectOptionsPtrOutput
}

EndpointClientConnectOptionsPtrInput is an input type that accepts EndpointClientConnectOptionsArgs, EndpointClientConnectOptionsPtr and EndpointClientConnectOptionsPtrOutput values. You can construct a concrete instance of `EndpointClientConnectOptionsPtrInput` via:

        EndpointClientConnectOptionsArgs{...}

or:

        nil

type EndpointClientConnectOptionsPtrOutput

type EndpointClientConnectOptionsPtrOutput struct{ *pulumi.OutputState }

func (EndpointClientConnectOptionsPtrOutput) Elem

func (EndpointClientConnectOptionsPtrOutput) ElementType

func (EndpointClientConnectOptionsPtrOutput) Enabled

Indicates whether client connect options are enabled. The default is `false` (not enabled).

func (EndpointClientConnectOptionsPtrOutput) LambdaFunctionArn

The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.

func (EndpointClientConnectOptionsPtrOutput) ToEndpointClientConnectOptionsPtrOutput

func (o EndpointClientConnectOptionsPtrOutput) ToEndpointClientConnectOptionsPtrOutput() EndpointClientConnectOptionsPtrOutput

func (EndpointClientConnectOptionsPtrOutput) ToEndpointClientConnectOptionsPtrOutputWithContext

func (o EndpointClientConnectOptionsPtrOutput) ToEndpointClientConnectOptionsPtrOutputWithContext(ctx context.Context) EndpointClientConnectOptionsPtrOutput

type EndpointClientLoginBannerOptions

type EndpointClientLoginBannerOptions struct {
	// Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.
	BannerText *string `pulumi:"bannerText"`
	// Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. The default is `false` (not enabled).
	Enabled *bool `pulumi:"enabled"`
}

type EndpointClientLoginBannerOptionsArgs

type EndpointClientLoginBannerOptionsArgs struct {
	// Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.
	BannerText pulumi.StringPtrInput `pulumi:"bannerText"`
	// Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. The default is `false` (not enabled).
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (EndpointClientLoginBannerOptionsArgs) ElementType

func (EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsOutput

func (i EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsOutput() EndpointClientLoginBannerOptionsOutput

func (EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsOutputWithContext

func (i EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsOutputWithContext(ctx context.Context) EndpointClientLoginBannerOptionsOutput

func (EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsPtrOutput

func (i EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsPtrOutput() EndpointClientLoginBannerOptionsPtrOutput

func (EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsPtrOutputWithContext

func (i EndpointClientLoginBannerOptionsArgs) ToEndpointClientLoginBannerOptionsPtrOutputWithContext(ctx context.Context) EndpointClientLoginBannerOptionsPtrOutput

type EndpointClientLoginBannerOptionsInput

type EndpointClientLoginBannerOptionsInput interface {
	pulumi.Input

	ToEndpointClientLoginBannerOptionsOutput() EndpointClientLoginBannerOptionsOutput
	ToEndpointClientLoginBannerOptionsOutputWithContext(context.Context) EndpointClientLoginBannerOptionsOutput
}

EndpointClientLoginBannerOptionsInput is an input type that accepts EndpointClientLoginBannerOptionsArgs and EndpointClientLoginBannerOptionsOutput values. You can construct a concrete instance of `EndpointClientLoginBannerOptionsInput` via:

EndpointClientLoginBannerOptionsArgs{...}

type EndpointClientLoginBannerOptionsOutput

type EndpointClientLoginBannerOptionsOutput struct{ *pulumi.OutputState }

func (EndpointClientLoginBannerOptionsOutput) BannerText

Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.

func (EndpointClientLoginBannerOptionsOutput) ElementType

func (EndpointClientLoginBannerOptionsOutput) Enabled

Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. The default is `false` (not enabled).

func (EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsOutput

func (o EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsOutput() EndpointClientLoginBannerOptionsOutput

func (EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsOutputWithContext

func (o EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsOutputWithContext(ctx context.Context) EndpointClientLoginBannerOptionsOutput

func (EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsPtrOutput

func (o EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsPtrOutput() EndpointClientLoginBannerOptionsPtrOutput

func (EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsPtrOutputWithContext

func (o EndpointClientLoginBannerOptionsOutput) ToEndpointClientLoginBannerOptionsPtrOutputWithContext(ctx context.Context) EndpointClientLoginBannerOptionsPtrOutput

type EndpointClientLoginBannerOptionsPtrInput

type EndpointClientLoginBannerOptionsPtrInput interface {
	pulumi.Input

	ToEndpointClientLoginBannerOptionsPtrOutput() EndpointClientLoginBannerOptionsPtrOutput
	ToEndpointClientLoginBannerOptionsPtrOutputWithContext(context.Context) EndpointClientLoginBannerOptionsPtrOutput
}

EndpointClientLoginBannerOptionsPtrInput is an input type that accepts EndpointClientLoginBannerOptionsArgs, EndpointClientLoginBannerOptionsPtr and EndpointClientLoginBannerOptionsPtrOutput values. You can construct a concrete instance of `EndpointClientLoginBannerOptionsPtrInput` via:

        EndpointClientLoginBannerOptionsArgs{...}

or:

        nil

type EndpointClientLoginBannerOptionsPtrOutput

type EndpointClientLoginBannerOptionsPtrOutput struct{ *pulumi.OutputState }

func (EndpointClientLoginBannerOptionsPtrOutput) BannerText

Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.

func (EndpointClientLoginBannerOptionsPtrOutput) Elem

func (EndpointClientLoginBannerOptionsPtrOutput) ElementType

func (EndpointClientLoginBannerOptionsPtrOutput) Enabled

Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. The default is `false` (not enabled).

func (EndpointClientLoginBannerOptionsPtrOutput) ToEndpointClientLoginBannerOptionsPtrOutput

func (o EndpointClientLoginBannerOptionsPtrOutput) ToEndpointClientLoginBannerOptionsPtrOutput() EndpointClientLoginBannerOptionsPtrOutput

func (EndpointClientLoginBannerOptionsPtrOutput) ToEndpointClientLoginBannerOptionsPtrOutputWithContext

func (o EndpointClientLoginBannerOptionsPtrOutput) ToEndpointClientLoginBannerOptionsPtrOutputWithContext(ctx context.Context) EndpointClientLoginBannerOptionsPtrOutput

type EndpointConnectionLogOptions

type EndpointConnectionLogOptions struct {
	// The name of the CloudWatch Logs log group.
	CloudwatchLogGroup *string `pulumi:"cloudwatchLogGroup"`
	// The name of the CloudWatch Logs log stream to which the connection data is published.
	CloudwatchLogStream *string `pulumi:"cloudwatchLogStream"`
	// Indicates whether connection logging is enabled.
	Enabled bool `pulumi:"enabled"`
}

type EndpointConnectionLogOptionsArgs

type EndpointConnectionLogOptionsArgs struct {
	// The name of the CloudWatch Logs log group.
	CloudwatchLogGroup pulumi.StringPtrInput `pulumi:"cloudwatchLogGroup"`
	// The name of the CloudWatch Logs log stream to which the connection data is published.
	CloudwatchLogStream pulumi.StringPtrInput `pulumi:"cloudwatchLogStream"`
	// Indicates whether connection logging is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (EndpointConnectionLogOptionsArgs) ElementType

func (EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsOutput

func (i EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsOutput() EndpointConnectionLogOptionsOutput

func (EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsOutputWithContext

func (i EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsOutputWithContext(ctx context.Context) EndpointConnectionLogOptionsOutput

func (EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsPtrOutput

func (i EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsPtrOutput() EndpointConnectionLogOptionsPtrOutput

func (EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsPtrOutputWithContext

func (i EndpointConnectionLogOptionsArgs) ToEndpointConnectionLogOptionsPtrOutputWithContext(ctx context.Context) EndpointConnectionLogOptionsPtrOutput

type EndpointConnectionLogOptionsInput

type EndpointConnectionLogOptionsInput interface {
	pulumi.Input

	ToEndpointConnectionLogOptionsOutput() EndpointConnectionLogOptionsOutput
	ToEndpointConnectionLogOptionsOutputWithContext(context.Context) EndpointConnectionLogOptionsOutput
}

EndpointConnectionLogOptionsInput is an input type that accepts EndpointConnectionLogOptionsArgs and EndpointConnectionLogOptionsOutput values. You can construct a concrete instance of `EndpointConnectionLogOptionsInput` via:

EndpointConnectionLogOptionsArgs{...}

type EndpointConnectionLogOptionsOutput

type EndpointConnectionLogOptionsOutput struct{ *pulumi.OutputState }

func (EndpointConnectionLogOptionsOutput) CloudwatchLogGroup

The name of the CloudWatch Logs log group.

func (EndpointConnectionLogOptionsOutput) CloudwatchLogStream

The name of the CloudWatch Logs log stream to which the connection data is published.

func (EndpointConnectionLogOptionsOutput) ElementType

func (EndpointConnectionLogOptionsOutput) Enabled

Indicates whether connection logging is enabled.

func (EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsOutput

func (o EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsOutput() EndpointConnectionLogOptionsOutput

func (EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsOutputWithContext

func (o EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsOutputWithContext(ctx context.Context) EndpointConnectionLogOptionsOutput

func (EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsPtrOutput

func (o EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsPtrOutput() EndpointConnectionLogOptionsPtrOutput

func (EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsPtrOutputWithContext

func (o EndpointConnectionLogOptionsOutput) ToEndpointConnectionLogOptionsPtrOutputWithContext(ctx context.Context) EndpointConnectionLogOptionsPtrOutput

type EndpointConnectionLogOptionsPtrInput

type EndpointConnectionLogOptionsPtrInput interface {
	pulumi.Input

	ToEndpointConnectionLogOptionsPtrOutput() EndpointConnectionLogOptionsPtrOutput
	ToEndpointConnectionLogOptionsPtrOutputWithContext(context.Context) EndpointConnectionLogOptionsPtrOutput
}

EndpointConnectionLogOptionsPtrInput is an input type that accepts EndpointConnectionLogOptionsArgs, EndpointConnectionLogOptionsPtr and EndpointConnectionLogOptionsPtrOutput values. You can construct a concrete instance of `EndpointConnectionLogOptionsPtrInput` via:

        EndpointConnectionLogOptionsArgs{...}

or:

        nil

type EndpointConnectionLogOptionsPtrOutput

type EndpointConnectionLogOptionsPtrOutput struct{ *pulumi.OutputState }

func (EndpointConnectionLogOptionsPtrOutput) CloudwatchLogGroup

The name of the CloudWatch Logs log group.

func (EndpointConnectionLogOptionsPtrOutput) CloudwatchLogStream

The name of the CloudWatch Logs log stream to which the connection data is published.

func (EndpointConnectionLogOptionsPtrOutput) Elem

func (EndpointConnectionLogOptionsPtrOutput) ElementType

func (EndpointConnectionLogOptionsPtrOutput) Enabled

Indicates whether connection logging is enabled.

func (EndpointConnectionLogOptionsPtrOutput) ToEndpointConnectionLogOptionsPtrOutput

func (o EndpointConnectionLogOptionsPtrOutput) ToEndpointConnectionLogOptionsPtrOutput() EndpointConnectionLogOptionsPtrOutput

func (EndpointConnectionLogOptionsPtrOutput) ToEndpointConnectionLogOptionsPtrOutputWithContext

func (o EndpointConnectionLogOptionsPtrOutput) ToEndpointConnectionLogOptionsPtrOutputWithContext(ctx context.Context) EndpointConnectionLogOptionsPtrOutput

type EndpointInput

type EndpointInput interface {
	pulumi.Input

	ToEndpointOutput() EndpointOutput
	ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
}

type EndpointMap

type EndpointMap map[string]EndpointInput

func (EndpointMap) ElementType

func (EndpointMap) ElementType() reflect.Type

func (EndpointMap) ToEndpointMapOutput

func (i EndpointMap) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMap) ToEndpointMapOutputWithContext

func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointMapInput

type EndpointMapInput interface {
	pulumi.Input

	ToEndpointMapOutput() EndpointMapOutput
	ToEndpointMapOutputWithContext(context.Context) EndpointMapOutput
}

EndpointMapInput is an input type that accepts EndpointMap and EndpointMapOutput values. You can construct a concrete instance of `EndpointMapInput` via:

EndpointMap{ "key": EndpointArgs{...} }

type EndpointMapOutput

type EndpointMapOutput struct{ *pulumi.OutputState }

func (EndpointMapOutput) ElementType

func (EndpointMapOutput) ElementType() reflect.Type

func (EndpointMapOutput) MapIndex

func (EndpointMapOutput) ToEndpointMapOutput

func (o EndpointMapOutput) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMapOutput) ToEndpointMapOutputWithContext

func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointOutput

type EndpointOutput struct{ *pulumi.OutputState }

func (EndpointOutput) Arn

The ARN of the Client VPN endpoint.

func (EndpointOutput) AuthenticationOptions

func (o EndpointOutput) AuthenticationOptions() EndpointAuthenticationOptionArrayOutput

Information about the authentication method to be used to authenticate clients.

func (EndpointOutput) ClientCidrBlock

func (o EndpointOutput) ClientCidrBlock() pulumi.StringOutput

The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.

func (EndpointOutput) ClientConnectOptions

func (o EndpointOutput) ClientConnectOptions() EndpointClientConnectOptionsOutput

The options for managing connection authorization for new client connections.

func (EndpointOutput) ClientLoginBannerOptions

func (o EndpointOutput) ClientLoginBannerOptions() EndpointClientLoginBannerOptionsOutput

Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.

func (EndpointOutput) ConnectionLogOptions

func (o EndpointOutput) ConnectionLogOptions() EndpointConnectionLogOptionsOutput

Information about the client connection logging options.

func (EndpointOutput) Description

func (o EndpointOutput) Description() pulumi.StringPtrOutput

A brief description of the Client VPN endpoint.

func (EndpointOutput) DnsName

func (o EndpointOutput) DnsName() pulumi.StringOutput

The DNS name to be used by clients when establishing their VPN session.

func (EndpointOutput) DnsServers

func (o EndpointOutput) DnsServers() pulumi.StringArrayOutput

Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address of the connecting device is used.

func (EndpointOutput) ElementType

func (EndpointOutput) ElementType() reflect.Type

func (EndpointOutput) SecurityGroupIds

func (o EndpointOutput) SecurityGroupIds() pulumi.StringArrayOutput

The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.

func (EndpointOutput) SelfServicePortal

func (o EndpointOutput) SelfServicePortal() pulumi.StringPtrOutput

Specify whether to enable the self-service portal for the Client VPN endpoint. Values can be `enabled` or `disabled`. Default value is `disabled`.

func (EndpointOutput) ServerCertificateArn

func (o EndpointOutput) ServerCertificateArn() pulumi.StringOutput

The ARN of the ACM server certificate.

func (EndpointOutput) SessionTimeoutHours

func (o EndpointOutput) SessionTimeoutHours() pulumi.IntPtrOutput

The maximum session duration is a trigger by which end-users are required to re-authenticate prior to establishing a VPN session. Default value is `24` - Valid values: `8 | 10 | 12 | 24`

func (EndpointOutput) SplitTunnel

func (o EndpointOutput) SplitTunnel() pulumi.BoolPtrOutput

Indicates whether split-tunnel is enabled on VPN endpoint. Default value is `false`.

func (EndpointOutput) Tags

A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (EndpointOutput) TagsAll

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (EndpointOutput) ToEndpointOutput

func (o EndpointOutput) ToEndpointOutput() EndpointOutput

func (EndpointOutput) ToEndpointOutputWithContext

func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

func (EndpointOutput) TransportProtocol

func (o EndpointOutput) TransportProtocol() pulumi.StringPtrOutput

The transport protocol to be used by the VPN session. Default value is `udp`.

func (EndpointOutput) VpcId

The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.

func (EndpointOutput) VpnPort

func (o EndpointOutput) VpnPort() pulumi.IntPtrOutput

The port number for the Client VPN endpoint. Valid values are `443` and `1194`. Default value is `443`.

type EndpointState

type EndpointState struct {
	// The ARN of the Client VPN endpoint.
	Arn pulumi.StringPtrInput
	// Information about the authentication method to be used to authenticate clients.
	AuthenticationOptions EndpointAuthenticationOptionArrayInput
	// The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.
	ClientCidrBlock pulumi.StringPtrInput
	// The options for managing connection authorization for new client connections.
	ClientConnectOptions EndpointClientConnectOptionsPtrInput
	// Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
	ClientLoginBannerOptions EndpointClientLoginBannerOptionsPtrInput
	// Information about the client connection logging options.
	ConnectionLogOptions EndpointConnectionLogOptionsPtrInput
	// A brief description of the Client VPN endpoint.
	Description pulumi.StringPtrInput
	// The DNS name to be used by clients when establishing their VPN session.
	DnsName pulumi.StringPtrInput
	// Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address of the connecting device is used.
	DnsServers pulumi.StringArrayInput
	// The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
	SecurityGroupIds pulumi.StringArrayInput
	// Specify whether to enable the self-service portal for the Client VPN endpoint. Values can be `enabled` or `disabled`. Default value is `disabled`.
	SelfServicePortal pulumi.StringPtrInput
	// The ARN of the ACM server certificate.
	ServerCertificateArn pulumi.StringPtrInput
	// The maximum session duration is a trigger by which end-users are required to re-authenticate prior to establishing a VPN session. Default value is `24` - Valid values: `8 | 10 | 12 | 24`
	SessionTimeoutHours pulumi.IntPtrInput
	// Indicates whether split-tunnel is enabled on VPN endpoint. Default value is `false`.
	SplitTunnel pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// The transport protocol to be used by the VPN session. Default value is `udp`.
	TransportProtocol pulumi.StringPtrInput
	// The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.
	VpcId pulumi.StringPtrInput
	// The port number for the Client VPN endpoint. Valid values are `443` and `1194`. Default value is `443`.
	VpnPort pulumi.IntPtrInput
}

func (EndpointState) ElementType

func (EndpointState) ElementType() reflect.Type

type GetEndpointAuthenticationOption

type GetEndpointAuthenticationOption struct {
	ActiveDirectoryId          string `pulumi:"activeDirectoryId"`
	RootCertificateChainArn    string `pulumi:"rootCertificateChainArn"`
	SamlProviderArn            string `pulumi:"samlProviderArn"`
	SelfServiceSamlProviderArn string `pulumi:"selfServiceSamlProviderArn"`
	Type                       string `pulumi:"type"`
}

type GetEndpointAuthenticationOptionArgs

type GetEndpointAuthenticationOptionArgs struct {
	ActiveDirectoryId          pulumi.StringInput `pulumi:"activeDirectoryId"`
	RootCertificateChainArn    pulumi.StringInput `pulumi:"rootCertificateChainArn"`
	SamlProviderArn            pulumi.StringInput `pulumi:"samlProviderArn"`
	SelfServiceSamlProviderArn pulumi.StringInput `pulumi:"selfServiceSamlProviderArn"`
	Type                       pulumi.StringInput `pulumi:"type"`
}

func (GetEndpointAuthenticationOptionArgs) ElementType

func (GetEndpointAuthenticationOptionArgs) ToGetEndpointAuthenticationOptionOutput

func (i GetEndpointAuthenticationOptionArgs) ToGetEndpointAuthenticationOptionOutput() GetEndpointAuthenticationOptionOutput

func (GetEndpointAuthenticationOptionArgs) ToGetEndpointAuthenticationOptionOutputWithContext

func (i GetEndpointAuthenticationOptionArgs) ToGetEndpointAuthenticationOptionOutputWithContext(ctx context.Context) GetEndpointAuthenticationOptionOutput

type GetEndpointAuthenticationOptionArray

type GetEndpointAuthenticationOptionArray []GetEndpointAuthenticationOptionInput

func (GetEndpointAuthenticationOptionArray) ElementType

func (GetEndpointAuthenticationOptionArray) ToGetEndpointAuthenticationOptionArrayOutput

func (i GetEndpointAuthenticationOptionArray) ToGetEndpointAuthenticationOptionArrayOutput() GetEndpointAuthenticationOptionArrayOutput

func (GetEndpointAuthenticationOptionArray) ToGetEndpointAuthenticationOptionArrayOutputWithContext

func (i GetEndpointAuthenticationOptionArray) ToGetEndpointAuthenticationOptionArrayOutputWithContext(ctx context.Context) GetEndpointAuthenticationOptionArrayOutput

type GetEndpointAuthenticationOptionArrayInput

type GetEndpointAuthenticationOptionArrayInput interface {
	pulumi.Input

	ToGetEndpointAuthenticationOptionArrayOutput() GetEndpointAuthenticationOptionArrayOutput
	ToGetEndpointAuthenticationOptionArrayOutputWithContext(context.Context) GetEndpointAuthenticationOptionArrayOutput
}

GetEndpointAuthenticationOptionArrayInput is an input type that accepts GetEndpointAuthenticationOptionArray and GetEndpointAuthenticationOptionArrayOutput values. You can construct a concrete instance of `GetEndpointAuthenticationOptionArrayInput` via:

GetEndpointAuthenticationOptionArray{ GetEndpointAuthenticationOptionArgs{...} }

type GetEndpointAuthenticationOptionArrayOutput

type GetEndpointAuthenticationOptionArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointAuthenticationOptionArrayOutput) ElementType

func (GetEndpointAuthenticationOptionArrayOutput) Index

func (GetEndpointAuthenticationOptionArrayOutput) ToGetEndpointAuthenticationOptionArrayOutput

func (o GetEndpointAuthenticationOptionArrayOutput) ToGetEndpointAuthenticationOptionArrayOutput() GetEndpointAuthenticationOptionArrayOutput

func (GetEndpointAuthenticationOptionArrayOutput) ToGetEndpointAuthenticationOptionArrayOutputWithContext

func (o GetEndpointAuthenticationOptionArrayOutput) ToGetEndpointAuthenticationOptionArrayOutputWithContext(ctx context.Context) GetEndpointAuthenticationOptionArrayOutput

type GetEndpointAuthenticationOptionInput

type GetEndpointAuthenticationOptionInput interface {
	pulumi.Input

	ToGetEndpointAuthenticationOptionOutput() GetEndpointAuthenticationOptionOutput
	ToGetEndpointAuthenticationOptionOutputWithContext(context.Context) GetEndpointAuthenticationOptionOutput
}

GetEndpointAuthenticationOptionInput is an input type that accepts GetEndpointAuthenticationOptionArgs and GetEndpointAuthenticationOptionOutput values. You can construct a concrete instance of `GetEndpointAuthenticationOptionInput` via:

GetEndpointAuthenticationOptionArgs{...}

type GetEndpointAuthenticationOptionOutput

type GetEndpointAuthenticationOptionOutput struct{ *pulumi.OutputState }

func (GetEndpointAuthenticationOptionOutput) ActiveDirectoryId

func (GetEndpointAuthenticationOptionOutput) ElementType

func (GetEndpointAuthenticationOptionOutput) RootCertificateChainArn

func (o GetEndpointAuthenticationOptionOutput) RootCertificateChainArn() pulumi.StringOutput

func (GetEndpointAuthenticationOptionOutput) SamlProviderArn

func (GetEndpointAuthenticationOptionOutput) SelfServiceSamlProviderArn

func (o GetEndpointAuthenticationOptionOutput) SelfServiceSamlProviderArn() pulumi.StringOutput

func (GetEndpointAuthenticationOptionOutput) ToGetEndpointAuthenticationOptionOutput

func (o GetEndpointAuthenticationOptionOutput) ToGetEndpointAuthenticationOptionOutput() GetEndpointAuthenticationOptionOutput

func (GetEndpointAuthenticationOptionOutput) ToGetEndpointAuthenticationOptionOutputWithContext

func (o GetEndpointAuthenticationOptionOutput) ToGetEndpointAuthenticationOptionOutputWithContext(ctx context.Context) GetEndpointAuthenticationOptionOutput

func (GetEndpointAuthenticationOptionOutput) Type

type GetEndpointClientConnectOption

type GetEndpointClientConnectOption struct {
	Enabled           bool   `pulumi:"enabled"`
	LambdaFunctionArn string `pulumi:"lambdaFunctionArn"`
}

type GetEndpointClientConnectOptionArgs

type GetEndpointClientConnectOptionArgs struct {
	Enabled           pulumi.BoolInput   `pulumi:"enabled"`
	LambdaFunctionArn pulumi.StringInput `pulumi:"lambdaFunctionArn"`
}

func (GetEndpointClientConnectOptionArgs) ElementType

func (GetEndpointClientConnectOptionArgs) ToGetEndpointClientConnectOptionOutput

func (i GetEndpointClientConnectOptionArgs) ToGetEndpointClientConnectOptionOutput() GetEndpointClientConnectOptionOutput

func (GetEndpointClientConnectOptionArgs) ToGetEndpointClientConnectOptionOutputWithContext

func (i GetEndpointClientConnectOptionArgs) ToGetEndpointClientConnectOptionOutputWithContext(ctx context.Context) GetEndpointClientConnectOptionOutput

type GetEndpointClientConnectOptionArray

type GetEndpointClientConnectOptionArray []GetEndpointClientConnectOptionInput

func (GetEndpointClientConnectOptionArray) ElementType

func (GetEndpointClientConnectOptionArray) ToGetEndpointClientConnectOptionArrayOutput

func (i GetEndpointClientConnectOptionArray) ToGetEndpointClientConnectOptionArrayOutput() GetEndpointClientConnectOptionArrayOutput

func (GetEndpointClientConnectOptionArray) ToGetEndpointClientConnectOptionArrayOutputWithContext

func (i GetEndpointClientConnectOptionArray) ToGetEndpointClientConnectOptionArrayOutputWithContext(ctx context.Context) GetEndpointClientConnectOptionArrayOutput

type GetEndpointClientConnectOptionArrayInput

type GetEndpointClientConnectOptionArrayInput interface {
	pulumi.Input

	ToGetEndpointClientConnectOptionArrayOutput() GetEndpointClientConnectOptionArrayOutput
	ToGetEndpointClientConnectOptionArrayOutputWithContext(context.Context) GetEndpointClientConnectOptionArrayOutput
}

GetEndpointClientConnectOptionArrayInput is an input type that accepts GetEndpointClientConnectOptionArray and GetEndpointClientConnectOptionArrayOutput values. You can construct a concrete instance of `GetEndpointClientConnectOptionArrayInput` via:

GetEndpointClientConnectOptionArray{ GetEndpointClientConnectOptionArgs{...} }

type GetEndpointClientConnectOptionArrayOutput

type GetEndpointClientConnectOptionArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointClientConnectOptionArrayOutput) ElementType

func (GetEndpointClientConnectOptionArrayOutput) Index

func (GetEndpointClientConnectOptionArrayOutput) ToGetEndpointClientConnectOptionArrayOutput

func (o GetEndpointClientConnectOptionArrayOutput) ToGetEndpointClientConnectOptionArrayOutput() GetEndpointClientConnectOptionArrayOutput

func (GetEndpointClientConnectOptionArrayOutput) ToGetEndpointClientConnectOptionArrayOutputWithContext

func (o GetEndpointClientConnectOptionArrayOutput) ToGetEndpointClientConnectOptionArrayOutputWithContext(ctx context.Context) GetEndpointClientConnectOptionArrayOutput

type GetEndpointClientConnectOptionInput

type GetEndpointClientConnectOptionInput interface {
	pulumi.Input

	ToGetEndpointClientConnectOptionOutput() GetEndpointClientConnectOptionOutput
	ToGetEndpointClientConnectOptionOutputWithContext(context.Context) GetEndpointClientConnectOptionOutput
}

GetEndpointClientConnectOptionInput is an input type that accepts GetEndpointClientConnectOptionArgs and GetEndpointClientConnectOptionOutput values. You can construct a concrete instance of `GetEndpointClientConnectOptionInput` via:

GetEndpointClientConnectOptionArgs{...}

type GetEndpointClientConnectOptionOutput

type GetEndpointClientConnectOptionOutput struct{ *pulumi.OutputState }

func (GetEndpointClientConnectOptionOutput) ElementType

func (GetEndpointClientConnectOptionOutput) Enabled

func (GetEndpointClientConnectOptionOutput) LambdaFunctionArn

func (GetEndpointClientConnectOptionOutput) ToGetEndpointClientConnectOptionOutput

func (o GetEndpointClientConnectOptionOutput) ToGetEndpointClientConnectOptionOutput() GetEndpointClientConnectOptionOutput

func (GetEndpointClientConnectOptionOutput) ToGetEndpointClientConnectOptionOutputWithContext

func (o GetEndpointClientConnectOptionOutput) ToGetEndpointClientConnectOptionOutputWithContext(ctx context.Context) GetEndpointClientConnectOptionOutput

type GetEndpointClientLoginBannerOption

type GetEndpointClientLoginBannerOption struct {
	BannerText string `pulumi:"bannerText"`
	Enabled    bool   `pulumi:"enabled"`
}

type GetEndpointClientLoginBannerOptionArgs

type GetEndpointClientLoginBannerOptionArgs struct {
	BannerText pulumi.StringInput `pulumi:"bannerText"`
	Enabled    pulumi.BoolInput   `pulumi:"enabled"`
}

func (GetEndpointClientLoginBannerOptionArgs) ElementType

func (GetEndpointClientLoginBannerOptionArgs) ToGetEndpointClientLoginBannerOptionOutput

func (i GetEndpointClientLoginBannerOptionArgs) ToGetEndpointClientLoginBannerOptionOutput() GetEndpointClientLoginBannerOptionOutput

func (GetEndpointClientLoginBannerOptionArgs) ToGetEndpointClientLoginBannerOptionOutputWithContext

func (i GetEndpointClientLoginBannerOptionArgs) ToGetEndpointClientLoginBannerOptionOutputWithContext(ctx context.Context) GetEndpointClientLoginBannerOptionOutput

type GetEndpointClientLoginBannerOptionArray

type GetEndpointClientLoginBannerOptionArray []GetEndpointClientLoginBannerOptionInput

func (GetEndpointClientLoginBannerOptionArray) ElementType

func (GetEndpointClientLoginBannerOptionArray) ToGetEndpointClientLoginBannerOptionArrayOutput

func (i GetEndpointClientLoginBannerOptionArray) ToGetEndpointClientLoginBannerOptionArrayOutput() GetEndpointClientLoginBannerOptionArrayOutput

func (GetEndpointClientLoginBannerOptionArray) ToGetEndpointClientLoginBannerOptionArrayOutputWithContext

func (i GetEndpointClientLoginBannerOptionArray) ToGetEndpointClientLoginBannerOptionArrayOutputWithContext(ctx context.Context) GetEndpointClientLoginBannerOptionArrayOutput

type GetEndpointClientLoginBannerOptionArrayInput

type GetEndpointClientLoginBannerOptionArrayInput interface {
	pulumi.Input

	ToGetEndpointClientLoginBannerOptionArrayOutput() GetEndpointClientLoginBannerOptionArrayOutput
	ToGetEndpointClientLoginBannerOptionArrayOutputWithContext(context.Context) GetEndpointClientLoginBannerOptionArrayOutput
}

GetEndpointClientLoginBannerOptionArrayInput is an input type that accepts GetEndpointClientLoginBannerOptionArray and GetEndpointClientLoginBannerOptionArrayOutput values. You can construct a concrete instance of `GetEndpointClientLoginBannerOptionArrayInput` via:

GetEndpointClientLoginBannerOptionArray{ GetEndpointClientLoginBannerOptionArgs{...} }

type GetEndpointClientLoginBannerOptionArrayOutput

type GetEndpointClientLoginBannerOptionArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointClientLoginBannerOptionArrayOutput) ElementType

func (GetEndpointClientLoginBannerOptionArrayOutput) Index

func (GetEndpointClientLoginBannerOptionArrayOutput) ToGetEndpointClientLoginBannerOptionArrayOutput

func (o GetEndpointClientLoginBannerOptionArrayOutput) ToGetEndpointClientLoginBannerOptionArrayOutput() GetEndpointClientLoginBannerOptionArrayOutput

func (GetEndpointClientLoginBannerOptionArrayOutput) ToGetEndpointClientLoginBannerOptionArrayOutputWithContext

func (o GetEndpointClientLoginBannerOptionArrayOutput) ToGetEndpointClientLoginBannerOptionArrayOutputWithContext(ctx context.Context) GetEndpointClientLoginBannerOptionArrayOutput

type GetEndpointClientLoginBannerOptionInput

type GetEndpointClientLoginBannerOptionInput interface {
	pulumi.Input

	ToGetEndpointClientLoginBannerOptionOutput() GetEndpointClientLoginBannerOptionOutput
	ToGetEndpointClientLoginBannerOptionOutputWithContext(context.Context) GetEndpointClientLoginBannerOptionOutput
}

GetEndpointClientLoginBannerOptionInput is an input type that accepts GetEndpointClientLoginBannerOptionArgs and GetEndpointClientLoginBannerOptionOutput values. You can construct a concrete instance of `GetEndpointClientLoginBannerOptionInput` via:

GetEndpointClientLoginBannerOptionArgs{...}

type GetEndpointClientLoginBannerOptionOutput

type GetEndpointClientLoginBannerOptionOutput struct{ *pulumi.OutputState }

func (GetEndpointClientLoginBannerOptionOutput) BannerText

func (GetEndpointClientLoginBannerOptionOutput) ElementType

func (GetEndpointClientLoginBannerOptionOutput) Enabled

func (GetEndpointClientLoginBannerOptionOutput) ToGetEndpointClientLoginBannerOptionOutput

func (o GetEndpointClientLoginBannerOptionOutput) ToGetEndpointClientLoginBannerOptionOutput() GetEndpointClientLoginBannerOptionOutput

func (GetEndpointClientLoginBannerOptionOutput) ToGetEndpointClientLoginBannerOptionOutputWithContext

func (o GetEndpointClientLoginBannerOptionOutput) ToGetEndpointClientLoginBannerOptionOutputWithContext(ctx context.Context) GetEndpointClientLoginBannerOptionOutput

type GetEndpointConnectionLogOption

type GetEndpointConnectionLogOption struct {
	CloudwatchLogGroup  string `pulumi:"cloudwatchLogGroup"`
	CloudwatchLogStream string `pulumi:"cloudwatchLogStream"`
	Enabled             bool   `pulumi:"enabled"`
}

type GetEndpointConnectionLogOptionArgs

type GetEndpointConnectionLogOptionArgs struct {
	CloudwatchLogGroup  pulumi.StringInput `pulumi:"cloudwatchLogGroup"`
	CloudwatchLogStream pulumi.StringInput `pulumi:"cloudwatchLogStream"`
	Enabled             pulumi.BoolInput   `pulumi:"enabled"`
}

func (GetEndpointConnectionLogOptionArgs) ElementType

func (GetEndpointConnectionLogOptionArgs) ToGetEndpointConnectionLogOptionOutput

func (i GetEndpointConnectionLogOptionArgs) ToGetEndpointConnectionLogOptionOutput() GetEndpointConnectionLogOptionOutput

func (GetEndpointConnectionLogOptionArgs) ToGetEndpointConnectionLogOptionOutputWithContext

func (i GetEndpointConnectionLogOptionArgs) ToGetEndpointConnectionLogOptionOutputWithContext(ctx context.Context) GetEndpointConnectionLogOptionOutput

type GetEndpointConnectionLogOptionArray

type GetEndpointConnectionLogOptionArray []GetEndpointConnectionLogOptionInput

func (GetEndpointConnectionLogOptionArray) ElementType

func (GetEndpointConnectionLogOptionArray) ToGetEndpointConnectionLogOptionArrayOutput

func (i GetEndpointConnectionLogOptionArray) ToGetEndpointConnectionLogOptionArrayOutput() GetEndpointConnectionLogOptionArrayOutput

func (GetEndpointConnectionLogOptionArray) ToGetEndpointConnectionLogOptionArrayOutputWithContext

func (i GetEndpointConnectionLogOptionArray) ToGetEndpointConnectionLogOptionArrayOutputWithContext(ctx context.Context) GetEndpointConnectionLogOptionArrayOutput

type GetEndpointConnectionLogOptionArrayInput

type GetEndpointConnectionLogOptionArrayInput interface {
	pulumi.Input

	ToGetEndpointConnectionLogOptionArrayOutput() GetEndpointConnectionLogOptionArrayOutput
	ToGetEndpointConnectionLogOptionArrayOutputWithContext(context.Context) GetEndpointConnectionLogOptionArrayOutput
}

GetEndpointConnectionLogOptionArrayInput is an input type that accepts GetEndpointConnectionLogOptionArray and GetEndpointConnectionLogOptionArrayOutput values. You can construct a concrete instance of `GetEndpointConnectionLogOptionArrayInput` via:

GetEndpointConnectionLogOptionArray{ GetEndpointConnectionLogOptionArgs{...} }

type GetEndpointConnectionLogOptionArrayOutput

type GetEndpointConnectionLogOptionArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointConnectionLogOptionArrayOutput) ElementType

func (GetEndpointConnectionLogOptionArrayOutput) Index

func (GetEndpointConnectionLogOptionArrayOutput) ToGetEndpointConnectionLogOptionArrayOutput

func (o GetEndpointConnectionLogOptionArrayOutput) ToGetEndpointConnectionLogOptionArrayOutput() GetEndpointConnectionLogOptionArrayOutput

func (GetEndpointConnectionLogOptionArrayOutput) ToGetEndpointConnectionLogOptionArrayOutputWithContext

func (o GetEndpointConnectionLogOptionArrayOutput) ToGetEndpointConnectionLogOptionArrayOutputWithContext(ctx context.Context) GetEndpointConnectionLogOptionArrayOutput

type GetEndpointConnectionLogOptionInput

type GetEndpointConnectionLogOptionInput interface {
	pulumi.Input

	ToGetEndpointConnectionLogOptionOutput() GetEndpointConnectionLogOptionOutput
	ToGetEndpointConnectionLogOptionOutputWithContext(context.Context) GetEndpointConnectionLogOptionOutput
}

GetEndpointConnectionLogOptionInput is an input type that accepts GetEndpointConnectionLogOptionArgs and GetEndpointConnectionLogOptionOutput values. You can construct a concrete instance of `GetEndpointConnectionLogOptionInput` via:

GetEndpointConnectionLogOptionArgs{...}

type GetEndpointConnectionLogOptionOutput

type GetEndpointConnectionLogOptionOutput struct{ *pulumi.OutputState }

func (GetEndpointConnectionLogOptionOutput) CloudwatchLogGroup

func (GetEndpointConnectionLogOptionOutput) CloudwatchLogStream

func (GetEndpointConnectionLogOptionOutput) ElementType

func (GetEndpointConnectionLogOptionOutput) Enabled

func (GetEndpointConnectionLogOptionOutput) ToGetEndpointConnectionLogOptionOutput

func (o GetEndpointConnectionLogOptionOutput) ToGetEndpointConnectionLogOptionOutput() GetEndpointConnectionLogOptionOutput

func (GetEndpointConnectionLogOptionOutput) ToGetEndpointConnectionLogOptionOutputWithContext

func (o GetEndpointConnectionLogOptionOutput) ToGetEndpointConnectionLogOptionOutputWithContext(ctx context.Context) GetEndpointConnectionLogOptionOutput

type GetEndpointFilter

type GetEndpointFilter struct {
	// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeClientVpnEndpoints.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field. An endpoint will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetEndpointFilterArgs

type GetEndpointFilterArgs struct {
	// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeClientVpnEndpoints.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field. An endpoint will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetEndpointFilterArgs) ElementType

func (GetEndpointFilterArgs) ElementType() reflect.Type

func (GetEndpointFilterArgs) ToGetEndpointFilterOutput

func (i GetEndpointFilterArgs) ToGetEndpointFilterOutput() GetEndpointFilterOutput

func (GetEndpointFilterArgs) ToGetEndpointFilterOutputWithContext

func (i GetEndpointFilterArgs) ToGetEndpointFilterOutputWithContext(ctx context.Context) GetEndpointFilterOutput

type GetEndpointFilterArray

type GetEndpointFilterArray []GetEndpointFilterInput

func (GetEndpointFilterArray) ElementType

func (GetEndpointFilterArray) ElementType() reflect.Type

func (GetEndpointFilterArray) ToGetEndpointFilterArrayOutput

func (i GetEndpointFilterArray) ToGetEndpointFilterArrayOutput() GetEndpointFilterArrayOutput

func (GetEndpointFilterArray) ToGetEndpointFilterArrayOutputWithContext

func (i GetEndpointFilterArray) ToGetEndpointFilterArrayOutputWithContext(ctx context.Context) GetEndpointFilterArrayOutput

type GetEndpointFilterArrayInput

type GetEndpointFilterArrayInput interface {
	pulumi.Input

	ToGetEndpointFilterArrayOutput() GetEndpointFilterArrayOutput
	ToGetEndpointFilterArrayOutputWithContext(context.Context) GetEndpointFilterArrayOutput
}

GetEndpointFilterArrayInput is an input type that accepts GetEndpointFilterArray and GetEndpointFilterArrayOutput values. You can construct a concrete instance of `GetEndpointFilterArrayInput` via:

GetEndpointFilterArray{ GetEndpointFilterArgs{...} }

type GetEndpointFilterArrayOutput

type GetEndpointFilterArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointFilterArrayOutput) ElementType

func (GetEndpointFilterArrayOutput) Index

func (GetEndpointFilterArrayOutput) ToGetEndpointFilterArrayOutput

func (o GetEndpointFilterArrayOutput) ToGetEndpointFilterArrayOutput() GetEndpointFilterArrayOutput

func (GetEndpointFilterArrayOutput) ToGetEndpointFilterArrayOutputWithContext

func (o GetEndpointFilterArrayOutput) ToGetEndpointFilterArrayOutputWithContext(ctx context.Context) GetEndpointFilterArrayOutput

type GetEndpointFilterInput

type GetEndpointFilterInput interface {
	pulumi.Input

	ToGetEndpointFilterOutput() GetEndpointFilterOutput
	ToGetEndpointFilterOutputWithContext(context.Context) GetEndpointFilterOutput
}

GetEndpointFilterInput is an input type that accepts GetEndpointFilterArgs and GetEndpointFilterOutput values. You can construct a concrete instance of `GetEndpointFilterInput` via:

GetEndpointFilterArgs{...}

type GetEndpointFilterOutput

type GetEndpointFilterOutput struct{ *pulumi.OutputState }

func (GetEndpointFilterOutput) ElementType

func (GetEndpointFilterOutput) ElementType() reflect.Type

func (GetEndpointFilterOutput) Name

Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeClientVpnEndpoints.html).

func (GetEndpointFilterOutput) ToGetEndpointFilterOutput

func (o GetEndpointFilterOutput) ToGetEndpointFilterOutput() GetEndpointFilterOutput

func (GetEndpointFilterOutput) ToGetEndpointFilterOutputWithContext

func (o GetEndpointFilterOutput) ToGetEndpointFilterOutputWithContext(ctx context.Context) GetEndpointFilterOutput

func (GetEndpointFilterOutput) Values

Set of values that are accepted for the given field. An endpoint will be selected if any one of the given values matches.

type LookupEndpointArgs

type LookupEndpointArgs struct {
	// ID of the Client VPN endpoint.
	ClientVpnEndpointId *string `pulumi:"clientVpnEndpointId"`
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetEndpointFilter `pulumi:"filters"`
	// Map of tags, each pair of which must exactly match a pair on the desired endpoint.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getEndpoint.

type LookupEndpointOutputArgs

type LookupEndpointOutputArgs struct {
	// ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringPtrInput `pulumi:"clientVpnEndpointId"`
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetEndpointFilterArrayInput `pulumi:"filters"`
	// Map of tags, each pair of which must exactly match a pair on the desired endpoint.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getEndpoint.

func (LookupEndpointOutputArgs) ElementType

func (LookupEndpointOutputArgs) ElementType() reflect.Type

type LookupEndpointResult

type LookupEndpointResult struct {
	// The ARN of the Client VPN endpoint.
	Arn string `pulumi:"arn"`
	// Information about the authentication method used by the Client VPN endpoint.
	AuthenticationOptions []GetEndpointAuthenticationOption `pulumi:"authenticationOptions"`
	// IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
	ClientCidrBlock string `pulumi:"clientCidrBlock"`
	// The options for managing connection authorization for new client connections.
	ClientConnectOptions []GetEndpointClientConnectOption `pulumi:"clientConnectOptions"`
	// Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
	ClientLoginBannerOptions []GetEndpointClientLoginBannerOption `pulumi:"clientLoginBannerOptions"`
	ClientVpnEndpointId      string                               `pulumi:"clientVpnEndpointId"`
	// Information about the client connection logging options for the Client VPN endpoint.
	ConnectionLogOptions []GetEndpointConnectionLogOption `pulumi:"connectionLogOptions"`
	// Brief description of the endpoint.
	Description string `pulumi:"description"`
	// DNS name to be used by clients when connecting to the Client VPN endpoint.
	DnsName string `pulumi:"dnsName"`
	// Information about the DNS servers to be used for DNS resolution.
	DnsServers []string            `pulumi:"dnsServers"`
	Filters    []GetEndpointFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// IDs of the security groups for the target network associated with the Client VPN endpoint.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Whether the self-service portal for the Client VPN endpoint is enabled.
	SelfServicePortal string `pulumi:"selfServicePortal"`
	// The ARN of the server certificate.
	ServerCertificateArn string `pulumi:"serverCertificateArn"`
	// The maximum VPN session duration time in hours.
	SessionTimeoutHours int `pulumi:"sessionTimeoutHours"`
	// Whether split-tunnel is enabled in the AWS Client VPN endpoint.
	SplitTunnel bool              `pulumi:"splitTunnel"`
	Tags        map[string]string `pulumi:"tags"`
	// Transport protocol used by the Client VPN endpoint.
	TransportProtocol string `pulumi:"transportProtocol"`
	// ID of the VPC associated with the Client VPN endpoint.
	VpcId string `pulumi:"vpcId"`
	// Port number for the Client VPN endpoint.
	VpnPort int `pulumi:"vpnPort"`
}

A collection of values returned by getEndpoint.

func LookupEndpoint

func LookupEndpoint(ctx *pulumi.Context, args *LookupEndpointArgs, opts ...pulumi.InvokeOption) (*LookupEndpointResult, error)

Get information on an EC2 Client VPN endpoint.

## Example Usage ### By Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2clientvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2clientvpn.LookupEndpoint(ctx, &ec2clientvpn.LookupEndpointArgs{
			Filters: []ec2clientvpn.GetEndpointFilter{
				{
					Name: "tag:Name",
					Values: []string{
						"ExampleVpn",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By Identifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2clientvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2clientvpn.LookupEndpoint(ctx, &ec2clientvpn.LookupEndpointArgs{
			ClientVpnEndpointId: pulumi.StringRef("cvpn-endpoint-083cf50d6eb314f21"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEndpointResultOutput

type LookupEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEndpoint.

func (LookupEndpointResultOutput) Arn

The ARN of the Client VPN endpoint.

func (LookupEndpointResultOutput) AuthenticationOptions

Information about the authentication method used by the Client VPN endpoint.

func (LookupEndpointResultOutput) ClientCidrBlock

func (o LookupEndpointResultOutput) ClientCidrBlock() pulumi.StringOutput

IPv4 address range, in CIDR notation, from which client IP addresses are assigned.

func (LookupEndpointResultOutput) ClientConnectOptions

The options for managing connection authorization for new client connections.

func (LookupEndpointResultOutput) ClientLoginBannerOptions

Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.

func (LookupEndpointResultOutput) ClientVpnEndpointId

func (o LookupEndpointResultOutput) ClientVpnEndpointId() pulumi.StringOutput

func (LookupEndpointResultOutput) ConnectionLogOptions

Information about the client connection logging options for the Client VPN endpoint.

func (LookupEndpointResultOutput) Description

Brief description of the endpoint.

func (LookupEndpointResultOutput) DnsName

DNS name to be used by clients when connecting to the Client VPN endpoint.

func (LookupEndpointResultOutput) DnsServers

Information about the DNS servers to be used for DNS resolution.

func (LookupEndpointResultOutput) ElementType

func (LookupEndpointResultOutput) ElementType() reflect.Type

func (LookupEndpointResultOutput) Filters

func (LookupEndpointResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupEndpointResultOutput) SecurityGroupIds

IDs of the security groups for the target network associated with the Client VPN endpoint.

func (LookupEndpointResultOutput) SelfServicePortal

func (o LookupEndpointResultOutput) SelfServicePortal() pulumi.StringOutput

Whether the self-service portal for the Client VPN endpoint is enabled.

func (LookupEndpointResultOutput) ServerCertificateArn

func (o LookupEndpointResultOutput) ServerCertificateArn() pulumi.StringOutput

The ARN of the server certificate.

func (LookupEndpointResultOutput) SessionTimeoutHours

func (o LookupEndpointResultOutput) SessionTimeoutHours() pulumi.IntOutput

The maximum VPN session duration time in hours.

func (LookupEndpointResultOutput) SplitTunnel

Whether split-tunnel is enabled in the AWS Client VPN endpoint.

func (LookupEndpointResultOutput) Tags

func (LookupEndpointResultOutput) ToLookupEndpointResultOutput

func (o LookupEndpointResultOutput) ToLookupEndpointResultOutput() LookupEndpointResultOutput

func (LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext

func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx context.Context) LookupEndpointResultOutput

func (LookupEndpointResultOutput) TransportProtocol

func (o LookupEndpointResultOutput) TransportProtocol() pulumi.StringOutput

Transport protocol used by the Client VPN endpoint.

func (LookupEndpointResultOutput) VpcId

ID of the VPC associated with the Client VPN endpoint.

func (LookupEndpointResultOutput) VpnPort

Port number for the Client VPN endpoint.

type NetworkAssociation

type NetworkAssociation struct {
	pulumi.CustomResourceState

	// The unique ID of the target network association.
	AssociationId pulumi.StringOutput `pulumi:"associationId"`
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringOutput `pulumi:"clientVpnEndpointId"`
	// The ID of the subnet to associate with the Client VPN endpoint.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The ID of the VPC in which the target subnet is located.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides network associations for AWS Client VPN endpoints. For more information on usage, please see the [AWS Client VPN Administrator's Guide](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/what-is.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2clientvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2clientvpn.NewNetworkAssociation(ctx, "example", &ec2clientvpn.NetworkAssociationArgs{
			ClientVpnEndpointId: pulumi.Any(aws_ec2_client_vpn_endpoint.Example.Id),
			SubnetId:            pulumi.Any(aws_subnet.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AWS Client VPN network associations can be imported using the endpoint ID and the association ID. Values are separated by a `,`.

```sh

$ pulumi import aws:ec2clientvpn/networkAssociation:NetworkAssociation example cvpn-endpoint-0ac3a1abbccddd666,vpn-assoc-0b8db902465d069ad

```

func GetNetworkAssociation

func GetNetworkAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkAssociationState, opts ...pulumi.ResourceOption) (*NetworkAssociation, error)

GetNetworkAssociation gets an existing NetworkAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkAssociation

func NewNetworkAssociation(ctx *pulumi.Context,
	name string, args *NetworkAssociationArgs, opts ...pulumi.ResourceOption) (*NetworkAssociation, error)

NewNetworkAssociation registers a new resource with the given unique name, arguments, and options.

func (*NetworkAssociation) ElementType

func (*NetworkAssociation) ElementType() reflect.Type

func (*NetworkAssociation) ToNetworkAssociationOutput

func (i *NetworkAssociation) ToNetworkAssociationOutput() NetworkAssociationOutput

func (*NetworkAssociation) ToNetworkAssociationOutputWithContext

func (i *NetworkAssociation) ToNetworkAssociationOutputWithContext(ctx context.Context) NetworkAssociationOutput

type NetworkAssociationArgs

type NetworkAssociationArgs struct {
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringInput
	// The ID of the subnet to associate with the Client VPN endpoint.
	SubnetId pulumi.StringInput
}

The set of arguments for constructing a NetworkAssociation resource.

func (NetworkAssociationArgs) ElementType

func (NetworkAssociationArgs) ElementType() reflect.Type

type NetworkAssociationArray

type NetworkAssociationArray []NetworkAssociationInput

func (NetworkAssociationArray) ElementType

func (NetworkAssociationArray) ElementType() reflect.Type

func (NetworkAssociationArray) ToNetworkAssociationArrayOutput

func (i NetworkAssociationArray) ToNetworkAssociationArrayOutput() NetworkAssociationArrayOutput

func (NetworkAssociationArray) ToNetworkAssociationArrayOutputWithContext

func (i NetworkAssociationArray) ToNetworkAssociationArrayOutputWithContext(ctx context.Context) NetworkAssociationArrayOutput

type NetworkAssociationArrayInput

type NetworkAssociationArrayInput interface {
	pulumi.Input

	ToNetworkAssociationArrayOutput() NetworkAssociationArrayOutput
	ToNetworkAssociationArrayOutputWithContext(context.Context) NetworkAssociationArrayOutput
}

NetworkAssociationArrayInput is an input type that accepts NetworkAssociationArray and NetworkAssociationArrayOutput values. You can construct a concrete instance of `NetworkAssociationArrayInput` via:

NetworkAssociationArray{ NetworkAssociationArgs{...} }

type NetworkAssociationArrayOutput

type NetworkAssociationArrayOutput struct{ *pulumi.OutputState }

func (NetworkAssociationArrayOutput) ElementType

func (NetworkAssociationArrayOutput) Index

func (NetworkAssociationArrayOutput) ToNetworkAssociationArrayOutput

func (o NetworkAssociationArrayOutput) ToNetworkAssociationArrayOutput() NetworkAssociationArrayOutput

func (NetworkAssociationArrayOutput) ToNetworkAssociationArrayOutputWithContext

func (o NetworkAssociationArrayOutput) ToNetworkAssociationArrayOutputWithContext(ctx context.Context) NetworkAssociationArrayOutput

type NetworkAssociationInput

type NetworkAssociationInput interface {
	pulumi.Input

	ToNetworkAssociationOutput() NetworkAssociationOutput
	ToNetworkAssociationOutputWithContext(ctx context.Context) NetworkAssociationOutput
}

type NetworkAssociationMap

type NetworkAssociationMap map[string]NetworkAssociationInput

func (NetworkAssociationMap) ElementType

func (NetworkAssociationMap) ElementType() reflect.Type

func (NetworkAssociationMap) ToNetworkAssociationMapOutput

func (i NetworkAssociationMap) ToNetworkAssociationMapOutput() NetworkAssociationMapOutput

func (NetworkAssociationMap) ToNetworkAssociationMapOutputWithContext

func (i NetworkAssociationMap) ToNetworkAssociationMapOutputWithContext(ctx context.Context) NetworkAssociationMapOutput

type NetworkAssociationMapInput

type NetworkAssociationMapInput interface {
	pulumi.Input

	ToNetworkAssociationMapOutput() NetworkAssociationMapOutput
	ToNetworkAssociationMapOutputWithContext(context.Context) NetworkAssociationMapOutput
}

NetworkAssociationMapInput is an input type that accepts NetworkAssociationMap and NetworkAssociationMapOutput values. You can construct a concrete instance of `NetworkAssociationMapInput` via:

NetworkAssociationMap{ "key": NetworkAssociationArgs{...} }

type NetworkAssociationMapOutput

type NetworkAssociationMapOutput struct{ *pulumi.OutputState }

func (NetworkAssociationMapOutput) ElementType

func (NetworkAssociationMapOutput) MapIndex

func (NetworkAssociationMapOutput) ToNetworkAssociationMapOutput

func (o NetworkAssociationMapOutput) ToNetworkAssociationMapOutput() NetworkAssociationMapOutput

func (NetworkAssociationMapOutput) ToNetworkAssociationMapOutputWithContext

func (o NetworkAssociationMapOutput) ToNetworkAssociationMapOutputWithContext(ctx context.Context) NetworkAssociationMapOutput

type NetworkAssociationOutput

type NetworkAssociationOutput struct{ *pulumi.OutputState }

func (NetworkAssociationOutput) AssociationId

func (o NetworkAssociationOutput) AssociationId() pulumi.StringOutput

The unique ID of the target network association.

func (NetworkAssociationOutput) ClientVpnEndpointId

func (o NetworkAssociationOutput) ClientVpnEndpointId() pulumi.StringOutput

The ID of the Client VPN endpoint.

func (NetworkAssociationOutput) ElementType

func (NetworkAssociationOutput) ElementType() reflect.Type

func (NetworkAssociationOutput) SubnetId

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

func (NetworkAssociationOutput) ToNetworkAssociationOutput

func (o NetworkAssociationOutput) ToNetworkAssociationOutput() NetworkAssociationOutput

func (NetworkAssociationOutput) ToNetworkAssociationOutputWithContext

func (o NetworkAssociationOutput) ToNetworkAssociationOutputWithContext(ctx context.Context) NetworkAssociationOutput

func (NetworkAssociationOutput) VpcId

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

type NetworkAssociationState

type NetworkAssociationState struct {
	// The unique ID of the target network association.
	AssociationId pulumi.StringPtrInput
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringPtrInput
	// The ID of the subnet to associate with the Client VPN endpoint.
	SubnetId pulumi.StringPtrInput
	// The ID of the VPC in which the target subnet is located.
	VpcId pulumi.StringPtrInput
}

func (NetworkAssociationState) ElementType

func (NetworkAssociationState) ElementType() reflect.Type

type Route

type Route struct {
	pulumi.CustomResourceState

	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringOutput `pulumi:"clientVpnEndpointId"`
	// A brief description of the route.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The IPv4 address range, in CIDR notation, of the route destination.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// Indicates how the Client VPN route was added. Will be `add-route` for routes created by this resource.
	Origin pulumi.StringOutput `pulumi:"origin"`
	// The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.
	TargetVpcSubnetId pulumi.StringOutput `pulumi:"targetVpcSubnetId"`
	// The type of the route.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides additional routes for AWS Client VPN endpoints. For more information on usage, please see the [AWS Client VPN Administrator's Guide](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/what-is.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2clientvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleEndpoint, err := ec2clientvpn.NewEndpoint(ctx, "exampleEndpoint", &ec2clientvpn.EndpointArgs{
			Description:          pulumi.String("Example Client VPN endpoint"),
			ServerCertificateArn: pulumi.Any(aws_acm_certificate.Example.Arn),
			ClientCidrBlock:      pulumi.String("10.0.0.0/16"),
			AuthenticationOptions: ec2clientvpn.EndpointAuthenticationOptionArray{
				&ec2clientvpn.EndpointAuthenticationOptionArgs{
					Type:                    pulumi.String("certificate-authentication"),
					RootCertificateChainArn: pulumi.Any(aws_acm_certificate.Example.Arn),
				},
			},
			ConnectionLogOptions: &ec2clientvpn.EndpointConnectionLogOptionsArgs{
				Enabled: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		exampleNetworkAssociation, err := ec2clientvpn.NewNetworkAssociation(ctx, "exampleNetworkAssociation", &ec2clientvpn.NetworkAssociationArgs{
			ClientVpnEndpointId: exampleEndpoint.ID(),
			SubnetId:            pulumi.Any(aws_subnet.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = ec2clientvpn.NewRoute(ctx, "exampleRoute", &ec2clientvpn.RouteArgs{
			ClientVpnEndpointId:  exampleEndpoint.ID(),
			DestinationCidrBlock: pulumi.String("0.0.0.0/0"),
			TargetVpcSubnetId:    exampleNetworkAssociation.SubnetId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AWS Client VPN routes can be imported using the endpoint ID, target subnet ID, and destination CIDR block. All values are separated by a `,`.

```sh

$ pulumi import aws:ec2clientvpn/route:Route example cvpn-endpoint-1234567890abcdef,subnet-9876543210fedcba,10.1.0.0/24

```

func GetRoute

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)

GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoute

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)

NewRoute registers a new resource with the given unique name, arguments, and options.

func (*Route) ElementType

func (*Route) ElementType() reflect.Type

func (*Route) ToRouteOutput

func (i *Route) ToRouteOutput() RouteOutput

func (*Route) ToRouteOutputWithContext

func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput

type RouteArgs

type RouteArgs struct {
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringInput
	// A brief description of the route.
	Description pulumi.StringPtrInput
	// The IPv4 address range, in CIDR notation, of the route destination.
	DestinationCidrBlock pulumi.StringInput
	// The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.
	TargetVpcSubnetId pulumi.StringInput
}

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType

func (RouteArgs) ElementType() reflect.Type

type RouteArray

type RouteArray []RouteInput

func (RouteArray) ElementType

func (RouteArray) ElementType() reflect.Type

func (RouteArray) ToRouteArrayOutput

func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput

func (RouteArray) ToRouteArrayOutputWithContext

func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteArrayInput

type RouteArrayInput interface {
	pulumi.Input

	ToRouteArrayOutput() RouteArrayOutput
	ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput
}

RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:

RouteArray{ RouteArgs{...} }

type RouteArrayOutput

type RouteArrayOutput struct{ *pulumi.OutputState }

func (RouteArrayOutput) ElementType

func (RouteArrayOutput) ElementType() reflect.Type

func (RouteArrayOutput) Index

func (RouteArrayOutput) ToRouteArrayOutput

func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput

func (RouteArrayOutput) ToRouteArrayOutputWithContext

func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteInput

type RouteInput interface {
	pulumi.Input

	ToRouteOutput() RouteOutput
	ToRouteOutputWithContext(ctx context.Context) RouteOutput
}

type RouteMap

type RouteMap map[string]RouteInput

func (RouteMap) ElementType

func (RouteMap) ElementType() reflect.Type

func (RouteMap) ToRouteMapOutput

func (i RouteMap) ToRouteMapOutput() RouteMapOutput

func (RouteMap) ToRouteMapOutputWithContext

func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteMapInput

type RouteMapInput interface {
	pulumi.Input

	ToRouteMapOutput() RouteMapOutput
	ToRouteMapOutputWithContext(context.Context) RouteMapOutput
}

RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:

RouteMap{ "key": RouteArgs{...} }

type RouteMapOutput

type RouteMapOutput struct{ *pulumi.OutputState }

func (RouteMapOutput) ElementType

func (RouteMapOutput) ElementType() reflect.Type

func (RouteMapOutput) MapIndex

func (RouteMapOutput) ToRouteMapOutput

func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput

func (RouteMapOutput) ToRouteMapOutputWithContext

func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteOutput

type RouteOutput struct{ *pulumi.OutputState }

func (RouteOutput) ClientVpnEndpointId

func (o RouteOutput) ClientVpnEndpointId() pulumi.StringOutput

The ID of the Client VPN endpoint.

func (RouteOutput) Description

func (o RouteOutput) Description() pulumi.StringPtrOutput

A brief description of the route.

func (RouteOutput) DestinationCidrBlock

func (o RouteOutput) DestinationCidrBlock() pulumi.StringOutput

The IPv4 address range, in CIDR notation, of the route destination.

func (RouteOutput) ElementType

func (RouteOutput) ElementType() reflect.Type

func (RouteOutput) Origin

func (o RouteOutput) Origin() pulumi.StringOutput

Indicates how the Client VPN route was added. Will be `add-route` for routes created by this resource.

func (RouteOutput) TargetVpcSubnetId

func (o RouteOutput) TargetVpcSubnetId() pulumi.StringOutput

The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.

func (RouteOutput) ToRouteOutput

func (o RouteOutput) ToRouteOutput() RouteOutput

func (RouteOutput) ToRouteOutputWithContext

func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput

func (RouteOutput) Type

func (o RouteOutput) Type() pulumi.StringOutput

The type of the route.

type RouteState

type RouteState struct {
	// The ID of the Client VPN endpoint.
	ClientVpnEndpointId pulumi.StringPtrInput
	// A brief description of the route.
	Description pulumi.StringPtrInput
	// The IPv4 address range, in CIDR notation, of the route destination.
	DestinationCidrBlock pulumi.StringPtrInput
	// Indicates how the Client VPN route was added. Will be `add-route` for routes created by this resource.
	Origin pulumi.StringPtrInput
	// The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.
	TargetVpcSubnetId pulumi.StringPtrInput
	// The type of the route.
	Type pulumi.StringPtrInput
}

func (RouteState) ElementType

func (RouteState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL