vpc

package
v7.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 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 EndpointPrivateDns

type EndpointPrivateDns struct {
	pulumi.CustomResourceState

	// Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.
	PrivateDnsEnabled pulumi.BoolOutput `pulumi:"privateDnsEnabled"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// VPC endpoint identifier.
	VpcEndpointId pulumi.StringOutput `pulumi:"vpcEndpointId"`
}

Resource for enabling private DNS on an AWS VPC (Virtual Private Cloud) Endpoint.

> When using this resource, the `privateDnsEnabled` argument should be omitted on the parent `ec2.VpcEndpoint` resource. Setting the value both places can lead to unintended behavior and persistent differences.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewEndpointPrivateDns(ctx, "example", &vpc.EndpointPrivateDnsArgs{
			VpcEndpointId:     pulumi.Any(exampleAwsVpcEndpoint.Id),
			PrivateDnsEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import a VPC (Virtual Private Cloud) Endpoint Private DNS using the `vpc_endpoint_id`. For example:

```sh $ pulumi import aws:vpc/endpointPrivateDns:EndpointPrivateDns example vpce-abcd-1234 ```

func GetEndpointPrivateDns

func GetEndpointPrivateDns(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointPrivateDnsState, opts ...pulumi.ResourceOption) (*EndpointPrivateDns, error)

GetEndpointPrivateDns gets an existing EndpointPrivateDns 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 NewEndpointPrivateDns

func NewEndpointPrivateDns(ctx *pulumi.Context,
	name string, args *EndpointPrivateDnsArgs, opts ...pulumi.ResourceOption) (*EndpointPrivateDns, error)

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

func (*EndpointPrivateDns) ElementType

func (*EndpointPrivateDns) ElementType() reflect.Type

func (*EndpointPrivateDns) ToEndpointPrivateDnsOutput

func (i *EndpointPrivateDns) ToEndpointPrivateDnsOutput() EndpointPrivateDnsOutput

func (*EndpointPrivateDns) ToEndpointPrivateDnsOutputWithContext

func (i *EndpointPrivateDns) ToEndpointPrivateDnsOutputWithContext(ctx context.Context) EndpointPrivateDnsOutput

type EndpointPrivateDnsArgs

type EndpointPrivateDnsArgs struct {
	// Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.
	PrivateDnsEnabled pulumi.BoolInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// VPC endpoint identifier.
	VpcEndpointId pulumi.StringInput
}

The set of arguments for constructing a EndpointPrivateDns resource.

func (EndpointPrivateDnsArgs) ElementType

func (EndpointPrivateDnsArgs) ElementType() reflect.Type

type EndpointPrivateDnsArray

type EndpointPrivateDnsArray []EndpointPrivateDnsInput

func (EndpointPrivateDnsArray) ElementType

func (EndpointPrivateDnsArray) ElementType() reflect.Type

func (EndpointPrivateDnsArray) ToEndpointPrivateDnsArrayOutput

func (i EndpointPrivateDnsArray) ToEndpointPrivateDnsArrayOutput() EndpointPrivateDnsArrayOutput

func (EndpointPrivateDnsArray) ToEndpointPrivateDnsArrayOutputWithContext

func (i EndpointPrivateDnsArray) ToEndpointPrivateDnsArrayOutputWithContext(ctx context.Context) EndpointPrivateDnsArrayOutput

type EndpointPrivateDnsArrayInput

type EndpointPrivateDnsArrayInput interface {
	pulumi.Input

	ToEndpointPrivateDnsArrayOutput() EndpointPrivateDnsArrayOutput
	ToEndpointPrivateDnsArrayOutputWithContext(context.Context) EndpointPrivateDnsArrayOutput
}

EndpointPrivateDnsArrayInput is an input type that accepts EndpointPrivateDnsArray and EndpointPrivateDnsArrayOutput values. You can construct a concrete instance of `EndpointPrivateDnsArrayInput` via:

EndpointPrivateDnsArray{ EndpointPrivateDnsArgs{...} }

type EndpointPrivateDnsArrayOutput

type EndpointPrivateDnsArrayOutput struct{ *pulumi.OutputState }

func (EndpointPrivateDnsArrayOutput) ElementType

func (EndpointPrivateDnsArrayOutput) Index

func (EndpointPrivateDnsArrayOutput) ToEndpointPrivateDnsArrayOutput

func (o EndpointPrivateDnsArrayOutput) ToEndpointPrivateDnsArrayOutput() EndpointPrivateDnsArrayOutput

func (EndpointPrivateDnsArrayOutput) ToEndpointPrivateDnsArrayOutputWithContext

func (o EndpointPrivateDnsArrayOutput) ToEndpointPrivateDnsArrayOutputWithContext(ctx context.Context) EndpointPrivateDnsArrayOutput

type EndpointPrivateDnsInput

type EndpointPrivateDnsInput interface {
	pulumi.Input

	ToEndpointPrivateDnsOutput() EndpointPrivateDnsOutput
	ToEndpointPrivateDnsOutputWithContext(ctx context.Context) EndpointPrivateDnsOutput
}

type EndpointPrivateDnsMap

type EndpointPrivateDnsMap map[string]EndpointPrivateDnsInput

func (EndpointPrivateDnsMap) ElementType

func (EndpointPrivateDnsMap) ElementType() reflect.Type

func (EndpointPrivateDnsMap) ToEndpointPrivateDnsMapOutput

func (i EndpointPrivateDnsMap) ToEndpointPrivateDnsMapOutput() EndpointPrivateDnsMapOutput

func (EndpointPrivateDnsMap) ToEndpointPrivateDnsMapOutputWithContext

func (i EndpointPrivateDnsMap) ToEndpointPrivateDnsMapOutputWithContext(ctx context.Context) EndpointPrivateDnsMapOutput

type EndpointPrivateDnsMapInput

type EndpointPrivateDnsMapInput interface {
	pulumi.Input

	ToEndpointPrivateDnsMapOutput() EndpointPrivateDnsMapOutput
	ToEndpointPrivateDnsMapOutputWithContext(context.Context) EndpointPrivateDnsMapOutput
}

EndpointPrivateDnsMapInput is an input type that accepts EndpointPrivateDnsMap and EndpointPrivateDnsMapOutput values. You can construct a concrete instance of `EndpointPrivateDnsMapInput` via:

EndpointPrivateDnsMap{ "key": EndpointPrivateDnsArgs{...} }

type EndpointPrivateDnsMapOutput

type EndpointPrivateDnsMapOutput struct{ *pulumi.OutputState }

func (EndpointPrivateDnsMapOutput) ElementType

func (EndpointPrivateDnsMapOutput) MapIndex

func (EndpointPrivateDnsMapOutput) ToEndpointPrivateDnsMapOutput

func (o EndpointPrivateDnsMapOutput) ToEndpointPrivateDnsMapOutput() EndpointPrivateDnsMapOutput

func (EndpointPrivateDnsMapOutput) ToEndpointPrivateDnsMapOutputWithContext

func (o EndpointPrivateDnsMapOutput) ToEndpointPrivateDnsMapOutputWithContext(ctx context.Context) EndpointPrivateDnsMapOutput

type EndpointPrivateDnsOutput

type EndpointPrivateDnsOutput struct{ *pulumi.OutputState }

func (EndpointPrivateDnsOutput) ElementType

func (EndpointPrivateDnsOutput) ElementType() reflect.Type

func (EndpointPrivateDnsOutput) PrivateDnsEnabled

func (o EndpointPrivateDnsOutput) PrivateDnsEnabled() pulumi.BoolOutput

Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.

func (EndpointPrivateDnsOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (EndpointPrivateDnsOutput) ToEndpointPrivateDnsOutput

func (o EndpointPrivateDnsOutput) ToEndpointPrivateDnsOutput() EndpointPrivateDnsOutput

func (EndpointPrivateDnsOutput) ToEndpointPrivateDnsOutputWithContext

func (o EndpointPrivateDnsOutput) ToEndpointPrivateDnsOutputWithContext(ctx context.Context) EndpointPrivateDnsOutput

func (EndpointPrivateDnsOutput) VpcEndpointId

func (o EndpointPrivateDnsOutput) VpcEndpointId() pulumi.StringOutput

VPC endpoint identifier.

type EndpointPrivateDnsState

type EndpointPrivateDnsState struct {
	// Indicates whether a private hosted zone is associated with the VPC. Only applicable for `Interface` endpoints.
	PrivateDnsEnabled pulumi.BoolPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// VPC endpoint identifier.
	VpcEndpointId pulumi.StringPtrInput
}

func (EndpointPrivateDnsState) ElementType

func (EndpointPrivateDnsState) ElementType() reflect.Type

type EndpointServicePrivateDnsVerification

type EndpointServicePrivateDnsVerification struct {
	pulumi.CustomResourceState

	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// ID of the endpoint service.
	//
	// The following arguments are optional:
	ServiceId pulumi.StringOutput                                    `pulumi:"serviceId"`
	Timeouts  EndpointServicePrivateDnsVerificationTimeoutsPtrOutput `pulumi:"timeouts"`
	// Whether to wait until the endpoint service returns a `Verified` status for the configured private DNS name.
	WaitForVerification pulumi.BoolPtrOutput `pulumi:"waitForVerification"`
}

Resource for managing an AWS VPC (Virtual Private Cloud) Endpoint Service Private DNS Verification. This resource begins the verification process by calling the [`StartVpcEndpointServicePrivateDnsVerification`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartVpcEndpointServicePrivateDnsVerification.html) API. The service provider should add a record to the DNS server _before_ creating this resource.

For additional details, refer to the AWS documentation on [managing VPC endpoint service DNS names](https://docs.aws.amazon.com/vpc/latest/privatelink/manage-dns-names.html).

> Destruction of this resource will not stop the verification process, only remove the resource from state.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewEndpointServicePrivateDnsVerification(ctx, "example", &vpc.EndpointServicePrivateDnsVerificationArgs{
			ServiceId: pulumi.Any(exampleAwsVpcEndpointService.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You cannot import this resource.

func GetEndpointServicePrivateDnsVerification

func GetEndpointServicePrivateDnsVerification(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointServicePrivateDnsVerificationState, opts ...pulumi.ResourceOption) (*EndpointServicePrivateDnsVerification, error)

GetEndpointServicePrivateDnsVerification gets an existing EndpointServicePrivateDnsVerification 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 NewEndpointServicePrivateDnsVerification

func NewEndpointServicePrivateDnsVerification(ctx *pulumi.Context,
	name string, args *EndpointServicePrivateDnsVerificationArgs, opts ...pulumi.ResourceOption) (*EndpointServicePrivateDnsVerification, error)

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

func (*EndpointServicePrivateDnsVerification) ElementType

func (*EndpointServicePrivateDnsVerification) ToEndpointServicePrivateDnsVerificationOutput

func (i *EndpointServicePrivateDnsVerification) ToEndpointServicePrivateDnsVerificationOutput() EndpointServicePrivateDnsVerificationOutput

func (*EndpointServicePrivateDnsVerification) ToEndpointServicePrivateDnsVerificationOutputWithContext

func (i *EndpointServicePrivateDnsVerification) ToEndpointServicePrivateDnsVerificationOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationOutput

type EndpointServicePrivateDnsVerificationArgs

type EndpointServicePrivateDnsVerificationArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// ID of the endpoint service.
	//
	// The following arguments are optional:
	ServiceId pulumi.StringInput
	Timeouts  EndpointServicePrivateDnsVerificationTimeoutsPtrInput
	// Whether to wait until the endpoint service returns a `Verified` status for the configured private DNS name.
	WaitForVerification pulumi.BoolPtrInput
}

The set of arguments for constructing a EndpointServicePrivateDnsVerification resource.

func (EndpointServicePrivateDnsVerificationArgs) ElementType

type EndpointServicePrivateDnsVerificationArray

type EndpointServicePrivateDnsVerificationArray []EndpointServicePrivateDnsVerificationInput

func (EndpointServicePrivateDnsVerificationArray) ElementType

func (EndpointServicePrivateDnsVerificationArray) ToEndpointServicePrivateDnsVerificationArrayOutput

func (i EndpointServicePrivateDnsVerificationArray) ToEndpointServicePrivateDnsVerificationArrayOutput() EndpointServicePrivateDnsVerificationArrayOutput

func (EndpointServicePrivateDnsVerificationArray) ToEndpointServicePrivateDnsVerificationArrayOutputWithContext

func (i EndpointServicePrivateDnsVerificationArray) ToEndpointServicePrivateDnsVerificationArrayOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationArrayOutput

type EndpointServicePrivateDnsVerificationArrayInput

type EndpointServicePrivateDnsVerificationArrayInput interface {
	pulumi.Input

	ToEndpointServicePrivateDnsVerificationArrayOutput() EndpointServicePrivateDnsVerificationArrayOutput
	ToEndpointServicePrivateDnsVerificationArrayOutputWithContext(context.Context) EndpointServicePrivateDnsVerificationArrayOutput
}

EndpointServicePrivateDnsVerificationArrayInput is an input type that accepts EndpointServicePrivateDnsVerificationArray and EndpointServicePrivateDnsVerificationArrayOutput values. You can construct a concrete instance of `EndpointServicePrivateDnsVerificationArrayInput` via:

EndpointServicePrivateDnsVerificationArray{ EndpointServicePrivateDnsVerificationArgs{...} }

type EndpointServicePrivateDnsVerificationArrayOutput

type EndpointServicePrivateDnsVerificationArrayOutput struct{ *pulumi.OutputState }

func (EndpointServicePrivateDnsVerificationArrayOutput) ElementType

func (EndpointServicePrivateDnsVerificationArrayOutput) Index

func (EndpointServicePrivateDnsVerificationArrayOutput) ToEndpointServicePrivateDnsVerificationArrayOutput

func (o EndpointServicePrivateDnsVerificationArrayOutput) ToEndpointServicePrivateDnsVerificationArrayOutput() EndpointServicePrivateDnsVerificationArrayOutput

func (EndpointServicePrivateDnsVerificationArrayOutput) ToEndpointServicePrivateDnsVerificationArrayOutputWithContext

func (o EndpointServicePrivateDnsVerificationArrayOutput) ToEndpointServicePrivateDnsVerificationArrayOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationArrayOutput

type EndpointServicePrivateDnsVerificationInput

type EndpointServicePrivateDnsVerificationInput interface {
	pulumi.Input

	ToEndpointServicePrivateDnsVerificationOutput() EndpointServicePrivateDnsVerificationOutput
	ToEndpointServicePrivateDnsVerificationOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationOutput
}

type EndpointServicePrivateDnsVerificationMap

type EndpointServicePrivateDnsVerificationMap map[string]EndpointServicePrivateDnsVerificationInput

func (EndpointServicePrivateDnsVerificationMap) ElementType

func (EndpointServicePrivateDnsVerificationMap) ToEndpointServicePrivateDnsVerificationMapOutput

func (i EndpointServicePrivateDnsVerificationMap) ToEndpointServicePrivateDnsVerificationMapOutput() EndpointServicePrivateDnsVerificationMapOutput

func (EndpointServicePrivateDnsVerificationMap) ToEndpointServicePrivateDnsVerificationMapOutputWithContext

func (i EndpointServicePrivateDnsVerificationMap) ToEndpointServicePrivateDnsVerificationMapOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationMapOutput

type EndpointServicePrivateDnsVerificationMapInput

type EndpointServicePrivateDnsVerificationMapInput interface {
	pulumi.Input

	ToEndpointServicePrivateDnsVerificationMapOutput() EndpointServicePrivateDnsVerificationMapOutput
	ToEndpointServicePrivateDnsVerificationMapOutputWithContext(context.Context) EndpointServicePrivateDnsVerificationMapOutput
}

EndpointServicePrivateDnsVerificationMapInput is an input type that accepts EndpointServicePrivateDnsVerificationMap and EndpointServicePrivateDnsVerificationMapOutput values. You can construct a concrete instance of `EndpointServicePrivateDnsVerificationMapInput` via:

EndpointServicePrivateDnsVerificationMap{ "key": EndpointServicePrivateDnsVerificationArgs{...} }

type EndpointServicePrivateDnsVerificationMapOutput

type EndpointServicePrivateDnsVerificationMapOutput struct{ *pulumi.OutputState }

func (EndpointServicePrivateDnsVerificationMapOutput) ElementType

func (EndpointServicePrivateDnsVerificationMapOutput) MapIndex

func (EndpointServicePrivateDnsVerificationMapOutput) ToEndpointServicePrivateDnsVerificationMapOutput

func (o EndpointServicePrivateDnsVerificationMapOutput) ToEndpointServicePrivateDnsVerificationMapOutput() EndpointServicePrivateDnsVerificationMapOutput

func (EndpointServicePrivateDnsVerificationMapOutput) ToEndpointServicePrivateDnsVerificationMapOutputWithContext

func (o EndpointServicePrivateDnsVerificationMapOutput) ToEndpointServicePrivateDnsVerificationMapOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationMapOutput

type EndpointServicePrivateDnsVerificationOutput

type EndpointServicePrivateDnsVerificationOutput struct{ *pulumi.OutputState }

func (EndpointServicePrivateDnsVerificationOutput) ElementType

func (EndpointServicePrivateDnsVerificationOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (EndpointServicePrivateDnsVerificationOutput) ServiceId

ID of the endpoint service.

The following arguments are optional:

func (EndpointServicePrivateDnsVerificationOutput) Timeouts

func (EndpointServicePrivateDnsVerificationOutput) ToEndpointServicePrivateDnsVerificationOutput

func (o EndpointServicePrivateDnsVerificationOutput) ToEndpointServicePrivateDnsVerificationOutput() EndpointServicePrivateDnsVerificationOutput

func (EndpointServicePrivateDnsVerificationOutput) ToEndpointServicePrivateDnsVerificationOutputWithContext

func (o EndpointServicePrivateDnsVerificationOutput) ToEndpointServicePrivateDnsVerificationOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationOutput

func (EndpointServicePrivateDnsVerificationOutput) WaitForVerification

Whether to wait until the endpoint service returns a `Verified` status for the configured private DNS name.

type EndpointServicePrivateDnsVerificationState

type EndpointServicePrivateDnsVerificationState struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// ID of the endpoint service.
	//
	// The following arguments are optional:
	ServiceId pulumi.StringPtrInput
	Timeouts  EndpointServicePrivateDnsVerificationTimeoutsPtrInput
	// Whether to wait until the endpoint service returns a `Verified` status for the configured private DNS name.
	WaitForVerification pulumi.BoolPtrInput
}

func (EndpointServicePrivateDnsVerificationState) ElementType

type EndpointServicePrivateDnsVerificationTimeouts

type EndpointServicePrivateDnsVerificationTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
}

type EndpointServicePrivateDnsVerificationTimeoutsArgs

type EndpointServicePrivateDnsVerificationTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
}

func (EndpointServicePrivateDnsVerificationTimeoutsArgs) ElementType

func (EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsOutput

func (i EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsOutput() EndpointServicePrivateDnsVerificationTimeoutsOutput

func (EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsOutputWithContext

func (i EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationTimeoutsOutput

func (EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutput

func (i EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutput() EndpointServicePrivateDnsVerificationTimeoutsPtrOutput

func (EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutputWithContext

func (i EndpointServicePrivateDnsVerificationTimeoutsArgs) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationTimeoutsPtrOutput

type EndpointServicePrivateDnsVerificationTimeoutsInput

type EndpointServicePrivateDnsVerificationTimeoutsInput interface {
	pulumi.Input

	ToEndpointServicePrivateDnsVerificationTimeoutsOutput() EndpointServicePrivateDnsVerificationTimeoutsOutput
	ToEndpointServicePrivateDnsVerificationTimeoutsOutputWithContext(context.Context) EndpointServicePrivateDnsVerificationTimeoutsOutput
}

EndpointServicePrivateDnsVerificationTimeoutsInput is an input type that accepts EndpointServicePrivateDnsVerificationTimeoutsArgs and EndpointServicePrivateDnsVerificationTimeoutsOutput values. You can construct a concrete instance of `EndpointServicePrivateDnsVerificationTimeoutsInput` via:

EndpointServicePrivateDnsVerificationTimeoutsArgs{...}

type EndpointServicePrivateDnsVerificationTimeoutsOutput

type EndpointServicePrivateDnsVerificationTimeoutsOutput struct{ *pulumi.OutputState }

func (EndpointServicePrivateDnsVerificationTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (EndpointServicePrivateDnsVerificationTimeoutsOutput) ElementType

func (EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsOutput

func (o EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsOutput() EndpointServicePrivateDnsVerificationTimeoutsOutput

func (EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsOutputWithContext

func (o EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationTimeoutsOutput

func (EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutput

func (o EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutput() EndpointServicePrivateDnsVerificationTimeoutsPtrOutput

func (EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutputWithContext

func (o EndpointServicePrivateDnsVerificationTimeoutsOutput) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationTimeoutsPtrOutput

type EndpointServicePrivateDnsVerificationTimeoutsPtrInput

type EndpointServicePrivateDnsVerificationTimeoutsPtrInput interface {
	pulumi.Input

	ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutput() EndpointServicePrivateDnsVerificationTimeoutsPtrOutput
	ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutputWithContext(context.Context) EndpointServicePrivateDnsVerificationTimeoutsPtrOutput
}

EndpointServicePrivateDnsVerificationTimeoutsPtrInput is an input type that accepts EndpointServicePrivateDnsVerificationTimeoutsArgs, EndpointServicePrivateDnsVerificationTimeoutsPtr and EndpointServicePrivateDnsVerificationTimeoutsPtrOutput values. You can construct a concrete instance of `EndpointServicePrivateDnsVerificationTimeoutsPtrInput` via:

        EndpointServicePrivateDnsVerificationTimeoutsArgs{...}

or:

        nil

type EndpointServicePrivateDnsVerificationTimeoutsPtrOutput

type EndpointServicePrivateDnsVerificationTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (EndpointServicePrivateDnsVerificationTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (EndpointServicePrivateDnsVerificationTimeoutsPtrOutput) Elem

func (EndpointServicePrivateDnsVerificationTimeoutsPtrOutput) ElementType

func (EndpointServicePrivateDnsVerificationTimeoutsPtrOutput) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutput

func (EndpointServicePrivateDnsVerificationTimeoutsPtrOutput) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutputWithContext

func (o EndpointServicePrivateDnsVerificationTimeoutsPtrOutput) ToEndpointServicePrivateDnsVerificationTimeoutsPtrOutputWithContext(ctx context.Context) EndpointServicePrivateDnsVerificationTimeoutsPtrOutput

type GetEndpointAssociationsArgs

type GetEndpointAssociationsArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// ID of the specific VPC Endpoint to retrieve.
	VpcEndpointId string `pulumi:"vpcEndpointId"`
}

A collection of arguments for invoking getEndpointAssociations.

type GetEndpointAssociationsAssociation

type GetEndpointAssociationsAssociation struct {
	// Accessibility of the resource.
	AssociatedResourceAccessibility string `pulumi:"associatedResourceAccessibility"`
	// ARN of the resource for this association.
	AssociatedResourceArn string `pulumi:"associatedResourceArn"`
	// DNS entries for the Association. DNS entry blocks are documented below.
	DnsEntries []GetEndpointAssociationsAssociationDnsEntry `pulumi:"dnsEntries"`
	Id         string                                       `pulumi:"id"`
	// DNS entries for the Association. Private DNS entry blocks are documented below.
	PrivateDnsEntries []GetEndpointAssociationsAssociationPrivateDnsEntry `pulumi:"privateDnsEntries"`
	// ARN of the Resource Group if the Resource is a member of a group.
	ResourceConfigurationGroupArn string `pulumi:"resourceConfigurationGroupArn"`
	// Service Network ARN. Applicable for endpoints of type `ServiceNetwork`.
	ServiceNetworkArn string `pulumi:"serviceNetworkArn"`
	// Service Network Name. Applicable for endpoints of type `ServiceNetwork`.
	ServiceNetworkName string `pulumi:"serviceNetworkName"`
	// Tags of the association.
	Tags map[string]string `pulumi:"tags"`
}

type GetEndpointAssociationsAssociationArgs

type GetEndpointAssociationsAssociationArgs struct {
	// Accessibility of the resource.
	AssociatedResourceAccessibility pulumi.StringInput `pulumi:"associatedResourceAccessibility"`
	// ARN of the resource for this association.
	AssociatedResourceArn pulumi.StringInput `pulumi:"associatedResourceArn"`
	// DNS entries for the Association. DNS entry blocks are documented below.
	DnsEntries GetEndpointAssociationsAssociationDnsEntryArrayInput `pulumi:"dnsEntries"`
	Id         pulumi.StringInput                                   `pulumi:"id"`
	// DNS entries for the Association. Private DNS entry blocks are documented below.
	PrivateDnsEntries GetEndpointAssociationsAssociationPrivateDnsEntryArrayInput `pulumi:"privateDnsEntries"`
	// ARN of the Resource Group if the Resource is a member of a group.
	ResourceConfigurationGroupArn pulumi.StringInput `pulumi:"resourceConfigurationGroupArn"`
	// Service Network ARN. Applicable for endpoints of type `ServiceNetwork`.
	ServiceNetworkArn pulumi.StringInput `pulumi:"serviceNetworkArn"`
	// Service Network Name. Applicable for endpoints of type `ServiceNetwork`.
	ServiceNetworkName pulumi.StringInput `pulumi:"serviceNetworkName"`
	// Tags of the association.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

func (GetEndpointAssociationsAssociationArgs) ElementType

func (GetEndpointAssociationsAssociationArgs) ToGetEndpointAssociationsAssociationOutput

func (i GetEndpointAssociationsAssociationArgs) ToGetEndpointAssociationsAssociationOutput() GetEndpointAssociationsAssociationOutput

func (GetEndpointAssociationsAssociationArgs) ToGetEndpointAssociationsAssociationOutputWithContext

func (i GetEndpointAssociationsAssociationArgs) ToGetEndpointAssociationsAssociationOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationOutput

type GetEndpointAssociationsAssociationArray

type GetEndpointAssociationsAssociationArray []GetEndpointAssociationsAssociationInput

func (GetEndpointAssociationsAssociationArray) ElementType

func (GetEndpointAssociationsAssociationArray) ToGetEndpointAssociationsAssociationArrayOutput

func (i GetEndpointAssociationsAssociationArray) ToGetEndpointAssociationsAssociationArrayOutput() GetEndpointAssociationsAssociationArrayOutput

func (GetEndpointAssociationsAssociationArray) ToGetEndpointAssociationsAssociationArrayOutputWithContext

func (i GetEndpointAssociationsAssociationArray) ToGetEndpointAssociationsAssociationArrayOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationArrayOutput

type GetEndpointAssociationsAssociationArrayInput

type GetEndpointAssociationsAssociationArrayInput interface {
	pulumi.Input

	ToGetEndpointAssociationsAssociationArrayOutput() GetEndpointAssociationsAssociationArrayOutput
	ToGetEndpointAssociationsAssociationArrayOutputWithContext(context.Context) GetEndpointAssociationsAssociationArrayOutput
}

GetEndpointAssociationsAssociationArrayInput is an input type that accepts GetEndpointAssociationsAssociationArray and GetEndpointAssociationsAssociationArrayOutput values. You can construct a concrete instance of `GetEndpointAssociationsAssociationArrayInput` via:

GetEndpointAssociationsAssociationArray{ GetEndpointAssociationsAssociationArgs{...} }

type GetEndpointAssociationsAssociationArrayOutput

type GetEndpointAssociationsAssociationArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointAssociationsAssociationArrayOutput) ElementType

func (GetEndpointAssociationsAssociationArrayOutput) Index

func (GetEndpointAssociationsAssociationArrayOutput) ToGetEndpointAssociationsAssociationArrayOutput

func (o GetEndpointAssociationsAssociationArrayOutput) ToGetEndpointAssociationsAssociationArrayOutput() GetEndpointAssociationsAssociationArrayOutput

func (GetEndpointAssociationsAssociationArrayOutput) ToGetEndpointAssociationsAssociationArrayOutputWithContext

func (o GetEndpointAssociationsAssociationArrayOutput) ToGetEndpointAssociationsAssociationArrayOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationArrayOutput

type GetEndpointAssociationsAssociationDnsEntry

type GetEndpointAssociationsAssociationDnsEntry struct {
	// DNS name.
	DnsName string `pulumi:"dnsName"`
	// ID of the private hosted zone.
	HostedZoneId string `pulumi:"hostedZoneId"`
}

type GetEndpointAssociationsAssociationDnsEntryArgs

type GetEndpointAssociationsAssociationDnsEntryArgs struct {
	// DNS name.
	DnsName pulumi.StringInput `pulumi:"dnsName"`
	// ID of the private hosted zone.
	HostedZoneId pulumi.StringInput `pulumi:"hostedZoneId"`
}

func (GetEndpointAssociationsAssociationDnsEntryArgs) ElementType

func (GetEndpointAssociationsAssociationDnsEntryArgs) ToGetEndpointAssociationsAssociationDnsEntryOutput

func (i GetEndpointAssociationsAssociationDnsEntryArgs) ToGetEndpointAssociationsAssociationDnsEntryOutput() GetEndpointAssociationsAssociationDnsEntryOutput

func (GetEndpointAssociationsAssociationDnsEntryArgs) ToGetEndpointAssociationsAssociationDnsEntryOutputWithContext

func (i GetEndpointAssociationsAssociationDnsEntryArgs) ToGetEndpointAssociationsAssociationDnsEntryOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationDnsEntryOutput

type GetEndpointAssociationsAssociationDnsEntryArray

type GetEndpointAssociationsAssociationDnsEntryArray []GetEndpointAssociationsAssociationDnsEntryInput

func (GetEndpointAssociationsAssociationDnsEntryArray) ElementType

func (GetEndpointAssociationsAssociationDnsEntryArray) ToGetEndpointAssociationsAssociationDnsEntryArrayOutput

func (i GetEndpointAssociationsAssociationDnsEntryArray) ToGetEndpointAssociationsAssociationDnsEntryArrayOutput() GetEndpointAssociationsAssociationDnsEntryArrayOutput

func (GetEndpointAssociationsAssociationDnsEntryArray) ToGetEndpointAssociationsAssociationDnsEntryArrayOutputWithContext

func (i GetEndpointAssociationsAssociationDnsEntryArray) ToGetEndpointAssociationsAssociationDnsEntryArrayOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationDnsEntryArrayOutput

type GetEndpointAssociationsAssociationDnsEntryArrayInput

type GetEndpointAssociationsAssociationDnsEntryArrayInput interface {
	pulumi.Input

	ToGetEndpointAssociationsAssociationDnsEntryArrayOutput() GetEndpointAssociationsAssociationDnsEntryArrayOutput
	ToGetEndpointAssociationsAssociationDnsEntryArrayOutputWithContext(context.Context) GetEndpointAssociationsAssociationDnsEntryArrayOutput
}

GetEndpointAssociationsAssociationDnsEntryArrayInput is an input type that accepts GetEndpointAssociationsAssociationDnsEntryArray and GetEndpointAssociationsAssociationDnsEntryArrayOutput values. You can construct a concrete instance of `GetEndpointAssociationsAssociationDnsEntryArrayInput` via:

GetEndpointAssociationsAssociationDnsEntryArray{ GetEndpointAssociationsAssociationDnsEntryArgs{...} }

type GetEndpointAssociationsAssociationDnsEntryArrayOutput

type GetEndpointAssociationsAssociationDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointAssociationsAssociationDnsEntryArrayOutput) ElementType

func (GetEndpointAssociationsAssociationDnsEntryArrayOutput) Index

func (GetEndpointAssociationsAssociationDnsEntryArrayOutput) ToGetEndpointAssociationsAssociationDnsEntryArrayOutput

func (GetEndpointAssociationsAssociationDnsEntryArrayOutput) ToGetEndpointAssociationsAssociationDnsEntryArrayOutputWithContext

func (o GetEndpointAssociationsAssociationDnsEntryArrayOutput) ToGetEndpointAssociationsAssociationDnsEntryArrayOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationDnsEntryArrayOutput

type GetEndpointAssociationsAssociationDnsEntryInput

type GetEndpointAssociationsAssociationDnsEntryInput interface {
	pulumi.Input

	ToGetEndpointAssociationsAssociationDnsEntryOutput() GetEndpointAssociationsAssociationDnsEntryOutput
	ToGetEndpointAssociationsAssociationDnsEntryOutputWithContext(context.Context) GetEndpointAssociationsAssociationDnsEntryOutput
}

GetEndpointAssociationsAssociationDnsEntryInput is an input type that accepts GetEndpointAssociationsAssociationDnsEntryArgs and GetEndpointAssociationsAssociationDnsEntryOutput values. You can construct a concrete instance of `GetEndpointAssociationsAssociationDnsEntryInput` via:

GetEndpointAssociationsAssociationDnsEntryArgs{...}

type GetEndpointAssociationsAssociationDnsEntryOutput

type GetEndpointAssociationsAssociationDnsEntryOutput struct{ *pulumi.OutputState }

func (GetEndpointAssociationsAssociationDnsEntryOutput) DnsName

DNS name.

func (GetEndpointAssociationsAssociationDnsEntryOutput) ElementType

func (GetEndpointAssociationsAssociationDnsEntryOutput) HostedZoneId

ID of the private hosted zone.

func (GetEndpointAssociationsAssociationDnsEntryOutput) ToGetEndpointAssociationsAssociationDnsEntryOutput

func (o GetEndpointAssociationsAssociationDnsEntryOutput) ToGetEndpointAssociationsAssociationDnsEntryOutput() GetEndpointAssociationsAssociationDnsEntryOutput

func (GetEndpointAssociationsAssociationDnsEntryOutput) ToGetEndpointAssociationsAssociationDnsEntryOutputWithContext

func (o GetEndpointAssociationsAssociationDnsEntryOutput) ToGetEndpointAssociationsAssociationDnsEntryOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationDnsEntryOutput

type GetEndpointAssociationsAssociationInput

type GetEndpointAssociationsAssociationInput interface {
	pulumi.Input

	ToGetEndpointAssociationsAssociationOutput() GetEndpointAssociationsAssociationOutput
	ToGetEndpointAssociationsAssociationOutputWithContext(context.Context) GetEndpointAssociationsAssociationOutput
}

GetEndpointAssociationsAssociationInput is an input type that accepts GetEndpointAssociationsAssociationArgs and GetEndpointAssociationsAssociationOutput values. You can construct a concrete instance of `GetEndpointAssociationsAssociationInput` via:

GetEndpointAssociationsAssociationArgs{...}

type GetEndpointAssociationsAssociationOutput

type GetEndpointAssociationsAssociationOutput struct{ *pulumi.OutputState }

func (GetEndpointAssociationsAssociationOutput) AssociatedResourceAccessibility

func (o GetEndpointAssociationsAssociationOutput) AssociatedResourceAccessibility() pulumi.StringOutput

Accessibility of the resource.

func (GetEndpointAssociationsAssociationOutput) AssociatedResourceArn

ARN of the resource for this association.

func (GetEndpointAssociationsAssociationOutput) DnsEntries

DNS entries for the Association. DNS entry blocks are documented below.

func (GetEndpointAssociationsAssociationOutput) ElementType

func (GetEndpointAssociationsAssociationOutput) Id

func (GetEndpointAssociationsAssociationOutput) PrivateDnsEntries

DNS entries for the Association. Private DNS entry blocks are documented below.

func (GetEndpointAssociationsAssociationOutput) ResourceConfigurationGroupArn

func (o GetEndpointAssociationsAssociationOutput) ResourceConfigurationGroupArn() pulumi.StringOutput

ARN of the Resource Group if the Resource is a member of a group.

func (GetEndpointAssociationsAssociationOutput) ServiceNetworkArn

Service Network ARN. Applicable for endpoints of type `ServiceNetwork`.

func (GetEndpointAssociationsAssociationOutput) ServiceNetworkName

Service Network Name. Applicable for endpoints of type `ServiceNetwork`.

func (GetEndpointAssociationsAssociationOutput) Tags

Tags of the association.

func (GetEndpointAssociationsAssociationOutput) ToGetEndpointAssociationsAssociationOutput

func (o GetEndpointAssociationsAssociationOutput) ToGetEndpointAssociationsAssociationOutput() GetEndpointAssociationsAssociationOutput

func (GetEndpointAssociationsAssociationOutput) ToGetEndpointAssociationsAssociationOutputWithContext

func (o GetEndpointAssociationsAssociationOutput) ToGetEndpointAssociationsAssociationOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationOutput

type GetEndpointAssociationsAssociationPrivateDnsEntry

type GetEndpointAssociationsAssociationPrivateDnsEntry struct {
	// DNS name.
	DnsName string `pulumi:"dnsName"`
	// ID of the private hosted zone.
	HostedZoneId string `pulumi:"hostedZoneId"`
}

type GetEndpointAssociationsAssociationPrivateDnsEntryArgs

type GetEndpointAssociationsAssociationPrivateDnsEntryArgs struct {
	// DNS name.
	DnsName pulumi.StringInput `pulumi:"dnsName"`
	// ID of the private hosted zone.
	HostedZoneId pulumi.StringInput `pulumi:"hostedZoneId"`
}

func (GetEndpointAssociationsAssociationPrivateDnsEntryArgs) ElementType

func (GetEndpointAssociationsAssociationPrivateDnsEntryArgs) ToGetEndpointAssociationsAssociationPrivateDnsEntryOutput

func (i GetEndpointAssociationsAssociationPrivateDnsEntryArgs) ToGetEndpointAssociationsAssociationPrivateDnsEntryOutput() GetEndpointAssociationsAssociationPrivateDnsEntryOutput

func (GetEndpointAssociationsAssociationPrivateDnsEntryArgs) ToGetEndpointAssociationsAssociationPrivateDnsEntryOutputWithContext

func (i GetEndpointAssociationsAssociationPrivateDnsEntryArgs) ToGetEndpointAssociationsAssociationPrivateDnsEntryOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationPrivateDnsEntryOutput

type GetEndpointAssociationsAssociationPrivateDnsEntryArray

type GetEndpointAssociationsAssociationPrivateDnsEntryArray []GetEndpointAssociationsAssociationPrivateDnsEntryInput

func (GetEndpointAssociationsAssociationPrivateDnsEntryArray) ElementType

func (GetEndpointAssociationsAssociationPrivateDnsEntryArray) ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput

func (i GetEndpointAssociationsAssociationPrivateDnsEntryArray) ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput() GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput

func (GetEndpointAssociationsAssociationPrivateDnsEntryArray) ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutputWithContext

func (i GetEndpointAssociationsAssociationPrivateDnsEntryArray) ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput

type GetEndpointAssociationsAssociationPrivateDnsEntryArrayInput

type GetEndpointAssociationsAssociationPrivateDnsEntryArrayInput interface {
	pulumi.Input

	ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput() GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput
	ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutputWithContext(context.Context) GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput
}

GetEndpointAssociationsAssociationPrivateDnsEntryArrayInput is an input type that accepts GetEndpointAssociationsAssociationPrivateDnsEntryArray and GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput values. You can construct a concrete instance of `GetEndpointAssociationsAssociationPrivateDnsEntryArrayInput` via:

GetEndpointAssociationsAssociationPrivateDnsEntryArray{ GetEndpointAssociationsAssociationPrivateDnsEntryArgs{...} }

type GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput

type GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput) ElementType

func (GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput) Index

func (GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput) ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput

func (GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput) ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutputWithContext

func (o GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput) ToGetEndpointAssociationsAssociationPrivateDnsEntryArrayOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationPrivateDnsEntryArrayOutput

type GetEndpointAssociationsAssociationPrivateDnsEntryInput

type GetEndpointAssociationsAssociationPrivateDnsEntryInput interface {
	pulumi.Input

	ToGetEndpointAssociationsAssociationPrivateDnsEntryOutput() GetEndpointAssociationsAssociationPrivateDnsEntryOutput
	ToGetEndpointAssociationsAssociationPrivateDnsEntryOutputWithContext(context.Context) GetEndpointAssociationsAssociationPrivateDnsEntryOutput
}

GetEndpointAssociationsAssociationPrivateDnsEntryInput is an input type that accepts GetEndpointAssociationsAssociationPrivateDnsEntryArgs and GetEndpointAssociationsAssociationPrivateDnsEntryOutput values. You can construct a concrete instance of `GetEndpointAssociationsAssociationPrivateDnsEntryInput` via:

GetEndpointAssociationsAssociationPrivateDnsEntryArgs{...}

type GetEndpointAssociationsAssociationPrivateDnsEntryOutput

type GetEndpointAssociationsAssociationPrivateDnsEntryOutput struct{ *pulumi.OutputState }

func (GetEndpointAssociationsAssociationPrivateDnsEntryOutput) DnsName

DNS name.

func (GetEndpointAssociationsAssociationPrivateDnsEntryOutput) ElementType

func (GetEndpointAssociationsAssociationPrivateDnsEntryOutput) HostedZoneId

ID of the private hosted zone.

func (GetEndpointAssociationsAssociationPrivateDnsEntryOutput) ToGetEndpointAssociationsAssociationPrivateDnsEntryOutput

func (GetEndpointAssociationsAssociationPrivateDnsEntryOutput) ToGetEndpointAssociationsAssociationPrivateDnsEntryOutputWithContext

func (o GetEndpointAssociationsAssociationPrivateDnsEntryOutput) ToGetEndpointAssociationsAssociationPrivateDnsEntryOutputWithContext(ctx context.Context) GetEndpointAssociationsAssociationPrivateDnsEntryOutput

type GetEndpointAssociationsOutputArgs

type GetEndpointAssociationsOutputArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// ID of the specific VPC Endpoint to retrieve.
	VpcEndpointId pulumi.StringInput `pulumi:"vpcEndpointId"`
}

A collection of arguments for invoking getEndpointAssociations.

func (GetEndpointAssociationsOutputArgs) ElementType

type GetEndpointAssociationsResult

type GetEndpointAssociationsResult struct {
	// Associations for the VPC Endpoint. Association blocks are documented below.
	Associations []GetEndpointAssociationsAssociation `pulumi:"associations"`
	// The provider-assigned unique ID for this managed resource.
	Id            string `pulumi:"id"`
	Region        string `pulumi:"region"`
	VpcEndpointId string `pulumi:"vpcEndpointId"`
}

A collection of values returned by getEndpointAssociations.

func GetEndpointAssociations

func GetEndpointAssociations(ctx *pulumi.Context, args *GetEndpointAssociationsArgs, opts ...pulumi.InvokeOption) (*GetEndpointAssociationsResult, error)

Data source for managing an AWS EC2 (Elastic Compute Cloud) Vpc Endpoint Associations.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.GetEndpointAssociations(ctx, &vpc.GetEndpointAssociationsArgs{
			VpcEndpointId: exampleAwsVpcEndpoint.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEndpointAssociationsResultOutput

type GetEndpointAssociationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEndpointAssociations.

func (GetEndpointAssociationsResultOutput) Associations

Associations for the VPC Endpoint. Association blocks are documented below.

func (GetEndpointAssociationsResultOutput) ElementType

func (GetEndpointAssociationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEndpointAssociationsResultOutput) Region

func (GetEndpointAssociationsResultOutput) ToGetEndpointAssociationsResultOutput

func (o GetEndpointAssociationsResultOutput) ToGetEndpointAssociationsResultOutput() GetEndpointAssociationsResultOutput

func (GetEndpointAssociationsResultOutput) ToGetEndpointAssociationsResultOutputWithContext

func (o GetEndpointAssociationsResultOutput) ToGetEndpointAssociationsResultOutputWithContext(ctx context.Context) GetEndpointAssociationsResultOutput

func (GetEndpointAssociationsResultOutput) VpcEndpointId

type GetSecurityGroupRuleArgs

type GetSecurityGroupRuleArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	//
	// The arguments of this data source act as filters for querying the available
	// security group rules. The given filters must match exactly one security group rule
	// whose data will be exported as attributes.
	Filters []GetSecurityGroupRuleFilter `pulumi:"filters"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// ID of the security group rule to select.
	SecurityGroupRuleId *string `pulumi:"securityGroupRuleId"`
}

A collection of arguments for invoking getSecurityGroupRule.

type GetSecurityGroupRuleFilter

type GetSecurityGroupRuleFilter struct {
	// Name of the filter field. Valid values can be found in the EC2 [`DescribeSecurityGroupRules`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroupRules.html) API Reference.
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values []string `pulumi:"values"`
}

type GetSecurityGroupRuleFilterArgs

type GetSecurityGroupRuleFilterArgs struct {
	// Name of the filter field. Valid values can be found in the EC2 [`DescribeSecurityGroupRules`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroupRules.html) API Reference.
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecurityGroupRuleFilterArgs) ElementType

func (GetSecurityGroupRuleFilterArgs) ToGetSecurityGroupRuleFilterOutput

func (i GetSecurityGroupRuleFilterArgs) ToGetSecurityGroupRuleFilterOutput() GetSecurityGroupRuleFilterOutput

func (GetSecurityGroupRuleFilterArgs) ToGetSecurityGroupRuleFilterOutputWithContext

func (i GetSecurityGroupRuleFilterArgs) ToGetSecurityGroupRuleFilterOutputWithContext(ctx context.Context) GetSecurityGroupRuleFilterOutput

type GetSecurityGroupRuleFilterArray

type GetSecurityGroupRuleFilterArray []GetSecurityGroupRuleFilterInput

func (GetSecurityGroupRuleFilterArray) ElementType

func (GetSecurityGroupRuleFilterArray) ToGetSecurityGroupRuleFilterArrayOutput

func (i GetSecurityGroupRuleFilterArray) ToGetSecurityGroupRuleFilterArrayOutput() GetSecurityGroupRuleFilterArrayOutput

func (GetSecurityGroupRuleFilterArray) ToGetSecurityGroupRuleFilterArrayOutputWithContext

func (i GetSecurityGroupRuleFilterArray) ToGetSecurityGroupRuleFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupRuleFilterArrayOutput

type GetSecurityGroupRuleFilterArrayInput

type GetSecurityGroupRuleFilterArrayInput interface {
	pulumi.Input

	ToGetSecurityGroupRuleFilterArrayOutput() GetSecurityGroupRuleFilterArrayOutput
	ToGetSecurityGroupRuleFilterArrayOutputWithContext(context.Context) GetSecurityGroupRuleFilterArrayOutput
}

GetSecurityGroupRuleFilterArrayInput is an input type that accepts GetSecurityGroupRuleFilterArray and GetSecurityGroupRuleFilterArrayOutput values. You can construct a concrete instance of `GetSecurityGroupRuleFilterArrayInput` via:

GetSecurityGroupRuleFilterArray{ GetSecurityGroupRuleFilterArgs{...} }

type GetSecurityGroupRuleFilterArrayOutput

type GetSecurityGroupRuleFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupRuleFilterArrayOutput) ElementType

func (GetSecurityGroupRuleFilterArrayOutput) Index

func (GetSecurityGroupRuleFilterArrayOutput) ToGetSecurityGroupRuleFilterArrayOutput

func (o GetSecurityGroupRuleFilterArrayOutput) ToGetSecurityGroupRuleFilterArrayOutput() GetSecurityGroupRuleFilterArrayOutput

func (GetSecurityGroupRuleFilterArrayOutput) ToGetSecurityGroupRuleFilterArrayOutputWithContext

func (o GetSecurityGroupRuleFilterArrayOutput) ToGetSecurityGroupRuleFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupRuleFilterArrayOutput

type GetSecurityGroupRuleFilterInput

type GetSecurityGroupRuleFilterInput interface {
	pulumi.Input

	ToGetSecurityGroupRuleFilterOutput() GetSecurityGroupRuleFilterOutput
	ToGetSecurityGroupRuleFilterOutputWithContext(context.Context) GetSecurityGroupRuleFilterOutput
}

GetSecurityGroupRuleFilterInput is an input type that accepts GetSecurityGroupRuleFilterArgs and GetSecurityGroupRuleFilterOutput values. You can construct a concrete instance of `GetSecurityGroupRuleFilterInput` via:

GetSecurityGroupRuleFilterArgs{...}

type GetSecurityGroupRuleFilterOutput

type GetSecurityGroupRuleFilterOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupRuleFilterOutput) ElementType

func (GetSecurityGroupRuleFilterOutput) Name

Name of the filter field. Valid values can be found in the EC2 [`DescribeSecurityGroupRules`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroupRules.html) API Reference.

func (GetSecurityGroupRuleFilterOutput) ToGetSecurityGroupRuleFilterOutput

func (o GetSecurityGroupRuleFilterOutput) ToGetSecurityGroupRuleFilterOutput() GetSecurityGroupRuleFilterOutput

func (GetSecurityGroupRuleFilterOutput) ToGetSecurityGroupRuleFilterOutputWithContext

func (o GetSecurityGroupRuleFilterOutput) ToGetSecurityGroupRuleFilterOutputWithContext(ctx context.Context) GetSecurityGroupRuleFilterOutput

func (GetSecurityGroupRuleFilterOutput) Values

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

type GetSecurityGroupRuleOutputArgs

type GetSecurityGroupRuleOutputArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	//
	// The arguments of this data source act as filters for querying the available
	// security group rules. The given filters must match exactly one security group rule
	// whose data will be exported as attributes.
	Filters GetSecurityGroupRuleFilterArrayInput `pulumi:"filters"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// ID of the security group rule to select.
	SecurityGroupRuleId pulumi.StringPtrInput `pulumi:"securityGroupRuleId"`
}

A collection of arguments for invoking getSecurityGroupRule.

func (GetSecurityGroupRuleOutputArgs) ElementType

type GetSecurityGroupRuleResult

type GetSecurityGroupRuleResult struct {
	// The Amazon Resource Name (ARN) of the security group rule.
	Arn string `pulumi:"arn"`
	// The destination IPv4 CIDR range.
	CidrIpv4 string `pulumi:"cidrIpv4"`
	// The destination IPv6 CIDR range.
	CidrIpv6 string `pulumi:"cidrIpv6"`
	// The security group rule description.
	Description string                       `pulumi:"description"`
	Filters     []GetSecurityGroupRuleFilter `pulumi:"filters"`
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
	FromPort int    `pulumi:"fromPort"`
	Id       string `pulumi:"id"`
	// The IP protocol name or number. Use `-1` to specify all protocols.
	IpProtocol string `pulumi:"ipProtocol"`
	// Indicates whether the security group rule is an outbound rule.
	IsEgress bool `pulumi:"isEgress"`
	// The ID of the destination prefix list.
	PrefixListId string `pulumi:"prefixListId"`
	// The destination security group that is referenced in the rule.
	ReferencedSecurityGroupId string `pulumi:"referencedSecurityGroupId"`
	Region                    string `pulumi:"region"`
	// The ID of the security group.
	SecurityGroupId     string `pulumi:"securityGroupId"`
	SecurityGroupRuleId string `pulumi:"securityGroupRuleId"`
	// A map of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// (Optional) The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
	ToPort int `pulumi:"toPort"`
}

A collection of values returned by getSecurityGroupRule.

func GetSecurityGroupRule

func GetSecurityGroupRule(ctx *pulumi.Context, args *GetSecurityGroupRuleArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupRuleResult, error)

`vpc.getSecurityGroupRule` provides details about a specific security group rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.GetSecurityGroupRule(ctx, &vpc.GetSecurityGroupRuleArgs{
			SecurityGroupRuleId: pulumi.StringRef(securityGroupRuleId),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSecurityGroupRuleResultOutput

type GetSecurityGroupRuleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecurityGroupRule.

func (GetSecurityGroupRuleResultOutput) Arn

The Amazon Resource Name (ARN) of the security group rule.

func (GetSecurityGroupRuleResultOutput) CidrIpv4

The destination IPv4 CIDR range.

func (GetSecurityGroupRuleResultOutput) CidrIpv6

The destination IPv6 CIDR range.

func (GetSecurityGroupRuleResultOutput) Description

The security group rule description.

func (GetSecurityGroupRuleResultOutput) ElementType

func (GetSecurityGroupRuleResultOutput) Filters

func (GetSecurityGroupRuleResultOutput) FromPort

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.

func (GetSecurityGroupRuleResultOutput) Id

func (GetSecurityGroupRuleResultOutput) IpProtocol

The IP protocol name or number. Use `-1` to specify all protocols.

func (GetSecurityGroupRuleResultOutput) IsEgress

Indicates whether the security group rule is an outbound rule.

func (GetSecurityGroupRuleResultOutput) PrefixListId

The ID of the destination prefix list.

func (GetSecurityGroupRuleResultOutput) ReferencedSecurityGroupId

func (o GetSecurityGroupRuleResultOutput) ReferencedSecurityGroupId() pulumi.StringOutput

The destination security group that is referenced in the rule.

func (GetSecurityGroupRuleResultOutput) Region

func (GetSecurityGroupRuleResultOutput) SecurityGroupId

The ID of the security group.

func (GetSecurityGroupRuleResultOutput) SecurityGroupRuleId

func (o GetSecurityGroupRuleResultOutput) SecurityGroupRuleId() pulumi.StringOutput

func (GetSecurityGroupRuleResultOutput) Tags

A map of tags assigned to the resource.

func (GetSecurityGroupRuleResultOutput) ToGetSecurityGroupRuleResultOutput

func (o GetSecurityGroupRuleResultOutput) ToGetSecurityGroupRuleResultOutput() GetSecurityGroupRuleResultOutput

func (GetSecurityGroupRuleResultOutput) ToGetSecurityGroupRuleResultOutputWithContext

func (o GetSecurityGroupRuleResultOutput) ToGetSecurityGroupRuleResultOutputWithContext(ctx context.Context) GetSecurityGroupRuleResultOutput

func (GetSecurityGroupRuleResultOutput) ToPort

(Optional) The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

type GetSecurityGroupRulesArgs

type GetSecurityGroupRulesArgs struct {
	// Custom filter block as described below.
	Filters []GetSecurityGroupRulesFilter `pulumi:"filters"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// Map of tags, each pair of which must exactly match
	// a pair on the desired security group rule.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getSecurityGroupRules.

type GetSecurityGroupRulesFilter

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

type GetSecurityGroupRulesFilterArgs

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

func (GetSecurityGroupRulesFilterArgs) ElementType

func (GetSecurityGroupRulesFilterArgs) ToGetSecurityGroupRulesFilterOutput

func (i GetSecurityGroupRulesFilterArgs) ToGetSecurityGroupRulesFilterOutput() GetSecurityGroupRulesFilterOutput

func (GetSecurityGroupRulesFilterArgs) ToGetSecurityGroupRulesFilterOutputWithContext

func (i GetSecurityGroupRulesFilterArgs) ToGetSecurityGroupRulesFilterOutputWithContext(ctx context.Context) GetSecurityGroupRulesFilterOutput

type GetSecurityGroupRulesFilterArray

type GetSecurityGroupRulesFilterArray []GetSecurityGroupRulesFilterInput

func (GetSecurityGroupRulesFilterArray) ElementType

func (GetSecurityGroupRulesFilterArray) ToGetSecurityGroupRulesFilterArrayOutput

func (i GetSecurityGroupRulesFilterArray) ToGetSecurityGroupRulesFilterArrayOutput() GetSecurityGroupRulesFilterArrayOutput

func (GetSecurityGroupRulesFilterArray) ToGetSecurityGroupRulesFilterArrayOutputWithContext

func (i GetSecurityGroupRulesFilterArray) ToGetSecurityGroupRulesFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupRulesFilterArrayOutput

type GetSecurityGroupRulesFilterArrayInput

type GetSecurityGroupRulesFilterArrayInput interface {
	pulumi.Input

	ToGetSecurityGroupRulesFilterArrayOutput() GetSecurityGroupRulesFilterArrayOutput
	ToGetSecurityGroupRulesFilterArrayOutputWithContext(context.Context) GetSecurityGroupRulesFilterArrayOutput
}

GetSecurityGroupRulesFilterArrayInput is an input type that accepts GetSecurityGroupRulesFilterArray and GetSecurityGroupRulesFilterArrayOutput values. You can construct a concrete instance of `GetSecurityGroupRulesFilterArrayInput` via:

GetSecurityGroupRulesFilterArray{ GetSecurityGroupRulesFilterArgs{...} }

type GetSecurityGroupRulesFilterArrayOutput

type GetSecurityGroupRulesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupRulesFilterArrayOutput) ElementType

func (GetSecurityGroupRulesFilterArrayOutput) Index

func (GetSecurityGroupRulesFilterArrayOutput) ToGetSecurityGroupRulesFilterArrayOutput

func (o GetSecurityGroupRulesFilterArrayOutput) ToGetSecurityGroupRulesFilterArrayOutput() GetSecurityGroupRulesFilterArrayOutput

func (GetSecurityGroupRulesFilterArrayOutput) ToGetSecurityGroupRulesFilterArrayOutputWithContext

func (o GetSecurityGroupRulesFilterArrayOutput) ToGetSecurityGroupRulesFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupRulesFilterArrayOutput

type GetSecurityGroupRulesFilterInput

type GetSecurityGroupRulesFilterInput interface {
	pulumi.Input

	ToGetSecurityGroupRulesFilterOutput() GetSecurityGroupRulesFilterOutput
	ToGetSecurityGroupRulesFilterOutputWithContext(context.Context) GetSecurityGroupRulesFilterOutput
}

GetSecurityGroupRulesFilterInput is an input type that accepts GetSecurityGroupRulesFilterArgs and GetSecurityGroupRulesFilterOutput values. You can construct a concrete instance of `GetSecurityGroupRulesFilterInput` via:

GetSecurityGroupRulesFilterArgs{...}

type GetSecurityGroupRulesFilterOutput

type GetSecurityGroupRulesFilterOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupRulesFilterOutput) ElementType

func (GetSecurityGroupRulesFilterOutput) Name

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

func (GetSecurityGroupRulesFilterOutput) ToGetSecurityGroupRulesFilterOutput

func (o GetSecurityGroupRulesFilterOutput) ToGetSecurityGroupRulesFilterOutput() GetSecurityGroupRulesFilterOutput

func (GetSecurityGroupRulesFilterOutput) ToGetSecurityGroupRulesFilterOutputWithContext

func (o GetSecurityGroupRulesFilterOutput) ToGetSecurityGroupRulesFilterOutputWithContext(ctx context.Context) GetSecurityGroupRulesFilterOutput

func (GetSecurityGroupRulesFilterOutput) Values

Set of values that are accepted for the given field.

Security group rule IDs will be selected if any one of the given values match.

type GetSecurityGroupRulesOutputArgs

type GetSecurityGroupRulesOutputArgs struct {
	// Custom filter block as described below.
	Filters GetSecurityGroupRulesFilterArrayInput `pulumi:"filters"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Map of tags, each pair of which must exactly match
	// a pair on the desired security group rule.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getSecurityGroupRules.

func (GetSecurityGroupRulesOutputArgs) ElementType

type GetSecurityGroupRulesResult

type GetSecurityGroupRulesResult struct {
	Filters []GetSecurityGroupRulesFilter `pulumi:"filters"`
	Id      string                        `pulumi:"id"`
	// List of all the security group rule IDs found.
	Ids    []string          `pulumi:"ids"`
	Region string            `pulumi:"region"`
	Tags   map[string]string `pulumi:"tags"`
}

A collection of values returned by getSecurityGroupRules.

func GetSecurityGroupRules

func GetSecurityGroupRules(ctx *pulumi.Context, args *GetSecurityGroupRulesArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupRulesResult, error)

This resource can be useful for getting back a set of security group rule IDs.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpc.GetSecurityGroupRules(ctx, &vpc.GetSecurityGroupRulesArgs{ Filters: []vpc.GetSecurityGroupRulesFilter{ { Name: "group-id", Values: interface{}{ securityGroupId, }, }, }, }, nil); if err != nil { return err } return nil }) } ```

type GetSecurityGroupRulesResultOutput

type GetSecurityGroupRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecurityGroupRules.

func (GetSecurityGroupRulesResultOutput) ElementType

func (GetSecurityGroupRulesResultOutput) Filters

func (GetSecurityGroupRulesResultOutput) Id

func (GetSecurityGroupRulesResultOutput) Ids

List of all the security group rule IDs found.

func (GetSecurityGroupRulesResultOutput) Region

func (GetSecurityGroupRulesResultOutput) Tags

func (GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutput

func (o GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutput() GetSecurityGroupRulesResultOutput

func (GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutputWithContext

func (o GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutputWithContext(ctx context.Context) GetSecurityGroupRulesResultOutput

type RouteServer

type RouteServer struct {
	pulumi.CustomResourceState

	// The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
	//
	// The following arguments are optional:
	AmazonSideAsn pulumi.IntOutput `pulumi:"amazonSideAsn"`
	// The ARN of the route server.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are `enable`, `disable`, `reset`
	PersistRoutes pulumi.StringOutput `pulumi:"persistRoutes"`
	// The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if `persistRoutes` is enabled.
	PersistRoutesDuration pulumi.IntPtrOutput `pulumi:"persistRoutesDuration"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The unique identifier of the route server.
	RouteServerId pulumi.StringOutput `pulumi:"routeServerId"`
	// Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
	SnsNotificationsEnabled pulumi.BoolOutput `pulumi:"snsNotificationsEnabled"`
	// The ARN of the SNS topic where notifications are published.
	SnsTopicArn pulumi.StringOutput `pulumi:"snsTopicArn"`
	// A map 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"`
	Timeouts RouteServerTimeoutsPtrOutput `pulumi:"timeouts"`
}

Provides a resource for managing a VPC (Virtual Private Cloud) Route Server.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewRouteServer(ctx, "test", &vpc.RouteServerArgs{
			AmazonSideAsn: pulumi.Int(65534),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Persist Route and SNS Notification

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewRouteServer(ctx, "test", &vpc.RouteServerArgs{
			AmazonSideAsn:           pulumi.Int(65534),
			PersistRoutes:           pulumi.String("enable"),
			PersistRoutesDuration:   pulumi.Int(2),
			SnsNotificationsEnabled: pulumi.Bool(true),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Main Route Server"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server using the `route_server_id`. For example:

```sh $ pulumi import aws:vpc/routeServer:RouteServer example rs-12345678 ```

func GetRouteServer

func GetRouteServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteServerState, opts ...pulumi.ResourceOption) (*RouteServer, error)

GetRouteServer gets an existing RouteServer 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 NewRouteServer

func NewRouteServer(ctx *pulumi.Context,
	name string, args *RouteServerArgs, opts ...pulumi.ResourceOption) (*RouteServer, error)

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

func (*RouteServer) ElementType

func (*RouteServer) ElementType() reflect.Type

func (*RouteServer) ToRouteServerOutput

func (i *RouteServer) ToRouteServerOutput() RouteServerOutput

func (*RouteServer) ToRouteServerOutputWithContext

func (i *RouteServer) ToRouteServerOutputWithContext(ctx context.Context) RouteServerOutput

type RouteServerArgs

type RouteServerArgs struct {
	// The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
	//
	// The following arguments are optional:
	AmazonSideAsn pulumi.IntInput
	// Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are `enable`, `disable`, `reset`
	PersistRoutes pulumi.StringPtrInput
	// The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if `persistRoutes` is enabled.
	PersistRoutesDuration pulumi.IntPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
	SnsNotificationsEnabled pulumi.BoolPtrInput
	// A map 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
	Timeouts RouteServerTimeoutsPtrInput
}

The set of arguments for constructing a RouteServer resource.

func (RouteServerArgs) ElementType

func (RouteServerArgs) ElementType() reflect.Type

type RouteServerArray

type RouteServerArray []RouteServerInput

func (RouteServerArray) ElementType

func (RouteServerArray) ElementType() reflect.Type

func (RouteServerArray) ToRouteServerArrayOutput

func (i RouteServerArray) ToRouteServerArrayOutput() RouteServerArrayOutput

func (RouteServerArray) ToRouteServerArrayOutputWithContext

func (i RouteServerArray) ToRouteServerArrayOutputWithContext(ctx context.Context) RouteServerArrayOutput

type RouteServerArrayInput

type RouteServerArrayInput interface {
	pulumi.Input

	ToRouteServerArrayOutput() RouteServerArrayOutput
	ToRouteServerArrayOutputWithContext(context.Context) RouteServerArrayOutput
}

RouteServerArrayInput is an input type that accepts RouteServerArray and RouteServerArrayOutput values. You can construct a concrete instance of `RouteServerArrayInput` via:

RouteServerArray{ RouteServerArgs{...} }

type RouteServerArrayOutput

type RouteServerArrayOutput struct{ *pulumi.OutputState }

func (RouteServerArrayOutput) ElementType

func (RouteServerArrayOutput) ElementType() reflect.Type

func (RouteServerArrayOutput) Index

func (RouteServerArrayOutput) ToRouteServerArrayOutput

func (o RouteServerArrayOutput) ToRouteServerArrayOutput() RouteServerArrayOutput

func (RouteServerArrayOutput) ToRouteServerArrayOutputWithContext

func (o RouteServerArrayOutput) ToRouteServerArrayOutputWithContext(ctx context.Context) RouteServerArrayOutput

type RouteServerEndpoint

type RouteServerEndpoint struct {
	pulumi.CustomResourceState

	// The ARN of the route server endpoint.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The IP address of the Elastic network interface for the endpoint.
	EniAddress pulumi.StringOutput `pulumi:"eniAddress"`
	// The ID of the Elastic network interface for the endpoint.
	EniId pulumi.StringOutput `pulumi:"eniId"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The unique identifier of the route server endpoint.
	RouteServerEndpointId pulumi.StringOutput `pulumi:"routeServerEndpointId"`
	// The ID of the route server for which to create an endpoint.
	RouteServerId pulumi.StringOutput `pulumi:"routeServerId"`
	// The ID of the subnet in which to create the route server endpoint.
	//
	// The following arguments are optional:
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A map 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"`
	Timeouts RouteServerEndpointTimeoutsPtrOutput `pulumi:"timeouts"`
	// The ID of the VPC containing the endpoint.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource for managing a VPC (Virtual Private Cloud) Route Server Endpoint.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewRouteServerEndpoint(ctx, "test", &vpc.RouteServerEndpointArgs{
			RouteServerId: pulumi.Any(example.RouteServerId),
			SubnetId:      pulumi.Any(main.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Endpoint A"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server Endpoint using the `route_server_endpoint_id`. For example:

```sh $ pulumi import aws:vpc/routeServerEndpoint:RouteServerEndpoint example rse-12345678 ```

func GetRouteServerEndpoint

func GetRouteServerEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteServerEndpointState, opts ...pulumi.ResourceOption) (*RouteServerEndpoint, error)

GetRouteServerEndpoint gets an existing RouteServerEndpoint 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 NewRouteServerEndpoint

func NewRouteServerEndpoint(ctx *pulumi.Context,
	name string, args *RouteServerEndpointArgs, opts ...pulumi.ResourceOption) (*RouteServerEndpoint, error)

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

func (*RouteServerEndpoint) ElementType

func (*RouteServerEndpoint) ElementType() reflect.Type

func (*RouteServerEndpoint) ToRouteServerEndpointOutput

func (i *RouteServerEndpoint) ToRouteServerEndpointOutput() RouteServerEndpointOutput

func (*RouteServerEndpoint) ToRouteServerEndpointOutputWithContext

func (i *RouteServerEndpoint) ToRouteServerEndpointOutputWithContext(ctx context.Context) RouteServerEndpointOutput

type RouteServerEndpointArgs

type RouteServerEndpointArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the route server for which to create an endpoint.
	RouteServerId pulumi.StringInput
	// The ID of the subnet in which to create the route server endpoint.
	//
	// The following arguments are optional:
	SubnetId pulumi.StringInput
	// A map 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
	Timeouts RouteServerEndpointTimeoutsPtrInput
}

The set of arguments for constructing a RouteServerEndpoint resource.

func (RouteServerEndpointArgs) ElementType

func (RouteServerEndpointArgs) ElementType() reflect.Type

type RouteServerEndpointArray

type RouteServerEndpointArray []RouteServerEndpointInput

func (RouteServerEndpointArray) ElementType

func (RouteServerEndpointArray) ElementType() reflect.Type

func (RouteServerEndpointArray) ToRouteServerEndpointArrayOutput

func (i RouteServerEndpointArray) ToRouteServerEndpointArrayOutput() RouteServerEndpointArrayOutput

func (RouteServerEndpointArray) ToRouteServerEndpointArrayOutputWithContext

func (i RouteServerEndpointArray) ToRouteServerEndpointArrayOutputWithContext(ctx context.Context) RouteServerEndpointArrayOutput

type RouteServerEndpointArrayInput

type RouteServerEndpointArrayInput interface {
	pulumi.Input

	ToRouteServerEndpointArrayOutput() RouteServerEndpointArrayOutput
	ToRouteServerEndpointArrayOutputWithContext(context.Context) RouteServerEndpointArrayOutput
}

RouteServerEndpointArrayInput is an input type that accepts RouteServerEndpointArray and RouteServerEndpointArrayOutput values. You can construct a concrete instance of `RouteServerEndpointArrayInput` via:

RouteServerEndpointArray{ RouteServerEndpointArgs{...} }

type RouteServerEndpointArrayOutput

type RouteServerEndpointArrayOutput struct{ *pulumi.OutputState }

func (RouteServerEndpointArrayOutput) ElementType

func (RouteServerEndpointArrayOutput) Index

func (RouteServerEndpointArrayOutput) ToRouteServerEndpointArrayOutput

func (o RouteServerEndpointArrayOutput) ToRouteServerEndpointArrayOutput() RouteServerEndpointArrayOutput

func (RouteServerEndpointArrayOutput) ToRouteServerEndpointArrayOutputWithContext

func (o RouteServerEndpointArrayOutput) ToRouteServerEndpointArrayOutputWithContext(ctx context.Context) RouteServerEndpointArrayOutput

type RouteServerEndpointInput

type RouteServerEndpointInput interface {
	pulumi.Input

	ToRouteServerEndpointOutput() RouteServerEndpointOutput
	ToRouteServerEndpointOutputWithContext(ctx context.Context) RouteServerEndpointOutput
}

type RouteServerEndpointMap

type RouteServerEndpointMap map[string]RouteServerEndpointInput

func (RouteServerEndpointMap) ElementType

func (RouteServerEndpointMap) ElementType() reflect.Type

func (RouteServerEndpointMap) ToRouteServerEndpointMapOutput

func (i RouteServerEndpointMap) ToRouteServerEndpointMapOutput() RouteServerEndpointMapOutput

func (RouteServerEndpointMap) ToRouteServerEndpointMapOutputWithContext

func (i RouteServerEndpointMap) ToRouteServerEndpointMapOutputWithContext(ctx context.Context) RouteServerEndpointMapOutput

type RouteServerEndpointMapInput

type RouteServerEndpointMapInput interface {
	pulumi.Input

	ToRouteServerEndpointMapOutput() RouteServerEndpointMapOutput
	ToRouteServerEndpointMapOutputWithContext(context.Context) RouteServerEndpointMapOutput
}

RouteServerEndpointMapInput is an input type that accepts RouteServerEndpointMap and RouteServerEndpointMapOutput values. You can construct a concrete instance of `RouteServerEndpointMapInput` via:

RouteServerEndpointMap{ "key": RouteServerEndpointArgs{...} }

type RouteServerEndpointMapOutput

type RouteServerEndpointMapOutput struct{ *pulumi.OutputState }

func (RouteServerEndpointMapOutput) ElementType

func (RouteServerEndpointMapOutput) MapIndex

func (RouteServerEndpointMapOutput) ToRouteServerEndpointMapOutput

func (o RouteServerEndpointMapOutput) ToRouteServerEndpointMapOutput() RouteServerEndpointMapOutput

func (RouteServerEndpointMapOutput) ToRouteServerEndpointMapOutputWithContext

func (o RouteServerEndpointMapOutput) ToRouteServerEndpointMapOutputWithContext(ctx context.Context) RouteServerEndpointMapOutput

type RouteServerEndpointOutput

type RouteServerEndpointOutput struct{ *pulumi.OutputState }

func (RouteServerEndpointOutput) Arn

The ARN of the route server endpoint.

func (RouteServerEndpointOutput) ElementType

func (RouteServerEndpointOutput) ElementType() reflect.Type

func (RouteServerEndpointOutput) EniAddress

The IP address of the Elastic network interface for the endpoint.

func (RouteServerEndpointOutput) EniId

The ID of the Elastic network interface for the endpoint.

func (RouteServerEndpointOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (RouteServerEndpointOutput) RouteServerEndpointId

func (o RouteServerEndpointOutput) RouteServerEndpointId() pulumi.StringOutput

The unique identifier of the route server endpoint.

func (RouteServerEndpointOutput) RouteServerId

func (o RouteServerEndpointOutput) RouteServerId() pulumi.StringOutput

The ID of the route server for which to create an endpoint.

func (RouteServerEndpointOutput) SubnetId

The ID of the subnet in which to create the route server endpoint.

The following arguments are optional:

func (RouteServerEndpointOutput) Tags

A map 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 (RouteServerEndpointOutput) TagsAll

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

func (RouteServerEndpointOutput) Timeouts

func (RouteServerEndpointOutput) ToRouteServerEndpointOutput

func (o RouteServerEndpointOutput) ToRouteServerEndpointOutput() RouteServerEndpointOutput

func (RouteServerEndpointOutput) ToRouteServerEndpointOutputWithContext

func (o RouteServerEndpointOutput) ToRouteServerEndpointOutputWithContext(ctx context.Context) RouteServerEndpointOutput

func (RouteServerEndpointOutput) VpcId

The ID of the VPC containing the endpoint.

type RouteServerEndpointState

type RouteServerEndpointState struct {
	// The ARN of the route server endpoint.
	Arn pulumi.StringPtrInput
	// The IP address of the Elastic network interface for the endpoint.
	EniAddress pulumi.StringPtrInput
	// The ID of the Elastic network interface for the endpoint.
	EniId pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The unique identifier of the route server endpoint.
	RouteServerEndpointId pulumi.StringPtrInput
	// The ID of the route server for which to create an endpoint.
	RouteServerId pulumi.StringPtrInput
	// The ID of the subnet in which to create the route server endpoint.
	//
	// The following arguments are optional:
	SubnetId pulumi.StringPtrInput
	// A map 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
	Timeouts RouteServerEndpointTimeoutsPtrInput
	// The ID of the VPC containing the endpoint.
	VpcId pulumi.StringPtrInput
}

func (RouteServerEndpointState) ElementType

func (RouteServerEndpointState) ElementType() reflect.Type

type RouteServerEndpointTimeouts

type RouteServerEndpointTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
}

type RouteServerEndpointTimeoutsArgs

type RouteServerEndpointTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
}

func (RouteServerEndpointTimeoutsArgs) ElementType

func (RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsOutput

func (i RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsOutput() RouteServerEndpointTimeoutsOutput

func (RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsOutputWithContext

func (i RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsOutputWithContext(ctx context.Context) RouteServerEndpointTimeoutsOutput

func (RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsPtrOutput

func (i RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsPtrOutput() RouteServerEndpointTimeoutsPtrOutput

func (RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsPtrOutputWithContext

func (i RouteServerEndpointTimeoutsArgs) ToRouteServerEndpointTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerEndpointTimeoutsPtrOutput

type RouteServerEndpointTimeoutsInput

type RouteServerEndpointTimeoutsInput interface {
	pulumi.Input

	ToRouteServerEndpointTimeoutsOutput() RouteServerEndpointTimeoutsOutput
	ToRouteServerEndpointTimeoutsOutputWithContext(context.Context) RouteServerEndpointTimeoutsOutput
}

RouteServerEndpointTimeoutsInput is an input type that accepts RouteServerEndpointTimeoutsArgs and RouteServerEndpointTimeoutsOutput values. You can construct a concrete instance of `RouteServerEndpointTimeoutsInput` via:

RouteServerEndpointTimeoutsArgs{...}

type RouteServerEndpointTimeoutsOutput

type RouteServerEndpointTimeoutsOutput struct{ *pulumi.OutputState }

func (RouteServerEndpointTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerEndpointTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerEndpointTimeoutsOutput) ElementType

func (RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsOutput

func (o RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsOutput() RouteServerEndpointTimeoutsOutput

func (RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsOutputWithContext

func (o RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsOutputWithContext(ctx context.Context) RouteServerEndpointTimeoutsOutput

func (RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsPtrOutput

func (o RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsPtrOutput() RouteServerEndpointTimeoutsPtrOutput

func (RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsPtrOutputWithContext

func (o RouteServerEndpointTimeoutsOutput) ToRouteServerEndpointTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerEndpointTimeoutsPtrOutput

type RouteServerEndpointTimeoutsPtrInput

type RouteServerEndpointTimeoutsPtrInput interface {
	pulumi.Input

	ToRouteServerEndpointTimeoutsPtrOutput() RouteServerEndpointTimeoutsPtrOutput
	ToRouteServerEndpointTimeoutsPtrOutputWithContext(context.Context) RouteServerEndpointTimeoutsPtrOutput
}

RouteServerEndpointTimeoutsPtrInput is an input type that accepts RouteServerEndpointTimeoutsArgs, RouteServerEndpointTimeoutsPtr and RouteServerEndpointTimeoutsPtrOutput values. You can construct a concrete instance of `RouteServerEndpointTimeoutsPtrInput` via:

        RouteServerEndpointTimeoutsArgs{...}

or:

        nil

type RouteServerEndpointTimeoutsPtrOutput

type RouteServerEndpointTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (RouteServerEndpointTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerEndpointTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerEndpointTimeoutsPtrOutput) Elem

func (RouteServerEndpointTimeoutsPtrOutput) ElementType

func (RouteServerEndpointTimeoutsPtrOutput) ToRouteServerEndpointTimeoutsPtrOutput

func (o RouteServerEndpointTimeoutsPtrOutput) ToRouteServerEndpointTimeoutsPtrOutput() RouteServerEndpointTimeoutsPtrOutput

func (RouteServerEndpointTimeoutsPtrOutput) ToRouteServerEndpointTimeoutsPtrOutputWithContext

func (o RouteServerEndpointTimeoutsPtrOutput) ToRouteServerEndpointTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerEndpointTimeoutsPtrOutput

type RouteServerInput

type RouteServerInput interface {
	pulumi.Input

	ToRouteServerOutput() RouteServerOutput
	ToRouteServerOutputWithContext(ctx context.Context) RouteServerOutput
}

type RouteServerMap

type RouteServerMap map[string]RouteServerInput

func (RouteServerMap) ElementType

func (RouteServerMap) ElementType() reflect.Type

func (RouteServerMap) ToRouteServerMapOutput

func (i RouteServerMap) ToRouteServerMapOutput() RouteServerMapOutput

func (RouteServerMap) ToRouteServerMapOutputWithContext

func (i RouteServerMap) ToRouteServerMapOutputWithContext(ctx context.Context) RouteServerMapOutput

type RouteServerMapInput

type RouteServerMapInput interface {
	pulumi.Input

	ToRouteServerMapOutput() RouteServerMapOutput
	ToRouteServerMapOutputWithContext(context.Context) RouteServerMapOutput
}

RouteServerMapInput is an input type that accepts RouteServerMap and RouteServerMapOutput values. You can construct a concrete instance of `RouteServerMapInput` via:

RouteServerMap{ "key": RouteServerArgs{...} }

type RouteServerMapOutput

type RouteServerMapOutput struct{ *pulumi.OutputState }

func (RouteServerMapOutput) ElementType

func (RouteServerMapOutput) ElementType() reflect.Type

func (RouteServerMapOutput) MapIndex

func (RouteServerMapOutput) ToRouteServerMapOutput

func (o RouteServerMapOutput) ToRouteServerMapOutput() RouteServerMapOutput

func (RouteServerMapOutput) ToRouteServerMapOutputWithContext

func (o RouteServerMapOutput) ToRouteServerMapOutputWithContext(ctx context.Context) RouteServerMapOutput

type RouteServerOutput

type RouteServerOutput struct{ *pulumi.OutputState }

func (RouteServerOutput) AmazonSideAsn

func (o RouteServerOutput) AmazonSideAsn() pulumi.IntOutput

The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.

The following arguments are optional:

func (RouteServerOutput) Arn

The ARN of the route server.

func (RouteServerOutput) ElementType

func (RouteServerOutput) ElementType() reflect.Type

func (RouteServerOutput) PersistRoutes

func (o RouteServerOutput) PersistRoutes() pulumi.StringOutput

Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are `enable`, `disable`, `reset`

func (RouteServerOutput) PersistRoutesDuration

func (o RouteServerOutput) PersistRoutesDuration() pulumi.IntPtrOutput

The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if `persistRoutes` is enabled.

func (RouteServerOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (RouteServerOutput) RouteServerId

func (o RouteServerOutput) RouteServerId() pulumi.StringOutput

The unique identifier of the route server.

func (RouteServerOutput) SnsNotificationsEnabled

func (o RouteServerOutput) SnsNotificationsEnabled() pulumi.BoolOutput

Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.

func (RouteServerOutput) SnsTopicArn

func (o RouteServerOutput) SnsTopicArn() pulumi.StringOutput

The ARN of the SNS topic where notifications are published.

func (RouteServerOutput) Tags

A map 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 (RouteServerOutput) TagsAll

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

func (RouteServerOutput) Timeouts

func (RouteServerOutput) ToRouteServerOutput

func (o RouteServerOutput) ToRouteServerOutput() RouteServerOutput

func (RouteServerOutput) ToRouteServerOutputWithContext

func (o RouteServerOutput) ToRouteServerOutputWithContext(ctx context.Context) RouteServerOutput

type RouteServerPeer

type RouteServerPeer struct {
	pulumi.CustomResourceState

	// The ARN of the route server peer.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. Configuration block with BGP Options configuration Detailed below
	BgpOptions RouteServerPeerBgpOptionsPtrOutput `pulumi:"bgpOptions"`
	// The IP address of the Elastic network interface for the route server endpoint.
	EndpointEniAddress pulumi.StringOutput `pulumi:"endpointEniAddress"`
	// The ID of the Elastic network interface for the route server endpoint.
	EndpointEniId pulumi.StringOutput `pulumi:"endpointEniId"`
	// The IPv4 address of the peer device.
	PeerAddress pulumi.StringOutput `pulumi:"peerAddress"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The ID of the route server endpoint for which to create a peer.
	//
	// The following arguments are optional:
	RouteServerEndpointId pulumi.StringOutput `pulumi:"routeServerEndpointId"`
	// The ID of the route server associated with this peer.
	RouteServerId pulumi.StringOutput `pulumi:"routeServerId"`
	// The unique identifier of the route server peer.
	RouteServerPeerId pulumi.StringOutput `pulumi:"routeServerPeerId"`
	// The ID of the subnet containing the route server peer.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A map 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"`
	Timeouts RouteServerPeerTimeoutsPtrOutput `pulumi:"timeouts"`
	// The ID of the VPC containing the route server peer.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource for managing a VPC (Virtual Private Cloud) Route Server Peer.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewRouteServerPeer(ctx, "test", &vpc.RouteServerPeerArgs{
			RouteServerEndpointId: pulumi.Any(example.RouteServerEndpointId),
			PeerAddress:           pulumi.String("10.0.1.250"),
			BgpOptions: &vpc.RouteServerPeerBgpOptionsArgs{
				PeerAsn: pulumi.Int(65200),
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Appliance 1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Complete Configuration

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := vpc.NewRouteServer(ctx, "test", &vpc.RouteServerArgs{
			AmazonSideAsn: pulumi.Int(4294967294),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		testVpcRouteServerAssociation, err := aws.NewVpcRouteServerAssociation(ctx, "test", &aws.VpcRouteServerAssociationArgs{
			RouteServerId: test.RouteServerId,
			VpcId:         testAwsVpc.Id,
		})
		if err != nil {
			return err
		}
		testRouteServerEndpoint, err := vpc.NewRouteServerEndpoint(ctx, "test", &vpc.RouteServerEndpointArgs{
			RouteServerId: test.RouteServerId,
			SubnetId:      pulumi.Any(testAwsSubnet.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Test Endpoint"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			testVpcRouteServerAssociation,
		}))
		if err != nil {
			return err
		}
		_, err = vpc.NewRouteServerPropagation(ctx, "test", &vpc.RouteServerPropagationArgs{
			RouteServerId: test.RouteServerId,
			RouteTableId:  pulumi.Any(testAwsRouteTable.Id),
		}, pulumi.DependsOn([]pulumi.Resource{
			testVpcRouteServerAssociation,
		}))
		if err != nil {
			return err
		}
		_, err = vpc.NewRouteServerPeer(ctx, "test", &vpc.RouteServerPeerArgs{
			RouteServerEndpointId: testRouteServerEndpoint.RouteServerEndpointId,
			PeerAddress:           pulumi.String("10.0.1.250"),
			BgpOptions: &vpc.RouteServerPeerBgpOptionsArgs{
				PeerAsn:               pulumi.Int(65000),
				PeerLivenessDetection: pulumi.String("bgp-keepalive"),
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Test Appliance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server using the `route_server_peer_id`. For example:

```sh $ pulumi import aws:vpc/routeServerPeer:RouteServerPeer example rsp-12345678 ```

func GetRouteServerPeer

func GetRouteServerPeer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteServerPeerState, opts ...pulumi.ResourceOption) (*RouteServerPeer, error)

GetRouteServerPeer gets an existing RouteServerPeer 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 NewRouteServerPeer

func NewRouteServerPeer(ctx *pulumi.Context,
	name string, args *RouteServerPeerArgs, opts ...pulumi.ResourceOption) (*RouteServerPeer, error)

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

func (*RouteServerPeer) ElementType

func (*RouteServerPeer) ElementType() reflect.Type

func (*RouteServerPeer) ToRouteServerPeerOutput

func (i *RouteServerPeer) ToRouteServerPeerOutput() RouteServerPeerOutput

func (*RouteServerPeer) ToRouteServerPeerOutputWithContext

func (i *RouteServerPeer) ToRouteServerPeerOutputWithContext(ctx context.Context) RouteServerPeerOutput

type RouteServerPeerArgs

type RouteServerPeerArgs struct {
	// The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. Configuration block with BGP Options configuration Detailed below
	BgpOptions RouteServerPeerBgpOptionsPtrInput
	// The IPv4 address of the peer device.
	PeerAddress pulumi.StringInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the route server endpoint for which to create a peer.
	//
	// The following arguments are optional:
	RouteServerEndpointId pulumi.StringInput
	// A map 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
	Timeouts RouteServerPeerTimeoutsPtrInput
}

The set of arguments for constructing a RouteServerPeer resource.

func (RouteServerPeerArgs) ElementType

func (RouteServerPeerArgs) ElementType() reflect.Type

type RouteServerPeerArray

type RouteServerPeerArray []RouteServerPeerInput

func (RouteServerPeerArray) ElementType

func (RouteServerPeerArray) ElementType() reflect.Type

func (RouteServerPeerArray) ToRouteServerPeerArrayOutput

func (i RouteServerPeerArray) ToRouteServerPeerArrayOutput() RouteServerPeerArrayOutput

func (RouteServerPeerArray) ToRouteServerPeerArrayOutputWithContext

func (i RouteServerPeerArray) ToRouteServerPeerArrayOutputWithContext(ctx context.Context) RouteServerPeerArrayOutput

type RouteServerPeerArrayInput

type RouteServerPeerArrayInput interface {
	pulumi.Input

	ToRouteServerPeerArrayOutput() RouteServerPeerArrayOutput
	ToRouteServerPeerArrayOutputWithContext(context.Context) RouteServerPeerArrayOutput
}

RouteServerPeerArrayInput is an input type that accepts RouteServerPeerArray and RouteServerPeerArrayOutput values. You can construct a concrete instance of `RouteServerPeerArrayInput` via:

RouteServerPeerArray{ RouteServerPeerArgs{...} }

type RouteServerPeerArrayOutput

type RouteServerPeerArrayOutput struct{ *pulumi.OutputState }

func (RouteServerPeerArrayOutput) ElementType

func (RouteServerPeerArrayOutput) ElementType() reflect.Type

func (RouteServerPeerArrayOutput) Index

func (RouteServerPeerArrayOutput) ToRouteServerPeerArrayOutput

func (o RouteServerPeerArrayOutput) ToRouteServerPeerArrayOutput() RouteServerPeerArrayOutput

func (RouteServerPeerArrayOutput) ToRouteServerPeerArrayOutputWithContext

func (o RouteServerPeerArrayOutput) ToRouteServerPeerArrayOutputWithContext(ctx context.Context) RouteServerPeerArrayOutput

type RouteServerPeerBgpOptions

type RouteServerPeerBgpOptions struct {
	// The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.
	PeerAsn int `pulumi:"peerAsn"`
	// The requested liveness detection protocol for the BGP peer. Valid values are `bgp-keepalive` and `bfd`. Default value is `bgp-keepalive`.
	PeerLivenessDetection *string `pulumi:"peerLivenessDetection"`
}

type RouteServerPeerBgpOptionsArgs

type RouteServerPeerBgpOptionsArgs struct {
	// The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.
	PeerAsn pulumi.IntInput `pulumi:"peerAsn"`
	// The requested liveness detection protocol for the BGP peer. Valid values are `bgp-keepalive` and `bfd`. Default value is `bgp-keepalive`.
	PeerLivenessDetection pulumi.StringPtrInput `pulumi:"peerLivenessDetection"`
}

func (RouteServerPeerBgpOptionsArgs) ElementType

func (RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsOutput

func (i RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsOutput() RouteServerPeerBgpOptionsOutput

func (RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsOutputWithContext

func (i RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsOutputWithContext(ctx context.Context) RouteServerPeerBgpOptionsOutput

func (RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsPtrOutput

func (i RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsPtrOutput() RouteServerPeerBgpOptionsPtrOutput

func (RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsPtrOutputWithContext

func (i RouteServerPeerBgpOptionsArgs) ToRouteServerPeerBgpOptionsPtrOutputWithContext(ctx context.Context) RouteServerPeerBgpOptionsPtrOutput

type RouteServerPeerBgpOptionsInput

type RouteServerPeerBgpOptionsInput interface {
	pulumi.Input

	ToRouteServerPeerBgpOptionsOutput() RouteServerPeerBgpOptionsOutput
	ToRouteServerPeerBgpOptionsOutputWithContext(context.Context) RouteServerPeerBgpOptionsOutput
}

RouteServerPeerBgpOptionsInput is an input type that accepts RouteServerPeerBgpOptionsArgs and RouteServerPeerBgpOptionsOutput values. You can construct a concrete instance of `RouteServerPeerBgpOptionsInput` via:

RouteServerPeerBgpOptionsArgs{...}

type RouteServerPeerBgpOptionsOutput

type RouteServerPeerBgpOptionsOutput struct{ *pulumi.OutputState }

func (RouteServerPeerBgpOptionsOutput) ElementType

func (RouteServerPeerBgpOptionsOutput) PeerAsn

The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.

func (RouteServerPeerBgpOptionsOutput) PeerLivenessDetection

func (o RouteServerPeerBgpOptionsOutput) PeerLivenessDetection() pulumi.StringPtrOutput

The requested liveness detection protocol for the BGP peer. Valid values are `bgp-keepalive` and `bfd`. Default value is `bgp-keepalive`.

func (RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsOutput

func (o RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsOutput() RouteServerPeerBgpOptionsOutput

func (RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsOutputWithContext

func (o RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsOutputWithContext(ctx context.Context) RouteServerPeerBgpOptionsOutput

func (RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsPtrOutput

func (o RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsPtrOutput() RouteServerPeerBgpOptionsPtrOutput

func (RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsPtrOutputWithContext

func (o RouteServerPeerBgpOptionsOutput) ToRouteServerPeerBgpOptionsPtrOutputWithContext(ctx context.Context) RouteServerPeerBgpOptionsPtrOutput

type RouteServerPeerBgpOptionsPtrInput

type RouteServerPeerBgpOptionsPtrInput interface {
	pulumi.Input

	ToRouteServerPeerBgpOptionsPtrOutput() RouteServerPeerBgpOptionsPtrOutput
	ToRouteServerPeerBgpOptionsPtrOutputWithContext(context.Context) RouteServerPeerBgpOptionsPtrOutput
}

RouteServerPeerBgpOptionsPtrInput is an input type that accepts RouteServerPeerBgpOptionsArgs, RouteServerPeerBgpOptionsPtr and RouteServerPeerBgpOptionsPtrOutput values. You can construct a concrete instance of `RouteServerPeerBgpOptionsPtrInput` via:

        RouteServerPeerBgpOptionsArgs{...}

or:

        nil

type RouteServerPeerBgpOptionsPtrOutput

type RouteServerPeerBgpOptionsPtrOutput struct{ *pulumi.OutputState }

func (RouteServerPeerBgpOptionsPtrOutput) Elem

func (RouteServerPeerBgpOptionsPtrOutput) ElementType

func (RouteServerPeerBgpOptionsPtrOutput) PeerAsn

The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.

func (RouteServerPeerBgpOptionsPtrOutput) PeerLivenessDetection

func (o RouteServerPeerBgpOptionsPtrOutput) PeerLivenessDetection() pulumi.StringPtrOutput

The requested liveness detection protocol for the BGP peer. Valid values are `bgp-keepalive` and `bfd`. Default value is `bgp-keepalive`.

func (RouteServerPeerBgpOptionsPtrOutput) ToRouteServerPeerBgpOptionsPtrOutput

func (o RouteServerPeerBgpOptionsPtrOutput) ToRouteServerPeerBgpOptionsPtrOutput() RouteServerPeerBgpOptionsPtrOutput

func (RouteServerPeerBgpOptionsPtrOutput) ToRouteServerPeerBgpOptionsPtrOutputWithContext

func (o RouteServerPeerBgpOptionsPtrOutput) ToRouteServerPeerBgpOptionsPtrOutputWithContext(ctx context.Context) RouteServerPeerBgpOptionsPtrOutput

type RouteServerPeerInput

type RouteServerPeerInput interface {
	pulumi.Input

	ToRouteServerPeerOutput() RouteServerPeerOutput
	ToRouteServerPeerOutputWithContext(ctx context.Context) RouteServerPeerOutput
}

type RouteServerPeerMap

type RouteServerPeerMap map[string]RouteServerPeerInput

func (RouteServerPeerMap) ElementType

func (RouteServerPeerMap) ElementType() reflect.Type

func (RouteServerPeerMap) ToRouteServerPeerMapOutput

func (i RouteServerPeerMap) ToRouteServerPeerMapOutput() RouteServerPeerMapOutput

func (RouteServerPeerMap) ToRouteServerPeerMapOutputWithContext

func (i RouteServerPeerMap) ToRouteServerPeerMapOutputWithContext(ctx context.Context) RouteServerPeerMapOutput

type RouteServerPeerMapInput

type RouteServerPeerMapInput interface {
	pulumi.Input

	ToRouteServerPeerMapOutput() RouteServerPeerMapOutput
	ToRouteServerPeerMapOutputWithContext(context.Context) RouteServerPeerMapOutput
}

RouteServerPeerMapInput is an input type that accepts RouteServerPeerMap and RouteServerPeerMapOutput values. You can construct a concrete instance of `RouteServerPeerMapInput` via:

RouteServerPeerMap{ "key": RouteServerPeerArgs{...} }

type RouteServerPeerMapOutput

type RouteServerPeerMapOutput struct{ *pulumi.OutputState }

func (RouteServerPeerMapOutput) ElementType

func (RouteServerPeerMapOutput) ElementType() reflect.Type

func (RouteServerPeerMapOutput) MapIndex

func (RouteServerPeerMapOutput) ToRouteServerPeerMapOutput

func (o RouteServerPeerMapOutput) ToRouteServerPeerMapOutput() RouteServerPeerMapOutput

func (RouteServerPeerMapOutput) ToRouteServerPeerMapOutputWithContext

func (o RouteServerPeerMapOutput) ToRouteServerPeerMapOutputWithContext(ctx context.Context) RouteServerPeerMapOutput

type RouteServerPeerOutput

type RouteServerPeerOutput struct{ *pulumi.OutputState }

func (RouteServerPeerOutput) Arn

The ARN of the route server peer.

func (RouteServerPeerOutput) BgpOptions

The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. Configuration block with BGP Options configuration Detailed below

func (RouteServerPeerOutput) ElementType

func (RouteServerPeerOutput) ElementType() reflect.Type

func (RouteServerPeerOutput) EndpointEniAddress

func (o RouteServerPeerOutput) EndpointEniAddress() pulumi.StringOutput

The IP address of the Elastic network interface for the route server endpoint.

func (RouteServerPeerOutput) EndpointEniId

func (o RouteServerPeerOutput) EndpointEniId() pulumi.StringOutput

The ID of the Elastic network interface for the route server endpoint.

func (RouteServerPeerOutput) PeerAddress

func (o RouteServerPeerOutput) PeerAddress() pulumi.StringOutput

The IPv4 address of the peer device.

func (RouteServerPeerOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (RouteServerPeerOutput) RouteServerEndpointId

func (o RouteServerPeerOutput) RouteServerEndpointId() pulumi.StringOutput

The ID of the route server endpoint for which to create a peer.

The following arguments are optional:

func (RouteServerPeerOutput) RouteServerId

func (o RouteServerPeerOutput) RouteServerId() pulumi.StringOutput

The ID of the route server associated with this peer.

func (RouteServerPeerOutput) RouteServerPeerId

func (o RouteServerPeerOutput) RouteServerPeerId() pulumi.StringOutput

The unique identifier of the route server peer.

func (RouteServerPeerOutput) SubnetId

The ID of the subnet containing the route server peer.

func (RouteServerPeerOutput) Tags

A map 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 (RouteServerPeerOutput) TagsAll

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

func (RouteServerPeerOutput) Timeouts

func (RouteServerPeerOutput) ToRouteServerPeerOutput

func (o RouteServerPeerOutput) ToRouteServerPeerOutput() RouteServerPeerOutput

func (RouteServerPeerOutput) ToRouteServerPeerOutputWithContext

func (o RouteServerPeerOutput) ToRouteServerPeerOutputWithContext(ctx context.Context) RouteServerPeerOutput

func (RouteServerPeerOutput) VpcId

The ID of the VPC containing the route server peer.

type RouteServerPeerState

type RouteServerPeerState struct {
	// The ARN of the route server peer.
	Arn pulumi.StringPtrInput
	// The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. Configuration block with BGP Options configuration Detailed below
	BgpOptions RouteServerPeerBgpOptionsPtrInput
	// The IP address of the Elastic network interface for the route server endpoint.
	EndpointEniAddress pulumi.StringPtrInput
	// The ID of the Elastic network interface for the route server endpoint.
	EndpointEniId pulumi.StringPtrInput
	// The IPv4 address of the peer device.
	PeerAddress pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the route server endpoint for which to create a peer.
	//
	// The following arguments are optional:
	RouteServerEndpointId pulumi.StringPtrInput
	// The ID of the route server associated with this peer.
	RouteServerId pulumi.StringPtrInput
	// The unique identifier of the route server peer.
	RouteServerPeerId pulumi.StringPtrInput
	// The ID of the subnet containing the route server peer.
	SubnetId pulumi.StringPtrInput
	// A map 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
	Timeouts RouteServerPeerTimeoutsPtrInput
	// The ID of the VPC containing the route server peer.
	VpcId pulumi.StringPtrInput
}

func (RouteServerPeerState) ElementType

func (RouteServerPeerState) ElementType() reflect.Type

type RouteServerPeerTimeouts

type RouteServerPeerTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
}

type RouteServerPeerTimeoutsArgs

type RouteServerPeerTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
}

func (RouteServerPeerTimeoutsArgs) ElementType

func (RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsOutput

func (i RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsOutput() RouteServerPeerTimeoutsOutput

func (RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsOutputWithContext

func (i RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsOutputWithContext(ctx context.Context) RouteServerPeerTimeoutsOutput

func (RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsPtrOutput

func (i RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsPtrOutput() RouteServerPeerTimeoutsPtrOutput

func (RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsPtrOutputWithContext

func (i RouteServerPeerTimeoutsArgs) ToRouteServerPeerTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerPeerTimeoutsPtrOutput

type RouteServerPeerTimeoutsInput

type RouteServerPeerTimeoutsInput interface {
	pulumi.Input

	ToRouteServerPeerTimeoutsOutput() RouteServerPeerTimeoutsOutput
	ToRouteServerPeerTimeoutsOutputWithContext(context.Context) RouteServerPeerTimeoutsOutput
}

RouteServerPeerTimeoutsInput is an input type that accepts RouteServerPeerTimeoutsArgs and RouteServerPeerTimeoutsOutput values. You can construct a concrete instance of `RouteServerPeerTimeoutsInput` via:

RouteServerPeerTimeoutsArgs{...}

type RouteServerPeerTimeoutsOutput

type RouteServerPeerTimeoutsOutput struct{ *pulumi.OutputState }

func (RouteServerPeerTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerPeerTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerPeerTimeoutsOutput) ElementType

func (RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsOutput

func (o RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsOutput() RouteServerPeerTimeoutsOutput

func (RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsOutputWithContext

func (o RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsOutputWithContext(ctx context.Context) RouteServerPeerTimeoutsOutput

func (RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsPtrOutput

func (o RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsPtrOutput() RouteServerPeerTimeoutsPtrOutput

func (RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsPtrOutputWithContext

func (o RouteServerPeerTimeoutsOutput) ToRouteServerPeerTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerPeerTimeoutsPtrOutput

type RouteServerPeerTimeoutsPtrInput

type RouteServerPeerTimeoutsPtrInput interface {
	pulumi.Input

	ToRouteServerPeerTimeoutsPtrOutput() RouteServerPeerTimeoutsPtrOutput
	ToRouteServerPeerTimeoutsPtrOutputWithContext(context.Context) RouteServerPeerTimeoutsPtrOutput
}

RouteServerPeerTimeoutsPtrInput is an input type that accepts RouteServerPeerTimeoutsArgs, RouteServerPeerTimeoutsPtr and RouteServerPeerTimeoutsPtrOutput values. You can construct a concrete instance of `RouteServerPeerTimeoutsPtrInput` via:

        RouteServerPeerTimeoutsArgs{...}

or:

        nil

type RouteServerPeerTimeoutsPtrOutput

type RouteServerPeerTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (RouteServerPeerTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerPeerTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerPeerTimeoutsPtrOutput) Elem

func (RouteServerPeerTimeoutsPtrOutput) ElementType

func (RouteServerPeerTimeoutsPtrOutput) ToRouteServerPeerTimeoutsPtrOutput

func (o RouteServerPeerTimeoutsPtrOutput) ToRouteServerPeerTimeoutsPtrOutput() RouteServerPeerTimeoutsPtrOutput

func (RouteServerPeerTimeoutsPtrOutput) ToRouteServerPeerTimeoutsPtrOutputWithContext

func (o RouteServerPeerTimeoutsPtrOutput) ToRouteServerPeerTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerPeerTimeoutsPtrOutput

type RouteServerPropagation

type RouteServerPropagation struct {
	pulumi.CustomResourceState

	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The unique identifier for the route server to be associated.
	RouteServerId pulumi.StringOutput `pulumi:"routeServerId"`
	// The ID of the route table to which route server will propagate routes.
	//
	// The following arguments are optional:
	RouteTableId pulumi.StringOutput                     `pulumi:"routeTableId"`
	Timeouts     RouteServerPropagationTimeoutsPtrOutput `pulumi:"timeouts"`
}

Provides a resource for managing propagation between VPC (Virtual Private Cloud) route server and a route table.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewRouteServerPropagation(ctx, "example", &vpc.RouteServerPropagationArgs{
			RouteServerId: pulumi.Any(exampleAwsVpcRouteServer.RouteServerId),
			RouteTableId:  pulumi.Any(exampleAwsRouteTable.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, to to import VPC (Virtual Private Cloud) Route Server Propagation using the associated resource ID and route table ID separated by a comma (,). For example:

```sh $ pulumi import aws:vpc/routeServerPropagation:RouteServerPropagation example rs-12345678,rtb-656c65616e6f72 ```

func GetRouteServerPropagation

func GetRouteServerPropagation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteServerPropagationState, opts ...pulumi.ResourceOption) (*RouteServerPropagation, error)

GetRouteServerPropagation gets an existing RouteServerPropagation 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 NewRouteServerPropagation

func NewRouteServerPropagation(ctx *pulumi.Context,
	name string, args *RouteServerPropagationArgs, opts ...pulumi.ResourceOption) (*RouteServerPropagation, error)

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

func (*RouteServerPropagation) ElementType

func (*RouteServerPropagation) ElementType() reflect.Type

func (*RouteServerPropagation) ToRouteServerPropagationOutput

func (i *RouteServerPropagation) ToRouteServerPropagationOutput() RouteServerPropagationOutput

func (*RouteServerPropagation) ToRouteServerPropagationOutputWithContext

func (i *RouteServerPropagation) ToRouteServerPropagationOutputWithContext(ctx context.Context) RouteServerPropagationOutput

type RouteServerPropagationArgs

type RouteServerPropagationArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The unique identifier for the route server to be associated.
	RouteServerId pulumi.StringInput
	// The ID of the route table to which route server will propagate routes.
	//
	// The following arguments are optional:
	RouteTableId pulumi.StringInput
	Timeouts     RouteServerPropagationTimeoutsPtrInput
}

The set of arguments for constructing a RouteServerPropagation resource.

func (RouteServerPropagationArgs) ElementType

func (RouteServerPropagationArgs) ElementType() reflect.Type

type RouteServerPropagationArray

type RouteServerPropagationArray []RouteServerPropagationInput

func (RouteServerPropagationArray) ElementType

func (RouteServerPropagationArray) ToRouteServerPropagationArrayOutput

func (i RouteServerPropagationArray) ToRouteServerPropagationArrayOutput() RouteServerPropagationArrayOutput

func (RouteServerPropagationArray) ToRouteServerPropagationArrayOutputWithContext

func (i RouteServerPropagationArray) ToRouteServerPropagationArrayOutputWithContext(ctx context.Context) RouteServerPropagationArrayOutput

type RouteServerPropagationArrayInput

type RouteServerPropagationArrayInput interface {
	pulumi.Input

	ToRouteServerPropagationArrayOutput() RouteServerPropagationArrayOutput
	ToRouteServerPropagationArrayOutputWithContext(context.Context) RouteServerPropagationArrayOutput
}

RouteServerPropagationArrayInput is an input type that accepts RouteServerPropagationArray and RouteServerPropagationArrayOutput values. You can construct a concrete instance of `RouteServerPropagationArrayInput` via:

RouteServerPropagationArray{ RouteServerPropagationArgs{...} }

type RouteServerPropagationArrayOutput

type RouteServerPropagationArrayOutput struct{ *pulumi.OutputState }

func (RouteServerPropagationArrayOutput) ElementType

func (RouteServerPropagationArrayOutput) Index

func (RouteServerPropagationArrayOutput) ToRouteServerPropagationArrayOutput

func (o RouteServerPropagationArrayOutput) ToRouteServerPropagationArrayOutput() RouteServerPropagationArrayOutput

func (RouteServerPropagationArrayOutput) ToRouteServerPropagationArrayOutputWithContext

func (o RouteServerPropagationArrayOutput) ToRouteServerPropagationArrayOutputWithContext(ctx context.Context) RouteServerPropagationArrayOutput

type RouteServerPropagationInput

type RouteServerPropagationInput interface {
	pulumi.Input

	ToRouteServerPropagationOutput() RouteServerPropagationOutput
	ToRouteServerPropagationOutputWithContext(ctx context.Context) RouteServerPropagationOutput
}

type RouteServerPropagationMap

type RouteServerPropagationMap map[string]RouteServerPropagationInput

func (RouteServerPropagationMap) ElementType

func (RouteServerPropagationMap) ElementType() reflect.Type

func (RouteServerPropagationMap) ToRouteServerPropagationMapOutput

func (i RouteServerPropagationMap) ToRouteServerPropagationMapOutput() RouteServerPropagationMapOutput

func (RouteServerPropagationMap) ToRouteServerPropagationMapOutputWithContext

func (i RouteServerPropagationMap) ToRouteServerPropagationMapOutputWithContext(ctx context.Context) RouteServerPropagationMapOutput

type RouteServerPropagationMapInput

type RouteServerPropagationMapInput interface {
	pulumi.Input

	ToRouteServerPropagationMapOutput() RouteServerPropagationMapOutput
	ToRouteServerPropagationMapOutputWithContext(context.Context) RouteServerPropagationMapOutput
}

RouteServerPropagationMapInput is an input type that accepts RouteServerPropagationMap and RouteServerPropagationMapOutput values. You can construct a concrete instance of `RouteServerPropagationMapInput` via:

RouteServerPropagationMap{ "key": RouteServerPropagationArgs{...} }

type RouteServerPropagationMapOutput

type RouteServerPropagationMapOutput struct{ *pulumi.OutputState }

func (RouteServerPropagationMapOutput) ElementType

func (RouteServerPropagationMapOutput) MapIndex

func (RouteServerPropagationMapOutput) ToRouteServerPropagationMapOutput

func (o RouteServerPropagationMapOutput) ToRouteServerPropagationMapOutput() RouteServerPropagationMapOutput

func (RouteServerPropagationMapOutput) ToRouteServerPropagationMapOutputWithContext

func (o RouteServerPropagationMapOutput) ToRouteServerPropagationMapOutputWithContext(ctx context.Context) RouteServerPropagationMapOutput

type RouteServerPropagationOutput

type RouteServerPropagationOutput struct{ *pulumi.OutputState }

func (RouteServerPropagationOutput) ElementType

func (RouteServerPropagationOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (RouteServerPropagationOutput) RouteServerId

The unique identifier for the route server to be associated.

func (RouteServerPropagationOutput) RouteTableId

The ID of the route table to which route server will propagate routes.

The following arguments are optional:

func (RouteServerPropagationOutput) Timeouts

func (RouteServerPropagationOutput) ToRouteServerPropagationOutput

func (o RouteServerPropagationOutput) ToRouteServerPropagationOutput() RouteServerPropagationOutput

func (RouteServerPropagationOutput) ToRouteServerPropagationOutputWithContext

func (o RouteServerPropagationOutput) ToRouteServerPropagationOutputWithContext(ctx context.Context) RouteServerPropagationOutput

type RouteServerPropagationState

type RouteServerPropagationState struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The unique identifier for the route server to be associated.
	RouteServerId pulumi.StringPtrInput
	// The ID of the route table to which route server will propagate routes.
	//
	// The following arguments are optional:
	RouteTableId pulumi.StringPtrInput
	Timeouts     RouteServerPropagationTimeoutsPtrInput
}

func (RouteServerPropagationState) ElementType

type RouteServerPropagationTimeouts

type RouteServerPropagationTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
}

type RouteServerPropagationTimeoutsArgs

type RouteServerPropagationTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
}

func (RouteServerPropagationTimeoutsArgs) ElementType

func (RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsOutput

func (i RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsOutput() RouteServerPropagationTimeoutsOutput

func (RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsOutputWithContext

func (i RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsOutputWithContext(ctx context.Context) RouteServerPropagationTimeoutsOutput

func (RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsPtrOutput

func (i RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsPtrOutput() RouteServerPropagationTimeoutsPtrOutput

func (RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsPtrOutputWithContext

func (i RouteServerPropagationTimeoutsArgs) ToRouteServerPropagationTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerPropagationTimeoutsPtrOutput

type RouteServerPropagationTimeoutsInput

type RouteServerPropagationTimeoutsInput interface {
	pulumi.Input

	ToRouteServerPropagationTimeoutsOutput() RouteServerPropagationTimeoutsOutput
	ToRouteServerPropagationTimeoutsOutputWithContext(context.Context) RouteServerPropagationTimeoutsOutput
}

RouteServerPropagationTimeoutsInput is an input type that accepts RouteServerPropagationTimeoutsArgs and RouteServerPropagationTimeoutsOutput values. You can construct a concrete instance of `RouteServerPropagationTimeoutsInput` via:

RouteServerPropagationTimeoutsArgs{...}

type RouteServerPropagationTimeoutsOutput

type RouteServerPropagationTimeoutsOutput struct{ *pulumi.OutputState }

func (RouteServerPropagationTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerPropagationTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerPropagationTimeoutsOutput) ElementType

func (RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsOutput

func (o RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsOutput() RouteServerPropagationTimeoutsOutput

func (RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsOutputWithContext

func (o RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsOutputWithContext(ctx context.Context) RouteServerPropagationTimeoutsOutput

func (RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsPtrOutput

func (o RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsPtrOutput() RouteServerPropagationTimeoutsPtrOutput

func (RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsPtrOutputWithContext

func (o RouteServerPropagationTimeoutsOutput) ToRouteServerPropagationTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerPropagationTimeoutsPtrOutput

type RouteServerPropagationTimeoutsPtrInput

type RouteServerPropagationTimeoutsPtrInput interface {
	pulumi.Input

	ToRouteServerPropagationTimeoutsPtrOutput() RouteServerPropagationTimeoutsPtrOutput
	ToRouteServerPropagationTimeoutsPtrOutputWithContext(context.Context) RouteServerPropagationTimeoutsPtrOutput
}

RouteServerPropagationTimeoutsPtrInput is an input type that accepts RouteServerPropagationTimeoutsArgs, RouteServerPropagationTimeoutsPtr and RouteServerPropagationTimeoutsPtrOutput values. You can construct a concrete instance of `RouteServerPropagationTimeoutsPtrInput` via:

        RouteServerPropagationTimeoutsArgs{...}

or:

        nil

type RouteServerPropagationTimeoutsPtrOutput

type RouteServerPropagationTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (RouteServerPropagationTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerPropagationTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerPropagationTimeoutsPtrOutput) Elem

func (RouteServerPropagationTimeoutsPtrOutput) ElementType

func (RouteServerPropagationTimeoutsPtrOutput) ToRouteServerPropagationTimeoutsPtrOutput

func (o RouteServerPropagationTimeoutsPtrOutput) ToRouteServerPropagationTimeoutsPtrOutput() RouteServerPropagationTimeoutsPtrOutput

func (RouteServerPropagationTimeoutsPtrOutput) ToRouteServerPropagationTimeoutsPtrOutputWithContext

func (o RouteServerPropagationTimeoutsPtrOutput) ToRouteServerPropagationTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerPropagationTimeoutsPtrOutput

type RouteServerState

type RouteServerState struct {
	// The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
	//
	// The following arguments are optional:
	AmazonSideAsn pulumi.IntPtrInput
	// The ARN of the route server.
	Arn pulumi.StringPtrInput
	// Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are `enable`, `disable`, `reset`
	PersistRoutes pulumi.StringPtrInput
	// The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if `persistRoutes` is enabled.
	PersistRoutesDuration pulumi.IntPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The unique identifier of the route server.
	RouteServerId pulumi.StringPtrInput
	// Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
	SnsNotificationsEnabled pulumi.BoolPtrInput
	// The ARN of the SNS topic where notifications are published.
	SnsTopicArn pulumi.StringPtrInput
	// A map 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
	Timeouts RouteServerTimeoutsPtrInput
}

func (RouteServerState) ElementType

func (RouteServerState) ElementType() reflect.Type

type RouteServerTimeouts

type RouteServerTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type RouteServerTimeoutsArgs

type RouteServerTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (RouteServerTimeoutsArgs) ElementType

func (RouteServerTimeoutsArgs) ElementType() reflect.Type

func (RouteServerTimeoutsArgs) ToRouteServerTimeoutsOutput

func (i RouteServerTimeoutsArgs) ToRouteServerTimeoutsOutput() RouteServerTimeoutsOutput

func (RouteServerTimeoutsArgs) ToRouteServerTimeoutsOutputWithContext

func (i RouteServerTimeoutsArgs) ToRouteServerTimeoutsOutputWithContext(ctx context.Context) RouteServerTimeoutsOutput

func (RouteServerTimeoutsArgs) ToRouteServerTimeoutsPtrOutput

func (i RouteServerTimeoutsArgs) ToRouteServerTimeoutsPtrOutput() RouteServerTimeoutsPtrOutput

func (RouteServerTimeoutsArgs) ToRouteServerTimeoutsPtrOutputWithContext

func (i RouteServerTimeoutsArgs) ToRouteServerTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerTimeoutsPtrOutput

type RouteServerTimeoutsInput

type RouteServerTimeoutsInput interface {
	pulumi.Input

	ToRouteServerTimeoutsOutput() RouteServerTimeoutsOutput
	ToRouteServerTimeoutsOutputWithContext(context.Context) RouteServerTimeoutsOutput
}

RouteServerTimeoutsInput is an input type that accepts RouteServerTimeoutsArgs and RouteServerTimeoutsOutput values. You can construct a concrete instance of `RouteServerTimeoutsInput` via:

RouteServerTimeoutsArgs{...}

type RouteServerTimeoutsOutput

type RouteServerTimeoutsOutput struct{ *pulumi.OutputState }

func (RouteServerTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerTimeoutsOutput) ElementType

func (RouteServerTimeoutsOutput) ElementType() reflect.Type

func (RouteServerTimeoutsOutput) ToRouteServerTimeoutsOutput

func (o RouteServerTimeoutsOutput) ToRouteServerTimeoutsOutput() RouteServerTimeoutsOutput

func (RouteServerTimeoutsOutput) ToRouteServerTimeoutsOutputWithContext

func (o RouteServerTimeoutsOutput) ToRouteServerTimeoutsOutputWithContext(ctx context.Context) RouteServerTimeoutsOutput

func (RouteServerTimeoutsOutput) ToRouteServerTimeoutsPtrOutput

func (o RouteServerTimeoutsOutput) ToRouteServerTimeoutsPtrOutput() RouteServerTimeoutsPtrOutput

func (RouteServerTimeoutsOutput) ToRouteServerTimeoutsPtrOutputWithContext

func (o RouteServerTimeoutsOutput) ToRouteServerTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerTimeoutsPtrOutput

func (RouteServerTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type RouteServerTimeoutsPtrInput

type RouteServerTimeoutsPtrInput interface {
	pulumi.Input

	ToRouteServerTimeoutsPtrOutput() RouteServerTimeoutsPtrOutput
	ToRouteServerTimeoutsPtrOutputWithContext(context.Context) RouteServerTimeoutsPtrOutput
}

RouteServerTimeoutsPtrInput is an input type that accepts RouteServerTimeoutsArgs, RouteServerTimeoutsPtr and RouteServerTimeoutsPtrOutput values. You can construct a concrete instance of `RouteServerTimeoutsPtrInput` via:

        RouteServerTimeoutsArgs{...}

or:

        nil

type RouteServerTimeoutsPtrOutput

type RouteServerTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (RouteServerTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerTimeoutsPtrOutput) Elem

func (RouteServerTimeoutsPtrOutput) ElementType

func (RouteServerTimeoutsPtrOutput) ToRouteServerTimeoutsPtrOutput

func (o RouteServerTimeoutsPtrOutput) ToRouteServerTimeoutsPtrOutput() RouteServerTimeoutsPtrOutput

func (RouteServerTimeoutsPtrOutput) ToRouteServerTimeoutsPtrOutputWithContext

func (o RouteServerTimeoutsPtrOutput) ToRouteServerTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerTimeoutsPtrOutput

func (RouteServerTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type RouteServerVpcAssociation

type RouteServerVpcAssociation struct {
	pulumi.CustomResourceState

	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The unique identifier for the route server to be associated.
	RouteServerId pulumi.StringOutput                        `pulumi:"routeServerId"`
	Timeouts      RouteServerVpcAssociationTimeoutsPtrOutput `pulumi:"timeouts"`
	// The ID of the VPC to associate with the route server.
	//
	// The following arguments are optional:
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource for managing association between VPC (Virtual Private Cloud) route server and a VPC.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewRouteServerVpcAssociation(ctx, "example", &vpc.RouteServerVpcAssociationArgs{
			RouteServerId: pulumi.Any(exampleAwsVpcRouteServer.RouteServerId),
			VpcId:         pulumi.Any(exampleAwsVpc.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, to to import VPC (Virtual Private Cloud) Route Server Association using the associated resource ID and VPC Id separated by a comma (,). For example:

```sh $ pulumi import aws:vpc/routeServerVpcAssociation:RouteServerVpcAssociation example rs-12345678,vpc-0f001273ec18911b1 ```

func GetRouteServerVpcAssociation

func GetRouteServerVpcAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteServerVpcAssociationState, opts ...pulumi.ResourceOption) (*RouteServerVpcAssociation, error)

GetRouteServerVpcAssociation gets an existing RouteServerVpcAssociation 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 NewRouteServerVpcAssociation

func NewRouteServerVpcAssociation(ctx *pulumi.Context,
	name string, args *RouteServerVpcAssociationArgs, opts ...pulumi.ResourceOption) (*RouteServerVpcAssociation, error)

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

func (*RouteServerVpcAssociation) ElementType

func (*RouteServerVpcAssociation) ElementType() reflect.Type

func (*RouteServerVpcAssociation) ToRouteServerVpcAssociationOutput

func (i *RouteServerVpcAssociation) ToRouteServerVpcAssociationOutput() RouteServerVpcAssociationOutput

func (*RouteServerVpcAssociation) ToRouteServerVpcAssociationOutputWithContext

func (i *RouteServerVpcAssociation) ToRouteServerVpcAssociationOutputWithContext(ctx context.Context) RouteServerVpcAssociationOutput

type RouteServerVpcAssociationArgs

type RouteServerVpcAssociationArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The unique identifier for the route server to be associated.
	RouteServerId pulumi.StringInput
	Timeouts      RouteServerVpcAssociationTimeoutsPtrInput
	// The ID of the VPC to associate with the route server.
	//
	// The following arguments are optional:
	VpcId pulumi.StringInput
}

The set of arguments for constructing a RouteServerVpcAssociation resource.

func (RouteServerVpcAssociationArgs) ElementType

type RouteServerVpcAssociationArray

type RouteServerVpcAssociationArray []RouteServerVpcAssociationInput

func (RouteServerVpcAssociationArray) ElementType

func (RouteServerVpcAssociationArray) ToRouteServerVpcAssociationArrayOutput

func (i RouteServerVpcAssociationArray) ToRouteServerVpcAssociationArrayOutput() RouteServerVpcAssociationArrayOutput

func (RouteServerVpcAssociationArray) ToRouteServerVpcAssociationArrayOutputWithContext

func (i RouteServerVpcAssociationArray) ToRouteServerVpcAssociationArrayOutputWithContext(ctx context.Context) RouteServerVpcAssociationArrayOutput

type RouteServerVpcAssociationArrayInput

type RouteServerVpcAssociationArrayInput interface {
	pulumi.Input

	ToRouteServerVpcAssociationArrayOutput() RouteServerVpcAssociationArrayOutput
	ToRouteServerVpcAssociationArrayOutputWithContext(context.Context) RouteServerVpcAssociationArrayOutput
}

RouteServerVpcAssociationArrayInput is an input type that accepts RouteServerVpcAssociationArray and RouteServerVpcAssociationArrayOutput values. You can construct a concrete instance of `RouteServerVpcAssociationArrayInput` via:

RouteServerVpcAssociationArray{ RouteServerVpcAssociationArgs{...} }

type RouteServerVpcAssociationArrayOutput

type RouteServerVpcAssociationArrayOutput struct{ *pulumi.OutputState }

func (RouteServerVpcAssociationArrayOutput) ElementType

func (RouteServerVpcAssociationArrayOutput) Index

func (RouteServerVpcAssociationArrayOutput) ToRouteServerVpcAssociationArrayOutput

func (o RouteServerVpcAssociationArrayOutput) ToRouteServerVpcAssociationArrayOutput() RouteServerVpcAssociationArrayOutput

func (RouteServerVpcAssociationArrayOutput) ToRouteServerVpcAssociationArrayOutputWithContext

func (o RouteServerVpcAssociationArrayOutput) ToRouteServerVpcAssociationArrayOutputWithContext(ctx context.Context) RouteServerVpcAssociationArrayOutput

type RouteServerVpcAssociationInput

type RouteServerVpcAssociationInput interface {
	pulumi.Input

	ToRouteServerVpcAssociationOutput() RouteServerVpcAssociationOutput
	ToRouteServerVpcAssociationOutputWithContext(ctx context.Context) RouteServerVpcAssociationOutput
}

type RouteServerVpcAssociationMap

type RouteServerVpcAssociationMap map[string]RouteServerVpcAssociationInput

func (RouteServerVpcAssociationMap) ElementType

func (RouteServerVpcAssociationMap) ToRouteServerVpcAssociationMapOutput

func (i RouteServerVpcAssociationMap) ToRouteServerVpcAssociationMapOutput() RouteServerVpcAssociationMapOutput

func (RouteServerVpcAssociationMap) ToRouteServerVpcAssociationMapOutputWithContext

func (i RouteServerVpcAssociationMap) ToRouteServerVpcAssociationMapOutputWithContext(ctx context.Context) RouteServerVpcAssociationMapOutput

type RouteServerVpcAssociationMapInput

type RouteServerVpcAssociationMapInput interface {
	pulumi.Input

	ToRouteServerVpcAssociationMapOutput() RouteServerVpcAssociationMapOutput
	ToRouteServerVpcAssociationMapOutputWithContext(context.Context) RouteServerVpcAssociationMapOutput
}

RouteServerVpcAssociationMapInput is an input type that accepts RouteServerVpcAssociationMap and RouteServerVpcAssociationMapOutput values. You can construct a concrete instance of `RouteServerVpcAssociationMapInput` via:

RouteServerVpcAssociationMap{ "key": RouteServerVpcAssociationArgs{...} }

type RouteServerVpcAssociationMapOutput

type RouteServerVpcAssociationMapOutput struct{ *pulumi.OutputState }

func (RouteServerVpcAssociationMapOutput) ElementType

func (RouteServerVpcAssociationMapOutput) MapIndex

func (RouteServerVpcAssociationMapOutput) ToRouteServerVpcAssociationMapOutput

func (o RouteServerVpcAssociationMapOutput) ToRouteServerVpcAssociationMapOutput() RouteServerVpcAssociationMapOutput

func (RouteServerVpcAssociationMapOutput) ToRouteServerVpcAssociationMapOutputWithContext

func (o RouteServerVpcAssociationMapOutput) ToRouteServerVpcAssociationMapOutputWithContext(ctx context.Context) RouteServerVpcAssociationMapOutput

type RouteServerVpcAssociationOutput

type RouteServerVpcAssociationOutput struct{ *pulumi.OutputState }

func (RouteServerVpcAssociationOutput) ElementType

func (RouteServerVpcAssociationOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (RouteServerVpcAssociationOutput) RouteServerId

The unique identifier for the route server to be associated.

func (RouteServerVpcAssociationOutput) Timeouts

func (RouteServerVpcAssociationOutput) ToRouteServerVpcAssociationOutput

func (o RouteServerVpcAssociationOutput) ToRouteServerVpcAssociationOutput() RouteServerVpcAssociationOutput

func (RouteServerVpcAssociationOutput) ToRouteServerVpcAssociationOutputWithContext

func (o RouteServerVpcAssociationOutput) ToRouteServerVpcAssociationOutputWithContext(ctx context.Context) RouteServerVpcAssociationOutput

func (RouteServerVpcAssociationOutput) VpcId

The ID of the VPC to associate with the route server.

The following arguments are optional:

type RouteServerVpcAssociationState

type RouteServerVpcAssociationState struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The unique identifier for the route server to be associated.
	RouteServerId pulumi.StringPtrInput
	Timeouts      RouteServerVpcAssociationTimeoutsPtrInput
	// The ID of the VPC to associate with the route server.
	//
	// The following arguments are optional:
	VpcId pulumi.StringPtrInput
}

func (RouteServerVpcAssociationState) ElementType

type RouteServerVpcAssociationTimeouts

type RouteServerVpcAssociationTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
}

type RouteServerVpcAssociationTimeoutsArgs

type RouteServerVpcAssociationTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
}

func (RouteServerVpcAssociationTimeoutsArgs) ElementType

func (RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsOutput

func (i RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsOutput() RouteServerVpcAssociationTimeoutsOutput

func (RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsOutputWithContext

func (i RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsOutputWithContext(ctx context.Context) RouteServerVpcAssociationTimeoutsOutput

func (RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsPtrOutput

func (i RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsPtrOutput() RouteServerVpcAssociationTimeoutsPtrOutput

func (RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsPtrOutputWithContext

func (i RouteServerVpcAssociationTimeoutsArgs) ToRouteServerVpcAssociationTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerVpcAssociationTimeoutsPtrOutput

type RouteServerVpcAssociationTimeoutsInput

type RouteServerVpcAssociationTimeoutsInput interface {
	pulumi.Input

	ToRouteServerVpcAssociationTimeoutsOutput() RouteServerVpcAssociationTimeoutsOutput
	ToRouteServerVpcAssociationTimeoutsOutputWithContext(context.Context) RouteServerVpcAssociationTimeoutsOutput
}

RouteServerVpcAssociationTimeoutsInput is an input type that accepts RouteServerVpcAssociationTimeoutsArgs and RouteServerVpcAssociationTimeoutsOutput values. You can construct a concrete instance of `RouteServerVpcAssociationTimeoutsInput` via:

RouteServerVpcAssociationTimeoutsArgs{...}

type RouteServerVpcAssociationTimeoutsOutput

type RouteServerVpcAssociationTimeoutsOutput struct{ *pulumi.OutputState }

func (RouteServerVpcAssociationTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerVpcAssociationTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerVpcAssociationTimeoutsOutput) ElementType

func (RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsOutput

func (o RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsOutput() RouteServerVpcAssociationTimeoutsOutput

func (RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsOutputWithContext

func (o RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsOutputWithContext(ctx context.Context) RouteServerVpcAssociationTimeoutsOutput

func (RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsPtrOutput

func (o RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsPtrOutput() RouteServerVpcAssociationTimeoutsPtrOutput

func (RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsPtrOutputWithContext

func (o RouteServerVpcAssociationTimeoutsOutput) ToRouteServerVpcAssociationTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerVpcAssociationTimeoutsPtrOutput

type RouteServerVpcAssociationTimeoutsPtrInput

type RouteServerVpcAssociationTimeoutsPtrInput interface {
	pulumi.Input

	ToRouteServerVpcAssociationTimeoutsPtrOutput() RouteServerVpcAssociationTimeoutsPtrOutput
	ToRouteServerVpcAssociationTimeoutsPtrOutputWithContext(context.Context) RouteServerVpcAssociationTimeoutsPtrOutput
}

RouteServerVpcAssociationTimeoutsPtrInput is an input type that accepts RouteServerVpcAssociationTimeoutsArgs, RouteServerVpcAssociationTimeoutsPtr and RouteServerVpcAssociationTimeoutsPtrOutput values. You can construct a concrete instance of `RouteServerVpcAssociationTimeoutsPtrInput` via:

        RouteServerVpcAssociationTimeoutsArgs{...}

or:

        nil

type RouteServerVpcAssociationTimeoutsPtrOutput

type RouteServerVpcAssociationTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (RouteServerVpcAssociationTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (RouteServerVpcAssociationTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (RouteServerVpcAssociationTimeoutsPtrOutput) Elem

func (RouteServerVpcAssociationTimeoutsPtrOutput) ElementType

func (RouteServerVpcAssociationTimeoutsPtrOutput) ToRouteServerVpcAssociationTimeoutsPtrOutput

func (o RouteServerVpcAssociationTimeoutsPtrOutput) ToRouteServerVpcAssociationTimeoutsPtrOutput() RouteServerVpcAssociationTimeoutsPtrOutput

func (RouteServerVpcAssociationTimeoutsPtrOutput) ToRouteServerVpcAssociationTimeoutsPtrOutputWithContext

func (o RouteServerVpcAssociationTimeoutsPtrOutput) ToRouteServerVpcAssociationTimeoutsPtrOutputWithContext(ctx context.Context) RouteServerVpcAssociationTimeoutsPtrOutput

type SecurityGroupEgressRule

type SecurityGroupEgressRule struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the security group rule.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The destination IPv4 CIDR range.
	CidrIpv4 pulumi.StringPtrOutput `pulumi:"cidrIpv4"`
	// The destination IPv6 CIDR range.
	CidrIpv6 pulumi.StringPtrOutput `pulumi:"cidrIpv6"`
	// The security group rule description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
	FromPort pulumi.IntPtrOutput `pulumi:"fromPort"`
	// The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.
	IpProtocol pulumi.StringOutput `pulumi:"ipProtocol"`
	// The ID of the destination prefix list.
	PrefixListId pulumi.StringPtrOutput `pulumi:"prefixListId"`
	// The destination security group that is referenced in the rule.
	ReferencedSecurityGroupId pulumi.StringPtrOutput `pulumi:"referencedSecurityGroupId"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The ID of the security group.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// The ID of the security group rule.
	SecurityGroupRuleId pulumi.StringOutput `pulumi:"securityGroupRuleId"`
	// A map 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 end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
	//
	// > **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.
	ToPort pulumi.IntPtrOutput `pulumi:"toPort"`
}

Manages an outbound (egress) rule for a security group.

When specifying an outbound rule for your security group in a VPC, the configuration must include a destination for the traffic.

> **NOTE:** Using `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources is the current best practice. Avoid using the `ec2.SecurityGroupRule` resource and the `ingress` and `egress` arguments of the `ec2.SecurityGroup` resource for configuring in-line rules, as they struggle with managing multiple CIDR blocks, and tags and descriptions due to the historical lack of unique IDs.

!> **WARNING:** You should not use the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources in conjunction with the `ec2.SecurityGroup` resource with _in-line rules_ (using the `ingress` and `egress` arguments of `ec2.SecurityGroup`) or the `ec2.SecurityGroupRule` resource. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewSecurityGroupEgressRule(ctx, "example", &vpc.SecurityGroupEgressRuleArgs{
			SecurityGroupId: pulumi.Any(exampleAwsSecurityGroup.Id),
			CidrIpv4:        pulumi.String("10.0.0.0/8"),
			FromPort:        pulumi.Int(80),
			IpProtocol:      pulumi.String("tcp"),
			ToPort:          pulumi.Int(80),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import security group egress rules using the `security_group_rule_id`. For example:

```sh $ pulumi import aws:vpc/securityGroupEgressRule:SecurityGroupEgressRule example sgr-02108b27edd666983 ```

func GetSecurityGroupEgressRule

func GetSecurityGroupEgressRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityGroupEgressRuleState, opts ...pulumi.ResourceOption) (*SecurityGroupEgressRule, error)

GetSecurityGroupEgressRule gets an existing SecurityGroupEgressRule 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 NewSecurityGroupEgressRule

func NewSecurityGroupEgressRule(ctx *pulumi.Context,
	name string, args *SecurityGroupEgressRuleArgs, opts ...pulumi.ResourceOption) (*SecurityGroupEgressRule, error)

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

func (*SecurityGroupEgressRule) ElementType

func (*SecurityGroupEgressRule) ElementType() reflect.Type

func (*SecurityGroupEgressRule) ToSecurityGroupEgressRuleOutput

func (i *SecurityGroupEgressRule) ToSecurityGroupEgressRuleOutput() SecurityGroupEgressRuleOutput

func (*SecurityGroupEgressRule) ToSecurityGroupEgressRuleOutputWithContext

func (i *SecurityGroupEgressRule) ToSecurityGroupEgressRuleOutputWithContext(ctx context.Context) SecurityGroupEgressRuleOutput

type SecurityGroupEgressRuleArgs

type SecurityGroupEgressRuleArgs struct {
	// The destination IPv4 CIDR range.
	CidrIpv4 pulumi.StringPtrInput
	// The destination IPv6 CIDR range.
	CidrIpv6 pulumi.StringPtrInput
	// The security group rule description.
	Description pulumi.StringPtrInput
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
	FromPort pulumi.IntPtrInput
	// The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.
	IpProtocol pulumi.StringInput
	// The ID of the destination prefix list.
	PrefixListId pulumi.StringPtrInput
	// The destination security group that is referenced in the rule.
	ReferencedSecurityGroupId pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringInput
	// A map 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 end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
	//
	// > **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.
	ToPort pulumi.IntPtrInput
}

The set of arguments for constructing a SecurityGroupEgressRule resource.

func (SecurityGroupEgressRuleArgs) ElementType

type SecurityGroupEgressRuleArray

type SecurityGroupEgressRuleArray []SecurityGroupEgressRuleInput

func (SecurityGroupEgressRuleArray) ElementType

func (SecurityGroupEgressRuleArray) ToSecurityGroupEgressRuleArrayOutput

func (i SecurityGroupEgressRuleArray) ToSecurityGroupEgressRuleArrayOutput() SecurityGroupEgressRuleArrayOutput

func (SecurityGroupEgressRuleArray) ToSecurityGroupEgressRuleArrayOutputWithContext

func (i SecurityGroupEgressRuleArray) ToSecurityGroupEgressRuleArrayOutputWithContext(ctx context.Context) SecurityGroupEgressRuleArrayOutput

type SecurityGroupEgressRuleArrayInput

type SecurityGroupEgressRuleArrayInput interface {
	pulumi.Input

	ToSecurityGroupEgressRuleArrayOutput() SecurityGroupEgressRuleArrayOutput
	ToSecurityGroupEgressRuleArrayOutputWithContext(context.Context) SecurityGroupEgressRuleArrayOutput
}

SecurityGroupEgressRuleArrayInput is an input type that accepts SecurityGroupEgressRuleArray and SecurityGroupEgressRuleArrayOutput values. You can construct a concrete instance of `SecurityGroupEgressRuleArrayInput` via:

SecurityGroupEgressRuleArray{ SecurityGroupEgressRuleArgs{...} }

type SecurityGroupEgressRuleArrayOutput

type SecurityGroupEgressRuleArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupEgressRuleArrayOutput) ElementType

func (SecurityGroupEgressRuleArrayOutput) Index

func (SecurityGroupEgressRuleArrayOutput) ToSecurityGroupEgressRuleArrayOutput

func (o SecurityGroupEgressRuleArrayOutput) ToSecurityGroupEgressRuleArrayOutput() SecurityGroupEgressRuleArrayOutput

func (SecurityGroupEgressRuleArrayOutput) ToSecurityGroupEgressRuleArrayOutputWithContext

func (o SecurityGroupEgressRuleArrayOutput) ToSecurityGroupEgressRuleArrayOutputWithContext(ctx context.Context) SecurityGroupEgressRuleArrayOutput

type SecurityGroupEgressRuleInput

type SecurityGroupEgressRuleInput interface {
	pulumi.Input

	ToSecurityGroupEgressRuleOutput() SecurityGroupEgressRuleOutput
	ToSecurityGroupEgressRuleOutputWithContext(ctx context.Context) SecurityGroupEgressRuleOutput
}

type SecurityGroupEgressRuleMap

type SecurityGroupEgressRuleMap map[string]SecurityGroupEgressRuleInput

func (SecurityGroupEgressRuleMap) ElementType

func (SecurityGroupEgressRuleMap) ElementType() reflect.Type

func (SecurityGroupEgressRuleMap) ToSecurityGroupEgressRuleMapOutput

func (i SecurityGroupEgressRuleMap) ToSecurityGroupEgressRuleMapOutput() SecurityGroupEgressRuleMapOutput

func (SecurityGroupEgressRuleMap) ToSecurityGroupEgressRuleMapOutputWithContext

func (i SecurityGroupEgressRuleMap) ToSecurityGroupEgressRuleMapOutputWithContext(ctx context.Context) SecurityGroupEgressRuleMapOutput

type SecurityGroupEgressRuleMapInput

type SecurityGroupEgressRuleMapInput interface {
	pulumi.Input

	ToSecurityGroupEgressRuleMapOutput() SecurityGroupEgressRuleMapOutput
	ToSecurityGroupEgressRuleMapOutputWithContext(context.Context) SecurityGroupEgressRuleMapOutput
}

SecurityGroupEgressRuleMapInput is an input type that accepts SecurityGroupEgressRuleMap and SecurityGroupEgressRuleMapOutput values. You can construct a concrete instance of `SecurityGroupEgressRuleMapInput` via:

SecurityGroupEgressRuleMap{ "key": SecurityGroupEgressRuleArgs{...} }

type SecurityGroupEgressRuleMapOutput

type SecurityGroupEgressRuleMapOutput struct{ *pulumi.OutputState }

func (SecurityGroupEgressRuleMapOutput) ElementType

func (SecurityGroupEgressRuleMapOutput) MapIndex

func (SecurityGroupEgressRuleMapOutput) ToSecurityGroupEgressRuleMapOutput

func (o SecurityGroupEgressRuleMapOutput) ToSecurityGroupEgressRuleMapOutput() SecurityGroupEgressRuleMapOutput

func (SecurityGroupEgressRuleMapOutput) ToSecurityGroupEgressRuleMapOutputWithContext

func (o SecurityGroupEgressRuleMapOutput) ToSecurityGroupEgressRuleMapOutputWithContext(ctx context.Context) SecurityGroupEgressRuleMapOutput

type SecurityGroupEgressRuleOutput

type SecurityGroupEgressRuleOutput struct{ *pulumi.OutputState }

func (SecurityGroupEgressRuleOutput) Arn

The Amazon Resource Name (ARN) of the security group rule.

func (SecurityGroupEgressRuleOutput) CidrIpv4

The destination IPv4 CIDR range.

func (SecurityGroupEgressRuleOutput) CidrIpv6

The destination IPv6 CIDR range.

func (SecurityGroupEgressRuleOutput) Description

The security group rule description.

func (SecurityGroupEgressRuleOutput) ElementType

func (SecurityGroupEgressRuleOutput) FromPort

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.

func (SecurityGroupEgressRuleOutput) IpProtocol

The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.

func (SecurityGroupEgressRuleOutput) PrefixListId

The ID of the destination prefix list.

func (SecurityGroupEgressRuleOutput) ReferencedSecurityGroupId

func (o SecurityGroupEgressRuleOutput) ReferencedSecurityGroupId() pulumi.StringPtrOutput

The destination security group that is referenced in the rule.

func (SecurityGroupEgressRuleOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (SecurityGroupEgressRuleOutput) SecurityGroupId

The ID of the security group.

func (SecurityGroupEgressRuleOutput) SecurityGroupRuleId

func (o SecurityGroupEgressRuleOutput) SecurityGroupRuleId() pulumi.StringOutput

The ID of the security group rule.

func (SecurityGroupEgressRuleOutput) Tags

A map 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 (SecurityGroupEgressRuleOutput) TagsAll

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

func (SecurityGroupEgressRuleOutput) ToPort

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

> **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.

func (SecurityGroupEgressRuleOutput) ToSecurityGroupEgressRuleOutput

func (o SecurityGroupEgressRuleOutput) ToSecurityGroupEgressRuleOutput() SecurityGroupEgressRuleOutput

func (SecurityGroupEgressRuleOutput) ToSecurityGroupEgressRuleOutputWithContext

func (o SecurityGroupEgressRuleOutput) ToSecurityGroupEgressRuleOutputWithContext(ctx context.Context) SecurityGroupEgressRuleOutput

type SecurityGroupEgressRuleState

type SecurityGroupEgressRuleState struct {
	// The Amazon Resource Name (ARN) of the security group rule.
	Arn pulumi.StringPtrInput
	// The destination IPv4 CIDR range.
	CidrIpv4 pulumi.StringPtrInput
	// The destination IPv6 CIDR range.
	CidrIpv6 pulumi.StringPtrInput
	// The security group rule description.
	Description pulumi.StringPtrInput
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
	FromPort pulumi.IntPtrInput
	// The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.
	IpProtocol pulumi.StringPtrInput
	// The ID of the destination prefix list.
	PrefixListId pulumi.StringPtrInput
	// The destination security group that is referenced in the rule.
	ReferencedSecurityGroupId pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringPtrInput
	// The ID of the security group rule.
	SecurityGroupRuleId pulumi.StringPtrInput
	// A map 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 end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
	//
	// > **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.
	ToPort pulumi.IntPtrInput
}

func (SecurityGroupEgressRuleState) ElementType

type SecurityGroupIngressRule

type SecurityGroupIngressRule struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the security group rule.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The source IPv4 CIDR range.
	CidrIpv4 pulumi.StringPtrOutput `pulumi:"cidrIpv4"`
	// The source IPv6 CIDR range.
	CidrIpv6 pulumi.StringPtrOutput `pulumi:"cidrIpv6"`
	// The security group rule description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
	FromPort pulumi.IntPtrOutput `pulumi:"fromPort"`
	// The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.
	IpProtocol pulumi.StringOutput `pulumi:"ipProtocol"`
	// The ID of the source prefix list.
	PrefixListId pulumi.StringPtrOutput `pulumi:"prefixListId"`
	// The source security group that is referenced in the rule.
	ReferencedSecurityGroupId pulumi.StringPtrOutput `pulumi:"referencedSecurityGroupId"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The ID of the security group.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// The ID of the security group rule.
	SecurityGroupRuleId pulumi.StringOutput `pulumi:"securityGroupRuleId"`
	// A map 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 end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
	//
	// > **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.
	ToPort pulumi.IntPtrOutput `pulumi:"toPort"`
}

Manages an inbound (ingress) rule for a security group.

When specifying an inbound rule for your security group in a VPC, the configuration must include a source for the traffic.

> **NOTE:** Using `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources is the current best practice. Avoid using the `ec2.SecurityGroupRule` resource and the `ingress` and `egress` arguments of the `ec2.SecurityGroup` resource for configuring in-line rules, as they struggle with managing multiple CIDR blocks, and tags and descriptions due to the historical lack of unique IDs.

!> **WARNING:** You should not use the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources in conjunction with the `ec2.SecurityGroup` resource with _in-line rules_ (using the `ingress` and `egress` arguments of `ec2.SecurityGroup`) or the `ec2.SecurityGroupRule` resource. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ec2.NewSecurityGroup(ctx, "example", &ec2.SecurityGroupArgs{
			Name:        pulumi.String("example"),
			Description: pulumi.String("example"),
			VpcId:       pulumi.Any(main.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewSecurityGroupIngressRule(ctx, "example", &vpc.SecurityGroupIngressRuleArgs{
			SecurityGroupId: example.ID(),
			CidrIpv4:        pulumi.String("10.0.0.0/8"),
			FromPort:        pulumi.Int(80),
			IpProtocol:      pulumi.String("tcp"),
			ToPort:          pulumi.Int(80),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import security group ingress rules using the `security_group_rule_id`. For example:

```sh $ pulumi import aws:vpc/securityGroupIngressRule:SecurityGroupIngressRule example sgr-02108b27edd666983 ```

func GetSecurityGroupIngressRule

func GetSecurityGroupIngressRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityGroupIngressRuleState, opts ...pulumi.ResourceOption) (*SecurityGroupIngressRule, error)

GetSecurityGroupIngressRule gets an existing SecurityGroupIngressRule 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 NewSecurityGroupIngressRule

func NewSecurityGroupIngressRule(ctx *pulumi.Context,
	name string, args *SecurityGroupIngressRuleArgs, opts ...pulumi.ResourceOption) (*SecurityGroupIngressRule, error)

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

func (*SecurityGroupIngressRule) ElementType

func (*SecurityGroupIngressRule) ElementType() reflect.Type

func (*SecurityGroupIngressRule) ToSecurityGroupIngressRuleOutput

func (i *SecurityGroupIngressRule) ToSecurityGroupIngressRuleOutput() SecurityGroupIngressRuleOutput

func (*SecurityGroupIngressRule) ToSecurityGroupIngressRuleOutputWithContext

func (i *SecurityGroupIngressRule) ToSecurityGroupIngressRuleOutputWithContext(ctx context.Context) SecurityGroupIngressRuleOutput

type SecurityGroupIngressRuleArgs

type SecurityGroupIngressRuleArgs struct {
	// The source IPv4 CIDR range.
	CidrIpv4 pulumi.StringPtrInput
	// The source IPv6 CIDR range.
	CidrIpv6 pulumi.StringPtrInput
	// The security group rule description.
	Description pulumi.StringPtrInput
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
	FromPort pulumi.IntPtrInput
	// The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.
	IpProtocol pulumi.StringInput
	// The ID of the source prefix list.
	PrefixListId pulumi.StringPtrInput
	// The source security group that is referenced in the rule.
	ReferencedSecurityGroupId pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringInput
	// A map 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 end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
	//
	// > **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.
	ToPort pulumi.IntPtrInput
}

The set of arguments for constructing a SecurityGroupIngressRule resource.

func (SecurityGroupIngressRuleArgs) ElementType

type SecurityGroupIngressRuleArray

type SecurityGroupIngressRuleArray []SecurityGroupIngressRuleInput

func (SecurityGroupIngressRuleArray) ElementType

func (SecurityGroupIngressRuleArray) ToSecurityGroupIngressRuleArrayOutput

func (i SecurityGroupIngressRuleArray) ToSecurityGroupIngressRuleArrayOutput() SecurityGroupIngressRuleArrayOutput

func (SecurityGroupIngressRuleArray) ToSecurityGroupIngressRuleArrayOutputWithContext

func (i SecurityGroupIngressRuleArray) ToSecurityGroupIngressRuleArrayOutputWithContext(ctx context.Context) SecurityGroupIngressRuleArrayOutput

type SecurityGroupIngressRuleArrayInput

type SecurityGroupIngressRuleArrayInput interface {
	pulumi.Input

	ToSecurityGroupIngressRuleArrayOutput() SecurityGroupIngressRuleArrayOutput
	ToSecurityGroupIngressRuleArrayOutputWithContext(context.Context) SecurityGroupIngressRuleArrayOutput
}

SecurityGroupIngressRuleArrayInput is an input type that accepts SecurityGroupIngressRuleArray and SecurityGroupIngressRuleArrayOutput values. You can construct a concrete instance of `SecurityGroupIngressRuleArrayInput` via:

SecurityGroupIngressRuleArray{ SecurityGroupIngressRuleArgs{...} }

type SecurityGroupIngressRuleArrayOutput

type SecurityGroupIngressRuleArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupIngressRuleArrayOutput) ElementType

func (SecurityGroupIngressRuleArrayOutput) Index

func (SecurityGroupIngressRuleArrayOutput) ToSecurityGroupIngressRuleArrayOutput

func (o SecurityGroupIngressRuleArrayOutput) ToSecurityGroupIngressRuleArrayOutput() SecurityGroupIngressRuleArrayOutput

func (SecurityGroupIngressRuleArrayOutput) ToSecurityGroupIngressRuleArrayOutputWithContext

func (o SecurityGroupIngressRuleArrayOutput) ToSecurityGroupIngressRuleArrayOutputWithContext(ctx context.Context) SecurityGroupIngressRuleArrayOutput

type SecurityGroupIngressRuleInput

type SecurityGroupIngressRuleInput interface {
	pulumi.Input

	ToSecurityGroupIngressRuleOutput() SecurityGroupIngressRuleOutput
	ToSecurityGroupIngressRuleOutputWithContext(ctx context.Context) SecurityGroupIngressRuleOutput
}

type SecurityGroupIngressRuleMap

type SecurityGroupIngressRuleMap map[string]SecurityGroupIngressRuleInput

func (SecurityGroupIngressRuleMap) ElementType

func (SecurityGroupIngressRuleMap) ToSecurityGroupIngressRuleMapOutput

func (i SecurityGroupIngressRuleMap) ToSecurityGroupIngressRuleMapOutput() SecurityGroupIngressRuleMapOutput

func (SecurityGroupIngressRuleMap) ToSecurityGroupIngressRuleMapOutputWithContext

func (i SecurityGroupIngressRuleMap) ToSecurityGroupIngressRuleMapOutputWithContext(ctx context.Context) SecurityGroupIngressRuleMapOutput

type SecurityGroupIngressRuleMapInput

type SecurityGroupIngressRuleMapInput interface {
	pulumi.Input

	ToSecurityGroupIngressRuleMapOutput() SecurityGroupIngressRuleMapOutput
	ToSecurityGroupIngressRuleMapOutputWithContext(context.Context) SecurityGroupIngressRuleMapOutput
}

SecurityGroupIngressRuleMapInput is an input type that accepts SecurityGroupIngressRuleMap and SecurityGroupIngressRuleMapOutput values. You can construct a concrete instance of `SecurityGroupIngressRuleMapInput` via:

SecurityGroupIngressRuleMap{ "key": SecurityGroupIngressRuleArgs{...} }

type SecurityGroupIngressRuleMapOutput

type SecurityGroupIngressRuleMapOutput struct{ *pulumi.OutputState }

func (SecurityGroupIngressRuleMapOutput) ElementType

func (SecurityGroupIngressRuleMapOutput) MapIndex

func (SecurityGroupIngressRuleMapOutput) ToSecurityGroupIngressRuleMapOutput

func (o SecurityGroupIngressRuleMapOutput) ToSecurityGroupIngressRuleMapOutput() SecurityGroupIngressRuleMapOutput

func (SecurityGroupIngressRuleMapOutput) ToSecurityGroupIngressRuleMapOutputWithContext

func (o SecurityGroupIngressRuleMapOutput) ToSecurityGroupIngressRuleMapOutputWithContext(ctx context.Context) SecurityGroupIngressRuleMapOutput

type SecurityGroupIngressRuleOutput

type SecurityGroupIngressRuleOutput struct{ *pulumi.OutputState }

func (SecurityGroupIngressRuleOutput) Arn

The Amazon Resource Name (ARN) of the security group rule.

func (SecurityGroupIngressRuleOutput) CidrIpv4

The source IPv4 CIDR range.

func (SecurityGroupIngressRuleOutput) CidrIpv6

The source IPv6 CIDR range.

func (SecurityGroupIngressRuleOutput) Description

The security group rule description.

func (SecurityGroupIngressRuleOutput) ElementType

func (SecurityGroupIngressRuleOutput) FromPort

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.

func (SecurityGroupIngressRuleOutput) IpProtocol

The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.

func (SecurityGroupIngressRuleOutput) PrefixListId

The ID of the source prefix list.

func (SecurityGroupIngressRuleOutput) ReferencedSecurityGroupId

func (o SecurityGroupIngressRuleOutput) ReferencedSecurityGroupId() pulumi.StringPtrOutput

The source security group that is referenced in the rule.

func (SecurityGroupIngressRuleOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (SecurityGroupIngressRuleOutput) SecurityGroupId

The ID of the security group.

func (SecurityGroupIngressRuleOutput) SecurityGroupRuleId

func (o SecurityGroupIngressRuleOutput) SecurityGroupRuleId() pulumi.StringOutput

The ID of the security group rule.

func (SecurityGroupIngressRuleOutput) Tags

A map 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 (SecurityGroupIngressRuleOutput) TagsAll

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

func (SecurityGroupIngressRuleOutput) ToPort

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

> **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.

func (SecurityGroupIngressRuleOutput) ToSecurityGroupIngressRuleOutput

func (o SecurityGroupIngressRuleOutput) ToSecurityGroupIngressRuleOutput() SecurityGroupIngressRuleOutput

func (SecurityGroupIngressRuleOutput) ToSecurityGroupIngressRuleOutputWithContext

func (o SecurityGroupIngressRuleOutput) ToSecurityGroupIngressRuleOutputWithContext(ctx context.Context) SecurityGroupIngressRuleOutput

type SecurityGroupIngressRuleState

type SecurityGroupIngressRuleState struct {
	// The Amazon Resource Name (ARN) of the security group rule.
	Arn pulumi.StringPtrInput
	// The source IPv4 CIDR range.
	CidrIpv4 pulumi.StringPtrInput
	// The source IPv6 CIDR range.
	CidrIpv6 pulumi.StringPtrInput
	// The security group rule description.
	Description pulumi.StringPtrInput
	// The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
	FromPort pulumi.IntPtrInput
	// The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ipProtocol` is set to `-1`, it translates to all protocols, all port ranges, and `fromPort` and `toPort` values should not be defined.
	IpProtocol pulumi.StringPtrInput
	// The ID of the source prefix list.
	PrefixListId pulumi.StringPtrInput
	// The source security group that is referenced in the rule.
	ReferencedSecurityGroupId pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringPtrInput
	// The ID of the security group rule.
	SecurityGroupRuleId pulumi.StringPtrInput
	// A map 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 end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
	//
	// > **Note** Although `cidrIpv4`, `cidrIpv6`, `prefixListId`, and `referencedSecurityGroupId` are all marked as optional, you *must* provide one of them in order to configure the destination of the traffic. The `fromPort` and `toPort` arguments are required unless `ipProtocol` is set to `-1` or `icmpv6`.
	ToPort pulumi.IntPtrInput
}

func (SecurityGroupIngressRuleState) ElementType

type SecurityGroupVpcAssociation

type SecurityGroupVpcAssociation struct {
	pulumi.CustomResourceState

	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// The ID of the security group.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// State of the VPC association. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroupVpcAssociation.html) for possible values.
	State    pulumi.StringOutput                          `pulumi:"state"`
	Timeouts SecurityGroupVpcAssociationTimeoutsPtrOutput `pulumi:"timeouts"`
	// The ID of the VPC to make the association with.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Resource for managing Security Group VPC Associations.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewSecurityGroupVpcAssociation(ctx, "example", &vpc.SecurityGroupVpcAssociationArgs{
			SecurityGroupId: pulumi.String("sg-05f1f54ab49bb39a3"),
			VpcId:           pulumi.String("vpc-01df9d105095412ba"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import a Security Group VPC Association using the `security_group_id` and `vpc_id` arguments, separated by a comma (`,`). For example:

```sh $ pulumi import aws:vpc/securityGroupVpcAssociation:SecurityGroupVpcAssociation example sg-12345,vpc-67890 ```

func GetSecurityGroupVpcAssociation

func GetSecurityGroupVpcAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityGroupVpcAssociationState, opts ...pulumi.ResourceOption) (*SecurityGroupVpcAssociation, error)

GetSecurityGroupVpcAssociation gets an existing SecurityGroupVpcAssociation 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 NewSecurityGroupVpcAssociation

func NewSecurityGroupVpcAssociation(ctx *pulumi.Context,
	name string, args *SecurityGroupVpcAssociationArgs, opts ...pulumi.ResourceOption) (*SecurityGroupVpcAssociation, error)

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

func (*SecurityGroupVpcAssociation) ElementType

func (*SecurityGroupVpcAssociation) ElementType() reflect.Type

func (*SecurityGroupVpcAssociation) ToSecurityGroupVpcAssociationOutput

func (i *SecurityGroupVpcAssociation) ToSecurityGroupVpcAssociationOutput() SecurityGroupVpcAssociationOutput

func (*SecurityGroupVpcAssociation) ToSecurityGroupVpcAssociationOutputWithContext

func (i *SecurityGroupVpcAssociation) ToSecurityGroupVpcAssociationOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationOutput

type SecurityGroupVpcAssociationArgs

type SecurityGroupVpcAssociationArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringInput
	Timeouts        SecurityGroupVpcAssociationTimeoutsPtrInput
	// The ID of the VPC to make the association with.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a SecurityGroupVpcAssociation resource.

func (SecurityGroupVpcAssociationArgs) ElementType

type SecurityGroupVpcAssociationArray

type SecurityGroupVpcAssociationArray []SecurityGroupVpcAssociationInput

func (SecurityGroupVpcAssociationArray) ElementType

func (SecurityGroupVpcAssociationArray) ToSecurityGroupVpcAssociationArrayOutput

func (i SecurityGroupVpcAssociationArray) ToSecurityGroupVpcAssociationArrayOutput() SecurityGroupVpcAssociationArrayOutput

func (SecurityGroupVpcAssociationArray) ToSecurityGroupVpcAssociationArrayOutputWithContext

func (i SecurityGroupVpcAssociationArray) ToSecurityGroupVpcAssociationArrayOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationArrayOutput

type SecurityGroupVpcAssociationArrayInput

type SecurityGroupVpcAssociationArrayInput interface {
	pulumi.Input

	ToSecurityGroupVpcAssociationArrayOutput() SecurityGroupVpcAssociationArrayOutput
	ToSecurityGroupVpcAssociationArrayOutputWithContext(context.Context) SecurityGroupVpcAssociationArrayOutput
}

SecurityGroupVpcAssociationArrayInput is an input type that accepts SecurityGroupVpcAssociationArray and SecurityGroupVpcAssociationArrayOutput values. You can construct a concrete instance of `SecurityGroupVpcAssociationArrayInput` via:

SecurityGroupVpcAssociationArray{ SecurityGroupVpcAssociationArgs{...} }

type SecurityGroupVpcAssociationArrayOutput

type SecurityGroupVpcAssociationArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupVpcAssociationArrayOutput) ElementType

func (SecurityGroupVpcAssociationArrayOutput) Index

func (SecurityGroupVpcAssociationArrayOutput) ToSecurityGroupVpcAssociationArrayOutput

func (o SecurityGroupVpcAssociationArrayOutput) ToSecurityGroupVpcAssociationArrayOutput() SecurityGroupVpcAssociationArrayOutput

func (SecurityGroupVpcAssociationArrayOutput) ToSecurityGroupVpcAssociationArrayOutputWithContext

func (o SecurityGroupVpcAssociationArrayOutput) ToSecurityGroupVpcAssociationArrayOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationArrayOutput

type SecurityGroupVpcAssociationInput

type SecurityGroupVpcAssociationInput interface {
	pulumi.Input

	ToSecurityGroupVpcAssociationOutput() SecurityGroupVpcAssociationOutput
	ToSecurityGroupVpcAssociationOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationOutput
}

type SecurityGroupVpcAssociationMap

type SecurityGroupVpcAssociationMap map[string]SecurityGroupVpcAssociationInput

func (SecurityGroupVpcAssociationMap) ElementType

func (SecurityGroupVpcAssociationMap) ToSecurityGroupVpcAssociationMapOutput

func (i SecurityGroupVpcAssociationMap) ToSecurityGroupVpcAssociationMapOutput() SecurityGroupVpcAssociationMapOutput

func (SecurityGroupVpcAssociationMap) ToSecurityGroupVpcAssociationMapOutputWithContext

func (i SecurityGroupVpcAssociationMap) ToSecurityGroupVpcAssociationMapOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationMapOutput

type SecurityGroupVpcAssociationMapInput

type SecurityGroupVpcAssociationMapInput interface {
	pulumi.Input

	ToSecurityGroupVpcAssociationMapOutput() SecurityGroupVpcAssociationMapOutput
	ToSecurityGroupVpcAssociationMapOutputWithContext(context.Context) SecurityGroupVpcAssociationMapOutput
}

SecurityGroupVpcAssociationMapInput is an input type that accepts SecurityGroupVpcAssociationMap and SecurityGroupVpcAssociationMapOutput values. You can construct a concrete instance of `SecurityGroupVpcAssociationMapInput` via:

SecurityGroupVpcAssociationMap{ "key": SecurityGroupVpcAssociationArgs{...} }

type SecurityGroupVpcAssociationMapOutput

type SecurityGroupVpcAssociationMapOutput struct{ *pulumi.OutputState }

func (SecurityGroupVpcAssociationMapOutput) ElementType

func (SecurityGroupVpcAssociationMapOutput) MapIndex

func (SecurityGroupVpcAssociationMapOutput) ToSecurityGroupVpcAssociationMapOutput

func (o SecurityGroupVpcAssociationMapOutput) ToSecurityGroupVpcAssociationMapOutput() SecurityGroupVpcAssociationMapOutput

func (SecurityGroupVpcAssociationMapOutput) ToSecurityGroupVpcAssociationMapOutputWithContext

func (o SecurityGroupVpcAssociationMapOutput) ToSecurityGroupVpcAssociationMapOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationMapOutput

type SecurityGroupVpcAssociationOutput

type SecurityGroupVpcAssociationOutput struct{ *pulumi.OutputState }

func (SecurityGroupVpcAssociationOutput) ElementType

func (SecurityGroupVpcAssociationOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (SecurityGroupVpcAssociationOutput) SecurityGroupId

The ID of the security group.

func (SecurityGroupVpcAssociationOutput) State

State of the VPC association. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroupVpcAssociation.html) for possible values.

func (SecurityGroupVpcAssociationOutput) Timeouts

func (SecurityGroupVpcAssociationOutput) ToSecurityGroupVpcAssociationOutput

func (o SecurityGroupVpcAssociationOutput) ToSecurityGroupVpcAssociationOutput() SecurityGroupVpcAssociationOutput

func (SecurityGroupVpcAssociationOutput) ToSecurityGroupVpcAssociationOutputWithContext

func (o SecurityGroupVpcAssociationOutput) ToSecurityGroupVpcAssociationOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationOutput

func (SecurityGroupVpcAssociationOutput) VpcId

The ID of the VPC to make the association with.

type SecurityGroupVpcAssociationState

type SecurityGroupVpcAssociationState struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringPtrInput
	// State of the VPC association. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroupVpcAssociation.html) for possible values.
	State    pulumi.StringPtrInput
	Timeouts SecurityGroupVpcAssociationTimeoutsPtrInput
	// The ID of the VPC to make the association with.
	VpcId pulumi.StringPtrInput
}

func (SecurityGroupVpcAssociationState) ElementType

type SecurityGroupVpcAssociationTimeouts

type SecurityGroupVpcAssociationTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
}

type SecurityGroupVpcAssociationTimeoutsArgs

type SecurityGroupVpcAssociationTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
}

func (SecurityGroupVpcAssociationTimeoutsArgs) ElementType

func (SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsOutput

func (i SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsOutput() SecurityGroupVpcAssociationTimeoutsOutput

func (SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsOutputWithContext

func (i SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationTimeoutsOutput

func (SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsPtrOutput

func (i SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsPtrOutput() SecurityGroupVpcAssociationTimeoutsPtrOutput

func (SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsPtrOutputWithContext

func (i SecurityGroupVpcAssociationTimeoutsArgs) ToSecurityGroupVpcAssociationTimeoutsPtrOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationTimeoutsPtrOutput

type SecurityGroupVpcAssociationTimeoutsInput

type SecurityGroupVpcAssociationTimeoutsInput interface {
	pulumi.Input

	ToSecurityGroupVpcAssociationTimeoutsOutput() SecurityGroupVpcAssociationTimeoutsOutput
	ToSecurityGroupVpcAssociationTimeoutsOutputWithContext(context.Context) SecurityGroupVpcAssociationTimeoutsOutput
}

SecurityGroupVpcAssociationTimeoutsInput is an input type that accepts SecurityGroupVpcAssociationTimeoutsArgs and SecurityGroupVpcAssociationTimeoutsOutput values. You can construct a concrete instance of `SecurityGroupVpcAssociationTimeoutsInput` via:

SecurityGroupVpcAssociationTimeoutsArgs{...}

type SecurityGroupVpcAssociationTimeoutsOutput

type SecurityGroupVpcAssociationTimeoutsOutput struct{ *pulumi.OutputState }

func (SecurityGroupVpcAssociationTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SecurityGroupVpcAssociationTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SecurityGroupVpcAssociationTimeoutsOutput) ElementType

func (SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsOutput

func (o SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsOutput() SecurityGroupVpcAssociationTimeoutsOutput

func (SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsOutputWithContext

func (o SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationTimeoutsOutput

func (SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutput

func (o SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutput() SecurityGroupVpcAssociationTimeoutsPtrOutput

func (SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutputWithContext

func (o SecurityGroupVpcAssociationTimeoutsOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationTimeoutsPtrOutput

type SecurityGroupVpcAssociationTimeoutsPtrInput

type SecurityGroupVpcAssociationTimeoutsPtrInput interface {
	pulumi.Input

	ToSecurityGroupVpcAssociationTimeoutsPtrOutput() SecurityGroupVpcAssociationTimeoutsPtrOutput
	ToSecurityGroupVpcAssociationTimeoutsPtrOutputWithContext(context.Context) SecurityGroupVpcAssociationTimeoutsPtrOutput
}

SecurityGroupVpcAssociationTimeoutsPtrInput is an input type that accepts SecurityGroupVpcAssociationTimeoutsArgs, SecurityGroupVpcAssociationTimeoutsPtr and SecurityGroupVpcAssociationTimeoutsPtrOutput values. You can construct a concrete instance of `SecurityGroupVpcAssociationTimeoutsPtrInput` via:

        SecurityGroupVpcAssociationTimeoutsArgs{...}

or:

        nil

type SecurityGroupVpcAssociationTimeoutsPtrOutput

type SecurityGroupVpcAssociationTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (SecurityGroupVpcAssociationTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SecurityGroupVpcAssociationTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SecurityGroupVpcAssociationTimeoutsPtrOutput) Elem

func (SecurityGroupVpcAssociationTimeoutsPtrOutput) ElementType

func (SecurityGroupVpcAssociationTimeoutsPtrOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutput

func (o SecurityGroupVpcAssociationTimeoutsPtrOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutput() SecurityGroupVpcAssociationTimeoutsPtrOutput

func (SecurityGroupVpcAssociationTimeoutsPtrOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutputWithContext

func (o SecurityGroupVpcAssociationTimeoutsPtrOutput) ToSecurityGroupVpcAssociationTimeoutsPtrOutputWithContext(ctx context.Context) SecurityGroupVpcAssociationTimeoutsPtrOutput

Jump to

Keyboard shortcuts

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