globalaccelerator

package
v6.32.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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 Accelerator

type Accelerator struct {
	pulumi.CustomResourceState

	// The attributes of the accelerator. Fields documented below.
	Attributes AcceleratorAttributesPtrOutput `pulumi:"attributes"`
	// The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// The Domain Name System (DNS) name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses. For example, `a1234567890abcdef.dualstack.awsglobalaccelerator.com`.
	DualStackDnsName pulumi.StringOutput `pulumi:"dualStackDnsName"`
	// Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// -  The Global Accelerator Route 53 zone ID that can be used to
	//    route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute
	//    is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.
	HostedZoneId pulumi.StringOutput `pulumi:"hostedZoneId"`
	// The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK`.
	IpAddressType pulumi.StringPtrOutput `pulumi:"ipAddressType"`
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayOutput `pulumi:"ipAddresses"`
	// IP address set associated with the accelerator.
	IpSets AcceleratorIpSetArrayOutput `pulumi:"ipSets"`
	// The name of the accelerator.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Creates a Global Accelerator accelerator.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := globalaccelerator.NewAccelerator(ctx, "example", &globalaccelerator.AcceleratorArgs{
			Name:          pulumi.String("Example"),
			IpAddressType: pulumi.String("IPV4"),
			IpAddresses: pulumi.StringArray{
				pulumi.String("1.2.3.4"),
			},
			Enabled: pulumi.Bool(true),
			Attributes: &globalaccelerator.AcceleratorAttributesArgs{
				FlowLogsEnabled:  pulumi.Bool(true),
				FlowLogsS3Bucket: pulumi.String("example-bucket"),
				FlowLogsS3Prefix: pulumi.String("flow-logs/"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Global Accelerator accelerators using the `arn`. For example:

```sh $ pulumi import aws:globalaccelerator/accelerator:Accelerator example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ```

func GetAccelerator

func GetAccelerator(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AcceleratorState, opts ...pulumi.ResourceOption) (*Accelerator, error)

GetAccelerator gets an existing Accelerator 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 NewAccelerator

func NewAccelerator(ctx *pulumi.Context,
	name string, args *AcceleratorArgs, opts ...pulumi.ResourceOption) (*Accelerator, error)

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

func (*Accelerator) ElementType

func (*Accelerator) ElementType() reflect.Type

func (*Accelerator) ToAcceleratorOutput

func (i *Accelerator) ToAcceleratorOutput() AcceleratorOutput

func (*Accelerator) ToAcceleratorOutputWithContext

func (i *Accelerator) ToAcceleratorOutputWithContext(ctx context.Context) AcceleratorOutput

type AcceleratorArgs

type AcceleratorArgs struct {
	// The attributes of the accelerator. Fields documented below.
	Attributes AcceleratorAttributesPtrInput
	// Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
	Enabled pulumi.BoolPtrInput
	// The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK`.
	IpAddressType pulumi.StringPtrInput
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayInput
	// The name of the accelerator.
	Name 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
}

The set of arguments for constructing a Accelerator resource.

func (AcceleratorArgs) ElementType

func (AcceleratorArgs) ElementType() reflect.Type

type AcceleratorArray

type AcceleratorArray []AcceleratorInput

func (AcceleratorArray) ElementType

func (AcceleratorArray) ElementType() reflect.Type

func (AcceleratorArray) ToAcceleratorArrayOutput

func (i AcceleratorArray) ToAcceleratorArrayOutput() AcceleratorArrayOutput

func (AcceleratorArray) ToAcceleratorArrayOutputWithContext

func (i AcceleratorArray) ToAcceleratorArrayOutputWithContext(ctx context.Context) AcceleratorArrayOutput

type AcceleratorArrayInput

type AcceleratorArrayInput interface {
	pulumi.Input

	ToAcceleratorArrayOutput() AcceleratorArrayOutput
	ToAcceleratorArrayOutputWithContext(context.Context) AcceleratorArrayOutput
}

AcceleratorArrayInput is an input type that accepts AcceleratorArray and AcceleratorArrayOutput values. You can construct a concrete instance of `AcceleratorArrayInput` via:

AcceleratorArray{ AcceleratorArgs{...} }

type AcceleratorArrayOutput

type AcceleratorArrayOutput struct{ *pulumi.OutputState }

func (AcceleratorArrayOutput) ElementType

func (AcceleratorArrayOutput) ElementType() reflect.Type

func (AcceleratorArrayOutput) Index

func (AcceleratorArrayOutput) ToAcceleratorArrayOutput

func (o AcceleratorArrayOutput) ToAcceleratorArrayOutput() AcceleratorArrayOutput

func (AcceleratorArrayOutput) ToAcceleratorArrayOutputWithContext

func (o AcceleratorArrayOutput) ToAcceleratorArrayOutputWithContext(ctx context.Context) AcceleratorArrayOutput

type AcceleratorAttributes

type AcceleratorAttributes struct {
	// Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
	FlowLogsEnabled *bool `pulumi:"flowLogsEnabled"`
	// The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Bucket *string `pulumi:"flowLogsS3Bucket"`
	// The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Prefix *string `pulumi:"flowLogsS3Prefix"`
}

type AcceleratorAttributesArgs

type AcceleratorAttributesArgs struct {
	// Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
	FlowLogsEnabled pulumi.BoolPtrInput `pulumi:"flowLogsEnabled"`
	// The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Bucket pulumi.StringPtrInput `pulumi:"flowLogsS3Bucket"`
	// The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Prefix pulumi.StringPtrInput `pulumi:"flowLogsS3Prefix"`
}

func (AcceleratorAttributesArgs) ElementType

func (AcceleratorAttributesArgs) ElementType() reflect.Type

func (AcceleratorAttributesArgs) ToAcceleratorAttributesOutput

func (i AcceleratorAttributesArgs) ToAcceleratorAttributesOutput() AcceleratorAttributesOutput

func (AcceleratorAttributesArgs) ToAcceleratorAttributesOutputWithContext

func (i AcceleratorAttributesArgs) ToAcceleratorAttributesOutputWithContext(ctx context.Context) AcceleratorAttributesOutput

func (AcceleratorAttributesArgs) ToAcceleratorAttributesPtrOutput

func (i AcceleratorAttributesArgs) ToAcceleratorAttributesPtrOutput() AcceleratorAttributesPtrOutput

func (AcceleratorAttributesArgs) ToAcceleratorAttributesPtrOutputWithContext

func (i AcceleratorAttributesArgs) ToAcceleratorAttributesPtrOutputWithContext(ctx context.Context) AcceleratorAttributesPtrOutput

type AcceleratorAttributesInput

type AcceleratorAttributesInput interface {
	pulumi.Input

	ToAcceleratorAttributesOutput() AcceleratorAttributesOutput
	ToAcceleratorAttributesOutputWithContext(context.Context) AcceleratorAttributesOutput
}

AcceleratorAttributesInput is an input type that accepts AcceleratorAttributesArgs and AcceleratorAttributesOutput values. You can construct a concrete instance of `AcceleratorAttributesInput` via:

AcceleratorAttributesArgs{...}

type AcceleratorAttributesOutput

type AcceleratorAttributesOutput struct{ *pulumi.OutputState }

func (AcceleratorAttributesOutput) ElementType

func (AcceleratorAttributesOutput) FlowLogsEnabled

func (o AcceleratorAttributesOutput) FlowLogsEnabled() pulumi.BoolPtrOutput

Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.

func (AcceleratorAttributesOutput) FlowLogsS3Bucket

func (o AcceleratorAttributesOutput) FlowLogsS3Bucket() pulumi.StringPtrOutput

The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (AcceleratorAttributesOutput) FlowLogsS3Prefix

func (o AcceleratorAttributesOutput) FlowLogsS3Prefix() pulumi.StringPtrOutput

The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (AcceleratorAttributesOutput) ToAcceleratorAttributesOutput

func (o AcceleratorAttributesOutput) ToAcceleratorAttributesOutput() AcceleratorAttributesOutput

func (AcceleratorAttributesOutput) ToAcceleratorAttributesOutputWithContext

func (o AcceleratorAttributesOutput) ToAcceleratorAttributesOutputWithContext(ctx context.Context) AcceleratorAttributesOutput

func (AcceleratorAttributesOutput) ToAcceleratorAttributesPtrOutput

func (o AcceleratorAttributesOutput) ToAcceleratorAttributesPtrOutput() AcceleratorAttributesPtrOutput

func (AcceleratorAttributesOutput) ToAcceleratorAttributesPtrOutputWithContext

func (o AcceleratorAttributesOutput) ToAcceleratorAttributesPtrOutputWithContext(ctx context.Context) AcceleratorAttributesPtrOutput

type AcceleratorAttributesPtrInput

type AcceleratorAttributesPtrInput interface {
	pulumi.Input

	ToAcceleratorAttributesPtrOutput() AcceleratorAttributesPtrOutput
	ToAcceleratorAttributesPtrOutputWithContext(context.Context) AcceleratorAttributesPtrOutput
}

AcceleratorAttributesPtrInput is an input type that accepts AcceleratorAttributesArgs, AcceleratorAttributesPtr and AcceleratorAttributesPtrOutput values. You can construct a concrete instance of `AcceleratorAttributesPtrInput` via:

        AcceleratorAttributesArgs{...}

or:

        nil

type AcceleratorAttributesPtrOutput

type AcceleratorAttributesPtrOutput struct{ *pulumi.OutputState }

func (AcceleratorAttributesPtrOutput) Elem

func (AcceleratorAttributesPtrOutput) ElementType

func (AcceleratorAttributesPtrOutput) FlowLogsEnabled

Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.

func (AcceleratorAttributesPtrOutput) FlowLogsS3Bucket

The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (AcceleratorAttributesPtrOutput) FlowLogsS3Prefix

The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (AcceleratorAttributesPtrOutput) ToAcceleratorAttributesPtrOutput

func (o AcceleratorAttributesPtrOutput) ToAcceleratorAttributesPtrOutput() AcceleratorAttributesPtrOutput

func (AcceleratorAttributesPtrOutput) ToAcceleratorAttributesPtrOutputWithContext

func (o AcceleratorAttributesPtrOutput) ToAcceleratorAttributesPtrOutputWithContext(ctx context.Context) AcceleratorAttributesPtrOutput

type AcceleratorInput

type AcceleratorInput interface {
	pulumi.Input

	ToAcceleratorOutput() AcceleratorOutput
	ToAcceleratorOutputWithContext(ctx context.Context) AcceleratorOutput
}

type AcceleratorIpSet

type AcceleratorIpSet struct {
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses []string `pulumi:"ipAddresses"`
	// The type of IP addresses included in this IP set.
	IpFamily *string `pulumi:"ipFamily"`
}

type AcceleratorIpSetArgs

type AcceleratorIpSetArgs struct {
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
	// The type of IP addresses included in this IP set.
	IpFamily pulumi.StringPtrInput `pulumi:"ipFamily"`
}

func (AcceleratorIpSetArgs) ElementType

func (AcceleratorIpSetArgs) ElementType() reflect.Type

func (AcceleratorIpSetArgs) ToAcceleratorIpSetOutput

func (i AcceleratorIpSetArgs) ToAcceleratorIpSetOutput() AcceleratorIpSetOutput

func (AcceleratorIpSetArgs) ToAcceleratorIpSetOutputWithContext

func (i AcceleratorIpSetArgs) ToAcceleratorIpSetOutputWithContext(ctx context.Context) AcceleratorIpSetOutput

type AcceleratorIpSetArray

type AcceleratorIpSetArray []AcceleratorIpSetInput

func (AcceleratorIpSetArray) ElementType

func (AcceleratorIpSetArray) ElementType() reflect.Type

func (AcceleratorIpSetArray) ToAcceleratorIpSetArrayOutput

func (i AcceleratorIpSetArray) ToAcceleratorIpSetArrayOutput() AcceleratorIpSetArrayOutput

func (AcceleratorIpSetArray) ToAcceleratorIpSetArrayOutputWithContext

func (i AcceleratorIpSetArray) ToAcceleratorIpSetArrayOutputWithContext(ctx context.Context) AcceleratorIpSetArrayOutput

type AcceleratorIpSetArrayInput

type AcceleratorIpSetArrayInput interface {
	pulumi.Input

	ToAcceleratorIpSetArrayOutput() AcceleratorIpSetArrayOutput
	ToAcceleratorIpSetArrayOutputWithContext(context.Context) AcceleratorIpSetArrayOutput
}

AcceleratorIpSetArrayInput is an input type that accepts AcceleratorIpSetArray and AcceleratorIpSetArrayOutput values. You can construct a concrete instance of `AcceleratorIpSetArrayInput` via:

AcceleratorIpSetArray{ AcceleratorIpSetArgs{...} }

type AcceleratorIpSetArrayOutput

type AcceleratorIpSetArrayOutput struct{ *pulumi.OutputState }

func (AcceleratorIpSetArrayOutput) ElementType

func (AcceleratorIpSetArrayOutput) Index

func (AcceleratorIpSetArrayOutput) ToAcceleratorIpSetArrayOutput

func (o AcceleratorIpSetArrayOutput) ToAcceleratorIpSetArrayOutput() AcceleratorIpSetArrayOutput

func (AcceleratorIpSetArrayOutput) ToAcceleratorIpSetArrayOutputWithContext

func (o AcceleratorIpSetArrayOutput) ToAcceleratorIpSetArrayOutputWithContext(ctx context.Context) AcceleratorIpSetArrayOutput

type AcceleratorIpSetInput

type AcceleratorIpSetInput interface {
	pulumi.Input

	ToAcceleratorIpSetOutput() AcceleratorIpSetOutput
	ToAcceleratorIpSetOutputWithContext(context.Context) AcceleratorIpSetOutput
}

AcceleratorIpSetInput is an input type that accepts AcceleratorIpSetArgs and AcceleratorIpSetOutput values. You can construct a concrete instance of `AcceleratorIpSetInput` via:

AcceleratorIpSetArgs{...}

type AcceleratorIpSetOutput

type AcceleratorIpSetOutput struct{ *pulumi.OutputState }

func (AcceleratorIpSetOutput) ElementType

func (AcceleratorIpSetOutput) ElementType() reflect.Type

func (AcceleratorIpSetOutput) IpAddresses

The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.

func (AcceleratorIpSetOutput) IpFamily

The type of IP addresses included in this IP set.

func (AcceleratorIpSetOutput) ToAcceleratorIpSetOutput

func (o AcceleratorIpSetOutput) ToAcceleratorIpSetOutput() AcceleratorIpSetOutput

func (AcceleratorIpSetOutput) ToAcceleratorIpSetOutputWithContext

func (o AcceleratorIpSetOutput) ToAcceleratorIpSetOutputWithContext(ctx context.Context) AcceleratorIpSetOutput

type AcceleratorMap

type AcceleratorMap map[string]AcceleratorInput

func (AcceleratorMap) ElementType

func (AcceleratorMap) ElementType() reflect.Type

func (AcceleratorMap) ToAcceleratorMapOutput

func (i AcceleratorMap) ToAcceleratorMapOutput() AcceleratorMapOutput

func (AcceleratorMap) ToAcceleratorMapOutputWithContext

func (i AcceleratorMap) ToAcceleratorMapOutputWithContext(ctx context.Context) AcceleratorMapOutput

type AcceleratorMapInput

type AcceleratorMapInput interface {
	pulumi.Input

	ToAcceleratorMapOutput() AcceleratorMapOutput
	ToAcceleratorMapOutputWithContext(context.Context) AcceleratorMapOutput
}

AcceleratorMapInput is an input type that accepts AcceleratorMap and AcceleratorMapOutput values. You can construct a concrete instance of `AcceleratorMapInput` via:

AcceleratorMap{ "key": AcceleratorArgs{...} }

type AcceleratorMapOutput

type AcceleratorMapOutput struct{ *pulumi.OutputState }

func (AcceleratorMapOutput) ElementType

func (AcceleratorMapOutput) ElementType() reflect.Type

func (AcceleratorMapOutput) MapIndex

func (AcceleratorMapOutput) ToAcceleratorMapOutput

func (o AcceleratorMapOutput) ToAcceleratorMapOutput() AcceleratorMapOutput

func (AcceleratorMapOutput) ToAcceleratorMapOutputWithContext

func (o AcceleratorMapOutput) ToAcceleratorMapOutputWithContext(ctx context.Context) AcceleratorMapOutput

type AcceleratorOutput

type AcceleratorOutput struct{ *pulumi.OutputState }

func (AcceleratorOutput) Attributes

The attributes of the accelerator. Fields documented below.

func (AcceleratorOutput) DnsName

The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.

func (AcceleratorOutput) DualStackDnsName

func (o AcceleratorOutput) DualStackDnsName() pulumi.StringOutput

The Domain Name System (DNS) name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses. For example, `a1234567890abcdef.dualstack.awsglobalaccelerator.com`.

func (AcceleratorOutput) ElementType

func (AcceleratorOutput) ElementType() reflect.Type

func (AcceleratorOutput) Enabled

Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.

func (AcceleratorOutput) HostedZoneId

func (o AcceleratorOutput) HostedZoneId() pulumi.StringOutput

func (AcceleratorOutput) IpAddressType

func (o AcceleratorOutput) IpAddressType() pulumi.StringPtrOutput

The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK`.

func (AcceleratorOutput) IpAddresses

func (o AcceleratorOutput) IpAddresses() pulumi.StringArrayOutput

The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.

func (AcceleratorOutput) IpSets

IP address set associated with the accelerator.

func (AcceleratorOutput) Name

The name of the accelerator.

func (AcceleratorOutput) 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 (AcceleratorOutput) TagsAll deprecated

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

Deprecated: Please use `tags` instead.

func (AcceleratorOutput) ToAcceleratorOutput

func (o AcceleratorOutput) ToAcceleratorOutput() AcceleratorOutput

func (AcceleratorOutput) ToAcceleratorOutputWithContext

func (o AcceleratorOutput) ToAcceleratorOutputWithContext(ctx context.Context) AcceleratorOutput

type AcceleratorState

type AcceleratorState struct {
	// The attributes of the accelerator. Fields documented below.
	Attributes AcceleratorAttributesPtrInput
	// The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.
	DnsName pulumi.StringPtrInput
	// The Domain Name System (DNS) name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses. For example, `a1234567890abcdef.dualstack.awsglobalaccelerator.com`.
	DualStackDnsName pulumi.StringPtrInput
	// Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
	Enabled pulumi.BoolPtrInput
	// -  The Global Accelerator Route 53 zone ID that can be used to
	//    route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute
	//    is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.
	HostedZoneId pulumi.StringPtrInput
	// The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK`.
	IpAddressType pulumi.StringPtrInput
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayInput
	// IP address set associated with the accelerator.
	IpSets AcceleratorIpSetArrayInput
	// The name of the accelerator.
	Name 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (AcceleratorState) ElementType

func (AcceleratorState) ElementType() reflect.Type

type CustomRoutingAccelerator

type CustomRoutingAccelerator struct {
	pulumi.CustomResourceState

	// The attributes of the accelerator. Fields documented below.
	Attributes CustomRoutingAcceleratorAttributesPtrOutput `pulumi:"attributes"`
	// The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// -  The Global Accelerator Route 53 zone ID that can be used to
	//    route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute
	//    is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.
	HostedZoneId pulumi.StringOutput `pulumi:"hostedZoneId"`
	// The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.
	IpAddressType pulumi.StringPtrOutput `pulumi:"ipAddressType"`
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayOutput `pulumi:"ipAddresses"`
	// IP address set associated with the accelerator.
	IpSets CustomRoutingAcceleratorIpSetArrayOutput `pulumi:"ipSets"`
	// The name of a custom routing accelerator.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Creates a Global Accelerator custom routing accelerator.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := globalaccelerator.NewCustomRoutingAccelerator(ctx, "example", &globalaccelerator.CustomRoutingAcceleratorArgs{
			Name:          pulumi.String("Example"),
			IpAddressType: pulumi.String("IPV4"),
			IpAddresses: pulumi.StringArray{
				pulumi.String("1.2.3.4"),
			},
			Enabled: pulumi.Bool(true),
			Attributes: &globalaccelerator.CustomRoutingAcceleratorAttributesArgs{
				FlowLogsEnabled:  pulumi.Bool(true),
				FlowLogsS3Bucket: pulumi.String("example-bucket"),
				FlowLogsS3Prefix: pulumi.String("flow-logs/"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Global Accelerator custom routing accelerators using the `arn`. For example:

```sh $ pulumi import aws:globalaccelerator/customRoutingAccelerator:CustomRoutingAccelerator example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ```

func GetCustomRoutingAccelerator

func GetCustomRoutingAccelerator(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomRoutingAcceleratorState, opts ...pulumi.ResourceOption) (*CustomRoutingAccelerator, error)

GetCustomRoutingAccelerator gets an existing CustomRoutingAccelerator 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 NewCustomRoutingAccelerator

func NewCustomRoutingAccelerator(ctx *pulumi.Context,
	name string, args *CustomRoutingAcceleratorArgs, opts ...pulumi.ResourceOption) (*CustomRoutingAccelerator, error)

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

func (*CustomRoutingAccelerator) ElementType

func (*CustomRoutingAccelerator) ElementType() reflect.Type

func (*CustomRoutingAccelerator) ToCustomRoutingAcceleratorOutput

func (i *CustomRoutingAccelerator) ToCustomRoutingAcceleratorOutput() CustomRoutingAcceleratorOutput

func (*CustomRoutingAccelerator) ToCustomRoutingAcceleratorOutputWithContext

func (i *CustomRoutingAccelerator) ToCustomRoutingAcceleratorOutputWithContext(ctx context.Context) CustomRoutingAcceleratorOutput

type CustomRoutingAcceleratorArgs

type CustomRoutingAcceleratorArgs struct {
	// The attributes of the accelerator. Fields documented below.
	Attributes CustomRoutingAcceleratorAttributesPtrInput
	// Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
	Enabled pulumi.BoolPtrInput
	// The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.
	IpAddressType pulumi.StringPtrInput
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayInput
	// The name of a custom routing accelerator.
	Name 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
}

The set of arguments for constructing a CustomRoutingAccelerator resource.

func (CustomRoutingAcceleratorArgs) ElementType

type CustomRoutingAcceleratorArray

type CustomRoutingAcceleratorArray []CustomRoutingAcceleratorInput

func (CustomRoutingAcceleratorArray) ElementType

func (CustomRoutingAcceleratorArray) ToCustomRoutingAcceleratorArrayOutput

func (i CustomRoutingAcceleratorArray) ToCustomRoutingAcceleratorArrayOutput() CustomRoutingAcceleratorArrayOutput

func (CustomRoutingAcceleratorArray) ToCustomRoutingAcceleratorArrayOutputWithContext

func (i CustomRoutingAcceleratorArray) ToCustomRoutingAcceleratorArrayOutputWithContext(ctx context.Context) CustomRoutingAcceleratorArrayOutput

type CustomRoutingAcceleratorArrayInput

type CustomRoutingAcceleratorArrayInput interface {
	pulumi.Input

	ToCustomRoutingAcceleratorArrayOutput() CustomRoutingAcceleratorArrayOutput
	ToCustomRoutingAcceleratorArrayOutputWithContext(context.Context) CustomRoutingAcceleratorArrayOutput
}

CustomRoutingAcceleratorArrayInput is an input type that accepts CustomRoutingAcceleratorArray and CustomRoutingAcceleratorArrayOutput values. You can construct a concrete instance of `CustomRoutingAcceleratorArrayInput` via:

CustomRoutingAcceleratorArray{ CustomRoutingAcceleratorArgs{...} }

type CustomRoutingAcceleratorArrayOutput

type CustomRoutingAcceleratorArrayOutput struct{ *pulumi.OutputState }

func (CustomRoutingAcceleratorArrayOutput) ElementType

func (CustomRoutingAcceleratorArrayOutput) Index

func (CustomRoutingAcceleratorArrayOutput) ToCustomRoutingAcceleratorArrayOutput

func (o CustomRoutingAcceleratorArrayOutput) ToCustomRoutingAcceleratorArrayOutput() CustomRoutingAcceleratorArrayOutput

func (CustomRoutingAcceleratorArrayOutput) ToCustomRoutingAcceleratorArrayOutputWithContext

func (o CustomRoutingAcceleratorArrayOutput) ToCustomRoutingAcceleratorArrayOutputWithContext(ctx context.Context) CustomRoutingAcceleratorArrayOutput

type CustomRoutingAcceleratorAttributes

type CustomRoutingAcceleratorAttributes struct {
	// Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
	FlowLogsEnabled *bool `pulumi:"flowLogsEnabled"`
	// The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Bucket *string `pulumi:"flowLogsS3Bucket"`
	// The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Prefix *string `pulumi:"flowLogsS3Prefix"`
}

type CustomRoutingAcceleratorAttributesArgs

type CustomRoutingAcceleratorAttributesArgs struct {
	// Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.
	FlowLogsEnabled pulumi.BoolPtrInput `pulumi:"flowLogsEnabled"`
	// The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Bucket pulumi.StringPtrInput `pulumi:"flowLogsS3Bucket"`
	// The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.
	FlowLogsS3Prefix pulumi.StringPtrInput `pulumi:"flowLogsS3Prefix"`
}

func (CustomRoutingAcceleratorAttributesArgs) ElementType

func (CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesOutput

func (i CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesOutput() CustomRoutingAcceleratorAttributesOutput

func (CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesOutputWithContext

func (i CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesOutputWithContext(ctx context.Context) CustomRoutingAcceleratorAttributesOutput

func (CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesPtrOutput

func (i CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesPtrOutput() CustomRoutingAcceleratorAttributesPtrOutput

func (CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesPtrOutputWithContext

func (i CustomRoutingAcceleratorAttributesArgs) ToCustomRoutingAcceleratorAttributesPtrOutputWithContext(ctx context.Context) CustomRoutingAcceleratorAttributesPtrOutput

type CustomRoutingAcceleratorAttributesInput

type CustomRoutingAcceleratorAttributesInput interface {
	pulumi.Input

	ToCustomRoutingAcceleratorAttributesOutput() CustomRoutingAcceleratorAttributesOutput
	ToCustomRoutingAcceleratorAttributesOutputWithContext(context.Context) CustomRoutingAcceleratorAttributesOutput
}

CustomRoutingAcceleratorAttributesInput is an input type that accepts CustomRoutingAcceleratorAttributesArgs and CustomRoutingAcceleratorAttributesOutput values. You can construct a concrete instance of `CustomRoutingAcceleratorAttributesInput` via:

CustomRoutingAcceleratorAttributesArgs{...}

type CustomRoutingAcceleratorAttributesOutput

type CustomRoutingAcceleratorAttributesOutput struct{ *pulumi.OutputState }

func (CustomRoutingAcceleratorAttributesOutput) ElementType

func (CustomRoutingAcceleratorAttributesOutput) FlowLogsEnabled

Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.

func (CustomRoutingAcceleratorAttributesOutput) FlowLogsS3Bucket

The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (CustomRoutingAcceleratorAttributesOutput) FlowLogsS3Prefix

The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesOutput

func (o CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesOutput() CustomRoutingAcceleratorAttributesOutput

func (CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesOutputWithContext

func (o CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesOutputWithContext(ctx context.Context) CustomRoutingAcceleratorAttributesOutput

func (CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesPtrOutput

func (o CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesPtrOutput() CustomRoutingAcceleratorAttributesPtrOutput

func (CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesPtrOutputWithContext

func (o CustomRoutingAcceleratorAttributesOutput) ToCustomRoutingAcceleratorAttributesPtrOutputWithContext(ctx context.Context) CustomRoutingAcceleratorAttributesPtrOutput

type CustomRoutingAcceleratorAttributesPtrInput

type CustomRoutingAcceleratorAttributesPtrInput interface {
	pulumi.Input

	ToCustomRoutingAcceleratorAttributesPtrOutput() CustomRoutingAcceleratorAttributesPtrOutput
	ToCustomRoutingAcceleratorAttributesPtrOutputWithContext(context.Context) CustomRoutingAcceleratorAttributesPtrOutput
}

CustomRoutingAcceleratorAttributesPtrInput is an input type that accepts CustomRoutingAcceleratorAttributesArgs, CustomRoutingAcceleratorAttributesPtr and CustomRoutingAcceleratorAttributesPtrOutput values. You can construct a concrete instance of `CustomRoutingAcceleratorAttributesPtrInput` via:

        CustomRoutingAcceleratorAttributesArgs{...}

or:

        nil

type CustomRoutingAcceleratorAttributesPtrOutput

type CustomRoutingAcceleratorAttributesPtrOutput struct{ *pulumi.OutputState }

func (CustomRoutingAcceleratorAttributesPtrOutput) Elem

func (CustomRoutingAcceleratorAttributesPtrOutput) ElementType

func (CustomRoutingAcceleratorAttributesPtrOutput) FlowLogsEnabled

Indicates whether flow logs are enabled. Defaults to `false`. Valid values: `true`, `false`.

func (CustomRoutingAcceleratorAttributesPtrOutput) FlowLogsS3Bucket

The name of the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (CustomRoutingAcceleratorAttributesPtrOutput) FlowLogsS3Prefix

The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flowLogsEnabled` is `true`.

func (CustomRoutingAcceleratorAttributesPtrOutput) ToCustomRoutingAcceleratorAttributesPtrOutput

func (o CustomRoutingAcceleratorAttributesPtrOutput) ToCustomRoutingAcceleratorAttributesPtrOutput() CustomRoutingAcceleratorAttributesPtrOutput

func (CustomRoutingAcceleratorAttributesPtrOutput) ToCustomRoutingAcceleratorAttributesPtrOutputWithContext

func (o CustomRoutingAcceleratorAttributesPtrOutput) ToCustomRoutingAcceleratorAttributesPtrOutputWithContext(ctx context.Context) CustomRoutingAcceleratorAttributesPtrOutput

type CustomRoutingAcceleratorInput

type CustomRoutingAcceleratorInput interface {
	pulumi.Input

	ToCustomRoutingAcceleratorOutput() CustomRoutingAcceleratorOutput
	ToCustomRoutingAcceleratorOutputWithContext(ctx context.Context) CustomRoutingAcceleratorOutput
}

type CustomRoutingAcceleratorIpSet

type CustomRoutingAcceleratorIpSet struct {
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses []string `pulumi:"ipAddresses"`
	// The type of IP addresses included in this IP set.
	IpFamily *string `pulumi:"ipFamily"`
}

type CustomRoutingAcceleratorIpSetArgs

type CustomRoutingAcceleratorIpSetArgs struct {
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
	// The type of IP addresses included in this IP set.
	IpFamily pulumi.StringPtrInput `pulumi:"ipFamily"`
}

func (CustomRoutingAcceleratorIpSetArgs) ElementType

func (CustomRoutingAcceleratorIpSetArgs) ToCustomRoutingAcceleratorIpSetOutput

func (i CustomRoutingAcceleratorIpSetArgs) ToCustomRoutingAcceleratorIpSetOutput() CustomRoutingAcceleratorIpSetOutput

func (CustomRoutingAcceleratorIpSetArgs) ToCustomRoutingAcceleratorIpSetOutputWithContext

func (i CustomRoutingAcceleratorIpSetArgs) ToCustomRoutingAcceleratorIpSetOutputWithContext(ctx context.Context) CustomRoutingAcceleratorIpSetOutput

type CustomRoutingAcceleratorIpSetArray

type CustomRoutingAcceleratorIpSetArray []CustomRoutingAcceleratorIpSetInput

func (CustomRoutingAcceleratorIpSetArray) ElementType

func (CustomRoutingAcceleratorIpSetArray) ToCustomRoutingAcceleratorIpSetArrayOutput

func (i CustomRoutingAcceleratorIpSetArray) ToCustomRoutingAcceleratorIpSetArrayOutput() CustomRoutingAcceleratorIpSetArrayOutput

func (CustomRoutingAcceleratorIpSetArray) ToCustomRoutingAcceleratorIpSetArrayOutputWithContext

func (i CustomRoutingAcceleratorIpSetArray) ToCustomRoutingAcceleratorIpSetArrayOutputWithContext(ctx context.Context) CustomRoutingAcceleratorIpSetArrayOutput

type CustomRoutingAcceleratorIpSetArrayInput

type CustomRoutingAcceleratorIpSetArrayInput interface {
	pulumi.Input

	ToCustomRoutingAcceleratorIpSetArrayOutput() CustomRoutingAcceleratorIpSetArrayOutput
	ToCustomRoutingAcceleratorIpSetArrayOutputWithContext(context.Context) CustomRoutingAcceleratorIpSetArrayOutput
}

CustomRoutingAcceleratorIpSetArrayInput is an input type that accepts CustomRoutingAcceleratorIpSetArray and CustomRoutingAcceleratorIpSetArrayOutput values. You can construct a concrete instance of `CustomRoutingAcceleratorIpSetArrayInput` via:

CustomRoutingAcceleratorIpSetArray{ CustomRoutingAcceleratorIpSetArgs{...} }

type CustomRoutingAcceleratorIpSetArrayOutput

type CustomRoutingAcceleratorIpSetArrayOutput struct{ *pulumi.OutputState }

func (CustomRoutingAcceleratorIpSetArrayOutput) ElementType

func (CustomRoutingAcceleratorIpSetArrayOutput) Index

func (CustomRoutingAcceleratorIpSetArrayOutput) ToCustomRoutingAcceleratorIpSetArrayOutput

func (o CustomRoutingAcceleratorIpSetArrayOutput) ToCustomRoutingAcceleratorIpSetArrayOutput() CustomRoutingAcceleratorIpSetArrayOutput

func (CustomRoutingAcceleratorIpSetArrayOutput) ToCustomRoutingAcceleratorIpSetArrayOutputWithContext

func (o CustomRoutingAcceleratorIpSetArrayOutput) ToCustomRoutingAcceleratorIpSetArrayOutputWithContext(ctx context.Context) CustomRoutingAcceleratorIpSetArrayOutput

type CustomRoutingAcceleratorIpSetInput

type CustomRoutingAcceleratorIpSetInput interface {
	pulumi.Input

	ToCustomRoutingAcceleratorIpSetOutput() CustomRoutingAcceleratorIpSetOutput
	ToCustomRoutingAcceleratorIpSetOutputWithContext(context.Context) CustomRoutingAcceleratorIpSetOutput
}

CustomRoutingAcceleratorIpSetInput is an input type that accepts CustomRoutingAcceleratorIpSetArgs and CustomRoutingAcceleratorIpSetOutput values. You can construct a concrete instance of `CustomRoutingAcceleratorIpSetInput` via:

CustomRoutingAcceleratorIpSetArgs{...}

type CustomRoutingAcceleratorIpSetOutput

type CustomRoutingAcceleratorIpSetOutput struct{ *pulumi.OutputState }

func (CustomRoutingAcceleratorIpSetOutput) ElementType

func (CustomRoutingAcceleratorIpSetOutput) IpAddresses

The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.

func (CustomRoutingAcceleratorIpSetOutput) IpFamily

The type of IP addresses included in this IP set.

func (CustomRoutingAcceleratorIpSetOutput) ToCustomRoutingAcceleratorIpSetOutput

func (o CustomRoutingAcceleratorIpSetOutput) ToCustomRoutingAcceleratorIpSetOutput() CustomRoutingAcceleratorIpSetOutput

func (CustomRoutingAcceleratorIpSetOutput) ToCustomRoutingAcceleratorIpSetOutputWithContext

func (o CustomRoutingAcceleratorIpSetOutput) ToCustomRoutingAcceleratorIpSetOutputWithContext(ctx context.Context) CustomRoutingAcceleratorIpSetOutput

type CustomRoutingAcceleratorMap

type CustomRoutingAcceleratorMap map[string]CustomRoutingAcceleratorInput

func (CustomRoutingAcceleratorMap) ElementType

func (CustomRoutingAcceleratorMap) ToCustomRoutingAcceleratorMapOutput

func (i CustomRoutingAcceleratorMap) ToCustomRoutingAcceleratorMapOutput() CustomRoutingAcceleratorMapOutput

func (CustomRoutingAcceleratorMap) ToCustomRoutingAcceleratorMapOutputWithContext

func (i CustomRoutingAcceleratorMap) ToCustomRoutingAcceleratorMapOutputWithContext(ctx context.Context) CustomRoutingAcceleratorMapOutput

type CustomRoutingAcceleratorMapInput

type CustomRoutingAcceleratorMapInput interface {
	pulumi.Input

	ToCustomRoutingAcceleratorMapOutput() CustomRoutingAcceleratorMapOutput
	ToCustomRoutingAcceleratorMapOutputWithContext(context.Context) CustomRoutingAcceleratorMapOutput
}

CustomRoutingAcceleratorMapInput is an input type that accepts CustomRoutingAcceleratorMap and CustomRoutingAcceleratorMapOutput values. You can construct a concrete instance of `CustomRoutingAcceleratorMapInput` via:

CustomRoutingAcceleratorMap{ "key": CustomRoutingAcceleratorArgs{...} }

type CustomRoutingAcceleratorMapOutput

type CustomRoutingAcceleratorMapOutput struct{ *pulumi.OutputState }

func (CustomRoutingAcceleratorMapOutput) ElementType

func (CustomRoutingAcceleratorMapOutput) MapIndex

func (CustomRoutingAcceleratorMapOutput) ToCustomRoutingAcceleratorMapOutput

func (o CustomRoutingAcceleratorMapOutput) ToCustomRoutingAcceleratorMapOutput() CustomRoutingAcceleratorMapOutput

func (CustomRoutingAcceleratorMapOutput) ToCustomRoutingAcceleratorMapOutputWithContext

func (o CustomRoutingAcceleratorMapOutput) ToCustomRoutingAcceleratorMapOutputWithContext(ctx context.Context) CustomRoutingAcceleratorMapOutput

type CustomRoutingAcceleratorOutput

type CustomRoutingAcceleratorOutput struct{ *pulumi.OutputState }

func (CustomRoutingAcceleratorOutput) Attributes

The attributes of the accelerator. Fields documented below.

func (CustomRoutingAcceleratorOutput) DnsName

The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.

func (CustomRoutingAcceleratorOutput) ElementType

func (CustomRoutingAcceleratorOutput) Enabled

Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.

func (CustomRoutingAcceleratorOutput) HostedZoneId

func (CustomRoutingAcceleratorOutput) IpAddressType

The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.

func (CustomRoutingAcceleratorOutput) IpAddresses

The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.

func (CustomRoutingAcceleratorOutput) IpSets

IP address set associated with the accelerator.

func (CustomRoutingAcceleratorOutput) Name

The name of a custom routing accelerator.

func (CustomRoutingAcceleratorOutput) 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 (CustomRoutingAcceleratorOutput) TagsAll deprecated

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

Deprecated: Please use `tags` instead.

func (CustomRoutingAcceleratorOutput) ToCustomRoutingAcceleratorOutput

func (o CustomRoutingAcceleratorOutput) ToCustomRoutingAcceleratorOutput() CustomRoutingAcceleratorOutput

func (CustomRoutingAcceleratorOutput) ToCustomRoutingAcceleratorOutputWithContext

func (o CustomRoutingAcceleratorOutput) ToCustomRoutingAcceleratorOutputWithContext(ctx context.Context) CustomRoutingAcceleratorOutput

type CustomRoutingAcceleratorState

type CustomRoutingAcceleratorState struct {
	// The attributes of the accelerator. Fields documented below.
	Attributes CustomRoutingAcceleratorAttributesPtrInput
	// The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.
	DnsName pulumi.StringPtrInput
	// Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
	Enabled pulumi.BoolPtrInput
	// -  The Global Accelerator Route 53 zone ID that can be used to
	//    route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute
	//    is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.
	HostedZoneId pulumi.StringPtrInput
	// The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.
	IpAddressType pulumi.StringPtrInput
	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IpAddresses pulumi.StringArrayInput
	// IP address set associated with the accelerator.
	IpSets CustomRoutingAcceleratorIpSetArrayInput
	// The name of a custom routing accelerator.
	Name 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (CustomRoutingAcceleratorState) ElementType

type CustomRoutingEndpointGroup

type CustomRoutingEndpointGroup struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the custom routing endpoint group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
	DestinationConfigurations CustomRoutingEndpointGroupDestinationConfigurationArrayOutput `pulumi:"destinationConfigurations"`
	// The list of endpoint objects. Fields documented below.
	EndpointConfigurations CustomRoutingEndpointGroupEndpointConfigurationArrayOutput `pulumi:"endpointConfigurations"`
	// The name of the AWS Region where the custom routing endpoint group is located.
	EndpointGroupRegion pulumi.StringOutput `pulumi:"endpointGroupRegion"`
	// The Amazon Resource Name (ARN) of the custom routing listener.
	ListenerArn pulumi.StringOutput `pulumi:"listenerArn"`
}

Provides a Global Accelerator custom routing endpoint group.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := globalaccelerator.NewCustomRoutingEndpointGroup(ctx, "example", &globalaccelerator.CustomRoutingEndpointGroupArgs{
			ListenerArn: pulumi.Any(exampleAwsGlobalacceleratorCustomRoutingListener.Id),
			DestinationConfigurations: globalaccelerator.CustomRoutingEndpointGroupDestinationConfigurationArray{
				&globalaccelerator.CustomRoutingEndpointGroupDestinationConfigurationArgs{
					FromPort: pulumi.Int(80),
					ToPort:   pulumi.Int(8080),
					Protocols: pulumi.StringArray{
						pulumi.String("TCP"),
					},
				},
			},
			EndpointConfigurations: globalaccelerator.CustomRoutingEndpointGroupEndpointConfigurationArray{
				&globalaccelerator.CustomRoutingEndpointGroupEndpointConfigurationArgs{
					EndpointId: pulumi.Any(exampleAwsSubnet.Id),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Global Accelerator custom routing endpoint groups using the `id`. For example:

```sh $ pulumi import aws:globalaccelerator/customRoutingEndpointGroup:CustomRoutingEndpointGroup example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxx/endpoint-group/xxxxxxxx ```

func GetCustomRoutingEndpointGroup

func GetCustomRoutingEndpointGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomRoutingEndpointGroupState, opts ...pulumi.ResourceOption) (*CustomRoutingEndpointGroup, error)

GetCustomRoutingEndpointGroup gets an existing CustomRoutingEndpointGroup 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 NewCustomRoutingEndpointGroup

func NewCustomRoutingEndpointGroup(ctx *pulumi.Context,
	name string, args *CustomRoutingEndpointGroupArgs, opts ...pulumi.ResourceOption) (*CustomRoutingEndpointGroup, error)

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

func (*CustomRoutingEndpointGroup) ElementType

func (*CustomRoutingEndpointGroup) ElementType() reflect.Type

func (*CustomRoutingEndpointGroup) ToCustomRoutingEndpointGroupOutput

func (i *CustomRoutingEndpointGroup) ToCustomRoutingEndpointGroupOutput() CustomRoutingEndpointGroupOutput

func (*CustomRoutingEndpointGroup) ToCustomRoutingEndpointGroupOutputWithContext

func (i *CustomRoutingEndpointGroup) ToCustomRoutingEndpointGroupOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupOutput

type CustomRoutingEndpointGroupArgs

type CustomRoutingEndpointGroupArgs struct {
	// The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
	DestinationConfigurations CustomRoutingEndpointGroupDestinationConfigurationArrayInput
	// The list of endpoint objects. Fields documented below.
	EndpointConfigurations CustomRoutingEndpointGroupEndpointConfigurationArrayInput
	// The name of the AWS Region where the custom routing endpoint group is located.
	EndpointGroupRegion pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the custom routing listener.
	ListenerArn pulumi.StringInput
}

The set of arguments for constructing a CustomRoutingEndpointGroup resource.

func (CustomRoutingEndpointGroupArgs) ElementType

type CustomRoutingEndpointGroupArray

type CustomRoutingEndpointGroupArray []CustomRoutingEndpointGroupInput

func (CustomRoutingEndpointGroupArray) ElementType

func (CustomRoutingEndpointGroupArray) ToCustomRoutingEndpointGroupArrayOutput

func (i CustomRoutingEndpointGroupArray) ToCustomRoutingEndpointGroupArrayOutput() CustomRoutingEndpointGroupArrayOutput

func (CustomRoutingEndpointGroupArray) ToCustomRoutingEndpointGroupArrayOutputWithContext

func (i CustomRoutingEndpointGroupArray) ToCustomRoutingEndpointGroupArrayOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupArrayOutput

type CustomRoutingEndpointGroupArrayInput

type CustomRoutingEndpointGroupArrayInput interface {
	pulumi.Input

	ToCustomRoutingEndpointGroupArrayOutput() CustomRoutingEndpointGroupArrayOutput
	ToCustomRoutingEndpointGroupArrayOutputWithContext(context.Context) CustomRoutingEndpointGroupArrayOutput
}

CustomRoutingEndpointGroupArrayInput is an input type that accepts CustomRoutingEndpointGroupArray and CustomRoutingEndpointGroupArrayOutput values. You can construct a concrete instance of `CustomRoutingEndpointGroupArrayInput` via:

CustomRoutingEndpointGroupArray{ CustomRoutingEndpointGroupArgs{...} }

type CustomRoutingEndpointGroupArrayOutput

type CustomRoutingEndpointGroupArrayOutput struct{ *pulumi.OutputState }

func (CustomRoutingEndpointGroupArrayOutput) ElementType

func (CustomRoutingEndpointGroupArrayOutput) Index

func (CustomRoutingEndpointGroupArrayOutput) ToCustomRoutingEndpointGroupArrayOutput

func (o CustomRoutingEndpointGroupArrayOutput) ToCustomRoutingEndpointGroupArrayOutput() CustomRoutingEndpointGroupArrayOutput

func (CustomRoutingEndpointGroupArrayOutput) ToCustomRoutingEndpointGroupArrayOutputWithContext

func (o CustomRoutingEndpointGroupArrayOutput) ToCustomRoutingEndpointGroupArrayOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupArrayOutput

type CustomRoutingEndpointGroupDestinationConfiguration

type CustomRoutingEndpointGroupDestinationConfiguration struct {
	// The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
	FromPort int `pulumi:"fromPort"`
	// The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either `"TCP"` or `"UDP"`.
	Protocols []string `pulumi:"protocols"`
	// The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
	ToPort int `pulumi:"toPort"`
}

type CustomRoutingEndpointGroupDestinationConfigurationArgs

type CustomRoutingEndpointGroupDestinationConfigurationArgs struct {
	// The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
	FromPort pulumi.IntInput `pulumi:"fromPort"`
	// The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either `"TCP"` or `"UDP"`.
	Protocols pulumi.StringArrayInput `pulumi:"protocols"`
	// The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
	ToPort pulumi.IntInput `pulumi:"toPort"`
}

func (CustomRoutingEndpointGroupDestinationConfigurationArgs) ElementType

func (CustomRoutingEndpointGroupDestinationConfigurationArgs) ToCustomRoutingEndpointGroupDestinationConfigurationOutput

func (CustomRoutingEndpointGroupDestinationConfigurationArgs) ToCustomRoutingEndpointGroupDestinationConfigurationOutputWithContext

func (i CustomRoutingEndpointGroupDestinationConfigurationArgs) ToCustomRoutingEndpointGroupDestinationConfigurationOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupDestinationConfigurationOutput

type CustomRoutingEndpointGroupDestinationConfigurationArray

type CustomRoutingEndpointGroupDestinationConfigurationArray []CustomRoutingEndpointGroupDestinationConfigurationInput

func (CustomRoutingEndpointGroupDestinationConfigurationArray) ElementType

func (CustomRoutingEndpointGroupDestinationConfigurationArray) ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutput

func (i CustomRoutingEndpointGroupDestinationConfigurationArray) ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutput() CustomRoutingEndpointGroupDestinationConfigurationArrayOutput

func (CustomRoutingEndpointGroupDestinationConfigurationArray) ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutputWithContext

func (i CustomRoutingEndpointGroupDestinationConfigurationArray) ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupDestinationConfigurationArrayOutput

type CustomRoutingEndpointGroupDestinationConfigurationArrayInput

type CustomRoutingEndpointGroupDestinationConfigurationArrayInput interface {
	pulumi.Input

	ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutput() CustomRoutingEndpointGroupDestinationConfigurationArrayOutput
	ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutputWithContext(context.Context) CustomRoutingEndpointGroupDestinationConfigurationArrayOutput
}

CustomRoutingEndpointGroupDestinationConfigurationArrayInput is an input type that accepts CustomRoutingEndpointGroupDestinationConfigurationArray and CustomRoutingEndpointGroupDestinationConfigurationArrayOutput values. You can construct a concrete instance of `CustomRoutingEndpointGroupDestinationConfigurationArrayInput` via:

CustomRoutingEndpointGroupDestinationConfigurationArray{ CustomRoutingEndpointGroupDestinationConfigurationArgs{...} }

type CustomRoutingEndpointGroupDestinationConfigurationArrayOutput

type CustomRoutingEndpointGroupDestinationConfigurationArrayOutput struct{ *pulumi.OutputState }

func (CustomRoutingEndpointGroupDestinationConfigurationArrayOutput) ElementType

func (CustomRoutingEndpointGroupDestinationConfigurationArrayOutput) Index

func (CustomRoutingEndpointGroupDestinationConfigurationArrayOutput) ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutput

func (CustomRoutingEndpointGroupDestinationConfigurationArrayOutput) ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutputWithContext

func (o CustomRoutingEndpointGroupDestinationConfigurationArrayOutput) ToCustomRoutingEndpointGroupDestinationConfigurationArrayOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupDestinationConfigurationArrayOutput

type CustomRoutingEndpointGroupDestinationConfigurationInput

type CustomRoutingEndpointGroupDestinationConfigurationInput interface {
	pulumi.Input

	ToCustomRoutingEndpointGroupDestinationConfigurationOutput() CustomRoutingEndpointGroupDestinationConfigurationOutput
	ToCustomRoutingEndpointGroupDestinationConfigurationOutputWithContext(context.Context) CustomRoutingEndpointGroupDestinationConfigurationOutput
}

CustomRoutingEndpointGroupDestinationConfigurationInput is an input type that accepts CustomRoutingEndpointGroupDestinationConfigurationArgs and CustomRoutingEndpointGroupDestinationConfigurationOutput values. You can construct a concrete instance of `CustomRoutingEndpointGroupDestinationConfigurationInput` via:

CustomRoutingEndpointGroupDestinationConfigurationArgs{...}

type CustomRoutingEndpointGroupDestinationConfigurationOutput

type CustomRoutingEndpointGroupDestinationConfigurationOutput struct{ *pulumi.OutputState }

func (CustomRoutingEndpointGroupDestinationConfigurationOutput) ElementType

func (CustomRoutingEndpointGroupDestinationConfigurationOutput) FromPort

The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.

func (CustomRoutingEndpointGroupDestinationConfigurationOutput) Protocols

The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either `"TCP"` or `"UDP"`.

func (CustomRoutingEndpointGroupDestinationConfigurationOutput) ToCustomRoutingEndpointGroupDestinationConfigurationOutput

func (CustomRoutingEndpointGroupDestinationConfigurationOutput) ToCustomRoutingEndpointGroupDestinationConfigurationOutputWithContext

func (o CustomRoutingEndpointGroupDestinationConfigurationOutput) ToCustomRoutingEndpointGroupDestinationConfigurationOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupDestinationConfigurationOutput

func (CustomRoutingEndpointGroupDestinationConfigurationOutput) ToPort

The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.

type CustomRoutingEndpointGroupEndpointConfiguration

type CustomRoutingEndpointGroupEndpointConfiguration struct {
	// An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
	EndpointId *string `pulumi:"endpointId"`
}

type CustomRoutingEndpointGroupEndpointConfigurationArgs

type CustomRoutingEndpointGroupEndpointConfigurationArgs struct {
	// An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
	EndpointId pulumi.StringPtrInput `pulumi:"endpointId"`
}

func (CustomRoutingEndpointGroupEndpointConfigurationArgs) ElementType

func (CustomRoutingEndpointGroupEndpointConfigurationArgs) ToCustomRoutingEndpointGroupEndpointConfigurationOutput

func (i CustomRoutingEndpointGroupEndpointConfigurationArgs) ToCustomRoutingEndpointGroupEndpointConfigurationOutput() CustomRoutingEndpointGroupEndpointConfigurationOutput

func (CustomRoutingEndpointGroupEndpointConfigurationArgs) ToCustomRoutingEndpointGroupEndpointConfigurationOutputWithContext

func (i CustomRoutingEndpointGroupEndpointConfigurationArgs) ToCustomRoutingEndpointGroupEndpointConfigurationOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupEndpointConfigurationOutput

type CustomRoutingEndpointGroupEndpointConfigurationArray

type CustomRoutingEndpointGroupEndpointConfigurationArray []CustomRoutingEndpointGroupEndpointConfigurationInput

func (CustomRoutingEndpointGroupEndpointConfigurationArray) ElementType

func (CustomRoutingEndpointGroupEndpointConfigurationArray) ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutput

func (i CustomRoutingEndpointGroupEndpointConfigurationArray) ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutput() CustomRoutingEndpointGroupEndpointConfigurationArrayOutput

func (CustomRoutingEndpointGroupEndpointConfigurationArray) ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutputWithContext

func (i CustomRoutingEndpointGroupEndpointConfigurationArray) ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupEndpointConfigurationArrayOutput

type CustomRoutingEndpointGroupEndpointConfigurationArrayInput

type CustomRoutingEndpointGroupEndpointConfigurationArrayInput interface {
	pulumi.Input

	ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutput() CustomRoutingEndpointGroupEndpointConfigurationArrayOutput
	ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutputWithContext(context.Context) CustomRoutingEndpointGroupEndpointConfigurationArrayOutput
}

CustomRoutingEndpointGroupEndpointConfigurationArrayInput is an input type that accepts CustomRoutingEndpointGroupEndpointConfigurationArray and CustomRoutingEndpointGroupEndpointConfigurationArrayOutput values. You can construct a concrete instance of `CustomRoutingEndpointGroupEndpointConfigurationArrayInput` via:

CustomRoutingEndpointGroupEndpointConfigurationArray{ CustomRoutingEndpointGroupEndpointConfigurationArgs{...} }

type CustomRoutingEndpointGroupEndpointConfigurationArrayOutput

type CustomRoutingEndpointGroupEndpointConfigurationArrayOutput struct{ *pulumi.OutputState }

func (CustomRoutingEndpointGroupEndpointConfigurationArrayOutput) ElementType

func (CustomRoutingEndpointGroupEndpointConfigurationArrayOutput) Index

func (CustomRoutingEndpointGroupEndpointConfigurationArrayOutput) ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutput

func (CustomRoutingEndpointGroupEndpointConfigurationArrayOutput) ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutputWithContext

func (o CustomRoutingEndpointGroupEndpointConfigurationArrayOutput) ToCustomRoutingEndpointGroupEndpointConfigurationArrayOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupEndpointConfigurationArrayOutput

type CustomRoutingEndpointGroupEndpointConfigurationInput

type CustomRoutingEndpointGroupEndpointConfigurationInput interface {
	pulumi.Input

	ToCustomRoutingEndpointGroupEndpointConfigurationOutput() CustomRoutingEndpointGroupEndpointConfigurationOutput
	ToCustomRoutingEndpointGroupEndpointConfigurationOutputWithContext(context.Context) CustomRoutingEndpointGroupEndpointConfigurationOutput
}

CustomRoutingEndpointGroupEndpointConfigurationInput is an input type that accepts CustomRoutingEndpointGroupEndpointConfigurationArgs and CustomRoutingEndpointGroupEndpointConfigurationOutput values. You can construct a concrete instance of `CustomRoutingEndpointGroupEndpointConfigurationInput` via:

CustomRoutingEndpointGroupEndpointConfigurationArgs{...}

type CustomRoutingEndpointGroupEndpointConfigurationOutput

type CustomRoutingEndpointGroupEndpointConfigurationOutput struct{ *pulumi.OutputState }

func (CustomRoutingEndpointGroupEndpointConfigurationOutput) ElementType

func (CustomRoutingEndpointGroupEndpointConfigurationOutput) EndpointId

An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.

func (CustomRoutingEndpointGroupEndpointConfigurationOutput) ToCustomRoutingEndpointGroupEndpointConfigurationOutput

func (CustomRoutingEndpointGroupEndpointConfigurationOutput) ToCustomRoutingEndpointGroupEndpointConfigurationOutputWithContext

func (o CustomRoutingEndpointGroupEndpointConfigurationOutput) ToCustomRoutingEndpointGroupEndpointConfigurationOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupEndpointConfigurationOutput

type CustomRoutingEndpointGroupInput

type CustomRoutingEndpointGroupInput interface {
	pulumi.Input

	ToCustomRoutingEndpointGroupOutput() CustomRoutingEndpointGroupOutput
	ToCustomRoutingEndpointGroupOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupOutput
}

type CustomRoutingEndpointGroupMap

type CustomRoutingEndpointGroupMap map[string]CustomRoutingEndpointGroupInput

func (CustomRoutingEndpointGroupMap) ElementType

func (CustomRoutingEndpointGroupMap) ToCustomRoutingEndpointGroupMapOutput

func (i CustomRoutingEndpointGroupMap) ToCustomRoutingEndpointGroupMapOutput() CustomRoutingEndpointGroupMapOutput

func (CustomRoutingEndpointGroupMap) ToCustomRoutingEndpointGroupMapOutputWithContext

func (i CustomRoutingEndpointGroupMap) ToCustomRoutingEndpointGroupMapOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupMapOutput

type CustomRoutingEndpointGroupMapInput

type CustomRoutingEndpointGroupMapInput interface {
	pulumi.Input

	ToCustomRoutingEndpointGroupMapOutput() CustomRoutingEndpointGroupMapOutput
	ToCustomRoutingEndpointGroupMapOutputWithContext(context.Context) CustomRoutingEndpointGroupMapOutput
}

CustomRoutingEndpointGroupMapInput is an input type that accepts CustomRoutingEndpointGroupMap and CustomRoutingEndpointGroupMapOutput values. You can construct a concrete instance of `CustomRoutingEndpointGroupMapInput` via:

CustomRoutingEndpointGroupMap{ "key": CustomRoutingEndpointGroupArgs{...} }

type CustomRoutingEndpointGroupMapOutput

type CustomRoutingEndpointGroupMapOutput struct{ *pulumi.OutputState }

func (CustomRoutingEndpointGroupMapOutput) ElementType

func (CustomRoutingEndpointGroupMapOutput) MapIndex

func (CustomRoutingEndpointGroupMapOutput) ToCustomRoutingEndpointGroupMapOutput

func (o CustomRoutingEndpointGroupMapOutput) ToCustomRoutingEndpointGroupMapOutput() CustomRoutingEndpointGroupMapOutput

func (CustomRoutingEndpointGroupMapOutput) ToCustomRoutingEndpointGroupMapOutputWithContext

func (o CustomRoutingEndpointGroupMapOutput) ToCustomRoutingEndpointGroupMapOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupMapOutput

type CustomRoutingEndpointGroupOutput

type CustomRoutingEndpointGroupOutput struct{ *pulumi.OutputState }

func (CustomRoutingEndpointGroupOutput) Arn

The Amazon Resource Name (ARN) of the custom routing endpoint group.

func (CustomRoutingEndpointGroupOutput) DestinationConfigurations

The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.

func (CustomRoutingEndpointGroupOutput) ElementType

func (CustomRoutingEndpointGroupOutput) EndpointConfigurations

The list of endpoint objects. Fields documented below.

func (CustomRoutingEndpointGroupOutput) EndpointGroupRegion

func (o CustomRoutingEndpointGroupOutput) EndpointGroupRegion() pulumi.StringOutput

The name of the AWS Region where the custom routing endpoint group is located.

func (CustomRoutingEndpointGroupOutput) ListenerArn

The Amazon Resource Name (ARN) of the custom routing listener.

func (CustomRoutingEndpointGroupOutput) ToCustomRoutingEndpointGroupOutput

func (o CustomRoutingEndpointGroupOutput) ToCustomRoutingEndpointGroupOutput() CustomRoutingEndpointGroupOutput

func (CustomRoutingEndpointGroupOutput) ToCustomRoutingEndpointGroupOutputWithContext

func (o CustomRoutingEndpointGroupOutput) ToCustomRoutingEndpointGroupOutputWithContext(ctx context.Context) CustomRoutingEndpointGroupOutput

type CustomRoutingEndpointGroupState

type CustomRoutingEndpointGroupState struct {
	// The Amazon Resource Name (ARN) of the custom routing endpoint group.
	Arn pulumi.StringPtrInput
	// The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
	DestinationConfigurations CustomRoutingEndpointGroupDestinationConfigurationArrayInput
	// The list of endpoint objects. Fields documented below.
	EndpointConfigurations CustomRoutingEndpointGroupEndpointConfigurationArrayInput
	// The name of the AWS Region where the custom routing endpoint group is located.
	EndpointGroupRegion pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the custom routing listener.
	ListenerArn pulumi.StringPtrInput
}

func (CustomRoutingEndpointGroupState) ElementType

type CustomRoutingListener

type CustomRoutingListener struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of a custom routing accelerator.
	AcceleratorArn pulumi.StringOutput `pulumi:"acceleratorArn"`
	// The list of port ranges for the connections from clients to the accelerator. Fields documented below.
	PortRanges CustomRoutingListenerPortRangeArrayOutput `pulumi:"portRanges"`
}

Provides a Global Accelerator custom routing listener.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := globalaccelerator.NewCustomRoutingAccelerator(ctx, "example", &globalaccelerator.CustomRoutingAcceleratorArgs{
			Name:          pulumi.String("Example"),
			IpAddressType: pulumi.String("IPV4"),
			Enabled:       pulumi.Bool(true),
			Attributes: &globalaccelerator.CustomRoutingAcceleratorAttributesArgs{
				FlowLogsEnabled:  pulumi.Bool(true),
				FlowLogsS3Bucket: pulumi.String("example-bucket"),
				FlowLogsS3Prefix: pulumi.String("flow-logs/"),
			},
		})
		if err != nil {
			return err
		}
		_, err = globalaccelerator.NewCustomRoutingListener(ctx, "example", &globalaccelerator.CustomRoutingListenerArgs{
			AcceleratorArn: example.ID(),
			PortRanges: globalaccelerator.CustomRoutingListenerPortRangeArray{
				&globalaccelerator.CustomRoutingListenerPortRangeArgs{
					FromPort: pulumi.Int(80),
					ToPort:   pulumi.Int(80),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Global Accelerator custom routing listeners using the `id`. For example:

```sh $ pulumi import aws:globalaccelerator/customRoutingListener:CustomRoutingListener example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxxx ```

func GetCustomRoutingListener

func GetCustomRoutingListener(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomRoutingListenerState, opts ...pulumi.ResourceOption) (*CustomRoutingListener, error)

GetCustomRoutingListener gets an existing CustomRoutingListener 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 NewCustomRoutingListener

func NewCustomRoutingListener(ctx *pulumi.Context,
	name string, args *CustomRoutingListenerArgs, opts ...pulumi.ResourceOption) (*CustomRoutingListener, error)

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

func (*CustomRoutingListener) ElementType

func (*CustomRoutingListener) ElementType() reflect.Type

func (*CustomRoutingListener) ToCustomRoutingListenerOutput

func (i *CustomRoutingListener) ToCustomRoutingListenerOutput() CustomRoutingListenerOutput

func (*CustomRoutingListener) ToCustomRoutingListenerOutputWithContext

func (i *CustomRoutingListener) ToCustomRoutingListenerOutputWithContext(ctx context.Context) CustomRoutingListenerOutput

type CustomRoutingListenerArgs

type CustomRoutingListenerArgs struct {
	// The Amazon Resource Name (ARN) of a custom routing accelerator.
	AcceleratorArn pulumi.StringInput
	// The list of port ranges for the connections from clients to the accelerator. Fields documented below.
	PortRanges CustomRoutingListenerPortRangeArrayInput
}

The set of arguments for constructing a CustomRoutingListener resource.

func (CustomRoutingListenerArgs) ElementType

func (CustomRoutingListenerArgs) ElementType() reflect.Type

type CustomRoutingListenerArray

type CustomRoutingListenerArray []CustomRoutingListenerInput

func (CustomRoutingListenerArray) ElementType

func (CustomRoutingListenerArray) ElementType() reflect.Type

func (CustomRoutingListenerArray) ToCustomRoutingListenerArrayOutput

func (i CustomRoutingListenerArray) ToCustomRoutingListenerArrayOutput() CustomRoutingListenerArrayOutput

func (CustomRoutingListenerArray) ToCustomRoutingListenerArrayOutputWithContext

func (i CustomRoutingListenerArray) ToCustomRoutingListenerArrayOutputWithContext(ctx context.Context) CustomRoutingListenerArrayOutput

type CustomRoutingListenerArrayInput

type CustomRoutingListenerArrayInput interface {
	pulumi.Input

	ToCustomRoutingListenerArrayOutput() CustomRoutingListenerArrayOutput
	ToCustomRoutingListenerArrayOutputWithContext(context.Context) CustomRoutingListenerArrayOutput
}

CustomRoutingListenerArrayInput is an input type that accepts CustomRoutingListenerArray and CustomRoutingListenerArrayOutput values. You can construct a concrete instance of `CustomRoutingListenerArrayInput` via:

CustomRoutingListenerArray{ CustomRoutingListenerArgs{...} }

type CustomRoutingListenerArrayOutput

type CustomRoutingListenerArrayOutput struct{ *pulumi.OutputState }

func (CustomRoutingListenerArrayOutput) ElementType

func (CustomRoutingListenerArrayOutput) Index

func (CustomRoutingListenerArrayOutput) ToCustomRoutingListenerArrayOutput

func (o CustomRoutingListenerArrayOutput) ToCustomRoutingListenerArrayOutput() CustomRoutingListenerArrayOutput

func (CustomRoutingListenerArrayOutput) ToCustomRoutingListenerArrayOutputWithContext

func (o CustomRoutingListenerArrayOutput) ToCustomRoutingListenerArrayOutputWithContext(ctx context.Context) CustomRoutingListenerArrayOutput

type CustomRoutingListenerInput

type CustomRoutingListenerInput interface {
	pulumi.Input

	ToCustomRoutingListenerOutput() CustomRoutingListenerOutput
	ToCustomRoutingListenerOutputWithContext(ctx context.Context) CustomRoutingListenerOutput
}

type CustomRoutingListenerMap

type CustomRoutingListenerMap map[string]CustomRoutingListenerInput

func (CustomRoutingListenerMap) ElementType

func (CustomRoutingListenerMap) ElementType() reflect.Type

func (CustomRoutingListenerMap) ToCustomRoutingListenerMapOutput

func (i CustomRoutingListenerMap) ToCustomRoutingListenerMapOutput() CustomRoutingListenerMapOutput

func (CustomRoutingListenerMap) ToCustomRoutingListenerMapOutputWithContext

func (i CustomRoutingListenerMap) ToCustomRoutingListenerMapOutputWithContext(ctx context.Context) CustomRoutingListenerMapOutput

type CustomRoutingListenerMapInput

type CustomRoutingListenerMapInput interface {
	pulumi.Input

	ToCustomRoutingListenerMapOutput() CustomRoutingListenerMapOutput
	ToCustomRoutingListenerMapOutputWithContext(context.Context) CustomRoutingListenerMapOutput
}

CustomRoutingListenerMapInput is an input type that accepts CustomRoutingListenerMap and CustomRoutingListenerMapOutput values. You can construct a concrete instance of `CustomRoutingListenerMapInput` via:

CustomRoutingListenerMap{ "key": CustomRoutingListenerArgs{...} }

type CustomRoutingListenerMapOutput

type CustomRoutingListenerMapOutput struct{ *pulumi.OutputState }

func (CustomRoutingListenerMapOutput) ElementType

func (CustomRoutingListenerMapOutput) MapIndex

func (CustomRoutingListenerMapOutput) ToCustomRoutingListenerMapOutput

func (o CustomRoutingListenerMapOutput) ToCustomRoutingListenerMapOutput() CustomRoutingListenerMapOutput

func (CustomRoutingListenerMapOutput) ToCustomRoutingListenerMapOutputWithContext

func (o CustomRoutingListenerMapOutput) ToCustomRoutingListenerMapOutputWithContext(ctx context.Context) CustomRoutingListenerMapOutput

type CustomRoutingListenerOutput

type CustomRoutingListenerOutput struct{ *pulumi.OutputState }

func (CustomRoutingListenerOutput) AcceleratorArn

func (o CustomRoutingListenerOutput) AcceleratorArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of a custom routing accelerator.

func (CustomRoutingListenerOutput) ElementType

func (CustomRoutingListenerOutput) PortRanges

The list of port ranges for the connections from clients to the accelerator. Fields documented below.

func (CustomRoutingListenerOutput) ToCustomRoutingListenerOutput

func (o CustomRoutingListenerOutput) ToCustomRoutingListenerOutput() CustomRoutingListenerOutput

func (CustomRoutingListenerOutput) ToCustomRoutingListenerOutputWithContext

func (o CustomRoutingListenerOutput) ToCustomRoutingListenerOutputWithContext(ctx context.Context) CustomRoutingListenerOutput

type CustomRoutingListenerPortRange

type CustomRoutingListenerPortRange struct {
	// The first port in the range of ports, inclusive.
	FromPort *int `pulumi:"fromPort"`
	// The last port in the range of ports, inclusive.
	ToPort *int `pulumi:"toPort"`
}

type CustomRoutingListenerPortRangeArgs

type CustomRoutingListenerPortRangeArgs struct {
	// The first port in the range of ports, inclusive.
	FromPort pulumi.IntPtrInput `pulumi:"fromPort"`
	// The last port in the range of ports, inclusive.
	ToPort pulumi.IntPtrInput `pulumi:"toPort"`
}

func (CustomRoutingListenerPortRangeArgs) ElementType

func (CustomRoutingListenerPortRangeArgs) ToCustomRoutingListenerPortRangeOutput

func (i CustomRoutingListenerPortRangeArgs) ToCustomRoutingListenerPortRangeOutput() CustomRoutingListenerPortRangeOutput

func (CustomRoutingListenerPortRangeArgs) ToCustomRoutingListenerPortRangeOutputWithContext

func (i CustomRoutingListenerPortRangeArgs) ToCustomRoutingListenerPortRangeOutputWithContext(ctx context.Context) CustomRoutingListenerPortRangeOutput

type CustomRoutingListenerPortRangeArray

type CustomRoutingListenerPortRangeArray []CustomRoutingListenerPortRangeInput

func (CustomRoutingListenerPortRangeArray) ElementType

func (CustomRoutingListenerPortRangeArray) ToCustomRoutingListenerPortRangeArrayOutput

func (i CustomRoutingListenerPortRangeArray) ToCustomRoutingListenerPortRangeArrayOutput() CustomRoutingListenerPortRangeArrayOutput

func (CustomRoutingListenerPortRangeArray) ToCustomRoutingListenerPortRangeArrayOutputWithContext

func (i CustomRoutingListenerPortRangeArray) ToCustomRoutingListenerPortRangeArrayOutputWithContext(ctx context.Context) CustomRoutingListenerPortRangeArrayOutput

type CustomRoutingListenerPortRangeArrayInput

type CustomRoutingListenerPortRangeArrayInput interface {
	pulumi.Input

	ToCustomRoutingListenerPortRangeArrayOutput() CustomRoutingListenerPortRangeArrayOutput
	ToCustomRoutingListenerPortRangeArrayOutputWithContext(context.Context) CustomRoutingListenerPortRangeArrayOutput
}

CustomRoutingListenerPortRangeArrayInput is an input type that accepts CustomRoutingListenerPortRangeArray and CustomRoutingListenerPortRangeArrayOutput values. You can construct a concrete instance of `CustomRoutingListenerPortRangeArrayInput` via:

CustomRoutingListenerPortRangeArray{ CustomRoutingListenerPortRangeArgs{...} }

type CustomRoutingListenerPortRangeArrayOutput

type CustomRoutingListenerPortRangeArrayOutput struct{ *pulumi.OutputState }

func (CustomRoutingListenerPortRangeArrayOutput) ElementType

func (CustomRoutingListenerPortRangeArrayOutput) Index

func (CustomRoutingListenerPortRangeArrayOutput) ToCustomRoutingListenerPortRangeArrayOutput

func (o CustomRoutingListenerPortRangeArrayOutput) ToCustomRoutingListenerPortRangeArrayOutput() CustomRoutingListenerPortRangeArrayOutput

func (CustomRoutingListenerPortRangeArrayOutput) ToCustomRoutingListenerPortRangeArrayOutputWithContext

func (o CustomRoutingListenerPortRangeArrayOutput) ToCustomRoutingListenerPortRangeArrayOutputWithContext(ctx context.Context) CustomRoutingListenerPortRangeArrayOutput

type CustomRoutingListenerPortRangeInput

type CustomRoutingListenerPortRangeInput interface {
	pulumi.Input

	ToCustomRoutingListenerPortRangeOutput() CustomRoutingListenerPortRangeOutput
	ToCustomRoutingListenerPortRangeOutputWithContext(context.Context) CustomRoutingListenerPortRangeOutput
}

CustomRoutingListenerPortRangeInput is an input type that accepts CustomRoutingListenerPortRangeArgs and CustomRoutingListenerPortRangeOutput values. You can construct a concrete instance of `CustomRoutingListenerPortRangeInput` via:

CustomRoutingListenerPortRangeArgs{...}

type CustomRoutingListenerPortRangeOutput

type CustomRoutingListenerPortRangeOutput struct{ *pulumi.OutputState }

func (CustomRoutingListenerPortRangeOutput) ElementType

func (CustomRoutingListenerPortRangeOutput) FromPort

The first port in the range of ports, inclusive.

func (CustomRoutingListenerPortRangeOutput) ToCustomRoutingListenerPortRangeOutput

func (o CustomRoutingListenerPortRangeOutput) ToCustomRoutingListenerPortRangeOutput() CustomRoutingListenerPortRangeOutput

func (CustomRoutingListenerPortRangeOutput) ToCustomRoutingListenerPortRangeOutputWithContext

func (o CustomRoutingListenerPortRangeOutput) ToCustomRoutingListenerPortRangeOutputWithContext(ctx context.Context) CustomRoutingListenerPortRangeOutput

func (CustomRoutingListenerPortRangeOutput) ToPort

The last port in the range of ports, inclusive.

type CustomRoutingListenerState

type CustomRoutingListenerState struct {
	// The Amazon Resource Name (ARN) of a custom routing accelerator.
	AcceleratorArn pulumi.StringPtrInput
	// The list of port ranges for the connections from clients to the accelerator. Fields documented below.
	PortRanges CustomRoutingListenerPortRangeArrayInput
}

func (CustomRoutingListenerState) ElementType

func (CustomRoutingListenerState) ElementType() reflect.Type

type EndpointGroup

type EndpointGroup struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the endpoint group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The list of endpoint objects. Fields documented below.
	EndpointConfigurations EndpointGroupEndpointConfigurationArrayOutput `pulumi:"endpointConfigurations"`
	// The name of the AWS Region where the endpoint group is located.
	EndpointGroupRegion pulumi.StringOutput `pulumi:"endpointGroupRegion"`
	// The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
	HealthCheckIntervalSeconds pulumi.IntPtrOutput `pulumi:"healthCheckIntervalSeconds"`
	// If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (`/`). the provider will only perform drift detection of its value when present in a configuration.
	HealthCheckPath pulumi.StringOutput `pulumi:"healthCheckPath"`
	// The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.
	// the provider will only perform drift detection of its value when present in a configuration.
	HealthCheckPort pulumi.IntOutput `pulumi:"healthCheckPort"`
	// The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
	HealthCheckProtocol pulumi.StringPtrOutput `pulumi:"healthCheckProtocol"`
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn pulumi.StringOutput `pulumi:"listenerArn"`
	// Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
	PortOverrides EndpointGroupPortOverrideArrayOutput `pulumi:"portOverrides"`
	// The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
	ThresholdCount pulumi.IntPtrOutput `pulumi:"thresholdCount"`
	// The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.
	TrafficDialPercentage pulumi.Float64PtrOutput `pulumi:"trafficDialPercentage"`
}

Provides a Global Accelerator endpoint group.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := globalaccelerator.NewEndpointGroup(ctx, "example", &globalaccelerator.EndpointGroupArgs{
			ListenerArn: pulumi.Any(exampleAwsGlobalacceleratorListener.Id),
			EndpointConfigurations: globalaccelerator.EndpointGroupEndpointConfigurationArray{
				&globalaccelerator.EndpointGroupEndpointConfigurationArgs{
					EndpointId: pulumi.Any(exampleAwsLb.Arn),
					Weight:     pulumi.Int(100),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Global Accelerator endpoint groups using the `id`. For example:

```sh $ pulumi import aws:globalaccelerator/endpointGroup:EndpointGroup example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxx/endpoint-group/xxxxxxxx ```

func GetEndpointGroup

func GetEndpointGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointGroupState, opts ...pulumi.ResourceOption) (*EndpointGroup, error)

GetEndpointGroup gets an existing EndpointGroup 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 NewEndpointGroup

func NewEndpointGroup(ctx *pulumi.Context,
	name string, args *EndpointGroupArgs, opts ...pulumi.ResourceOption) (*EndpointGroup, error)

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

func (*EndpointGroup) ElementType

func (*EndpointGroup) ElementType() reflect.Type

func (*EndpointGroup) ToEndpointGroupOutput

func (i *EndpointGroup) ToEndpointGroupOutput() EndpointGroupOutput

func (*EndpointGroup) ToEndpointGroupOutputWithContext

func (i *EndpointGroup) ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput

type EndpointGroupArgs

type EndpointGroupArgs struct {
	// The list of endpoint objects. Fields documented below.
	EndpointConfigurations EndpointGroupEndpointConfigurationArrayInput
	// The name of the AWS Region where the endpoint group is located.
	EndpointGroupRegion pulumi.StringPtrInput
	// The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
	HealthCheckIntervalSeconds pulumi.IntPtrInput
	// If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (`/`). the provider will only perform drift detection of its value when present in a configuration.
	HealthCheckPath pulumi.StringPtrInput
	// The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.
	// the provider will only perform drift detection of its value when present in a configuration.
	HealthCheckPort pulumi.IntPtrInput
	// The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
	HealthCheckProtocol pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn pulumi.StringInput
	// Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
	PortOverrides EndpointGroupPortOverrideArrayInput
	// The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
	ThresholdCount pulumi.IntPtrInput
	// The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.
	TrafficDialPercentage pulumi.Float64PtrInput
}

The set of arguments for constructing a EndpointGroup resource.

func (EndpointGroupArgs) ElementType

func (EndpointGroupArgs) ElementType() reflect.Type

type EndpointGroupArray

type EndpointGroupArray []EndpointGroupInput

func (EndpointGroupArray) ElementType

func (EndpointGroupArray) ElementType() reflect.Type

func (EndpointGroupArray) ToEndpointGroupArrayOutput

func (i EndpointGroupArray) ToEndpointGroupArrayOutput() EndpointGroupArrayOutput

func (EndpointGroupArray) ToEndpointGroupArrayOutputWithContext

func (i EndpointGroupArray) ToEndpointGroupArrayOutputWithContext(ctx context.Context) EndpointGroupArrayOutput

type EndpointGroupArrayInput

type EndpointGroupArrayInput interface {
	pulumi.Input

	ToEndpointGroupArrayOutput() EndpointGroupArrayOutput
	ToEndpointGroupArrayOutputWithContext(context.Context) EndpointGroupArrayOutput
}

EndpointGroupArrayInput is an input type that accepts EndpointGroupArray and EndpointGroupArrayOutput values. You can construct a concrete instance of `EndpointGroupArrayInput` via:

EndpointGroupArray{ EndpointGroupArgs{...} }

type EndpointGroupArrayOutput

type EndpointGroupArrayOutput struct{ *pulumi.OutputState }

func (EndpointGroupArrayOutput) ElementType

func (EndpointGroupArrayOutput) ElementType() reflect.Type

func (EndpointGroupArrayOutput) Index

func (EndpointGroupArrayOutput) ToEndpointGroupArrayOutput

func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutput() EndpointGroupArrayOutput

func (EndpointGroupArrayOutput) ToEndpointGroupArrayOutputWithContext

func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutputWithContext(ctx context.Context) EndpointGroupArrayOutput

type EndpointGroupEndpointConfiguration

type EndpointGroupEndpointConfiguration struct {
	// Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the [AWS documentation](https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html) for more details. The default value is `false`.
	// **Note:** When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC named `GlobalAccelerator` that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting a `DependencyViolation` error. This cannot be resolved by re-running the provider.
	ClientIpPreservationEnabled *bool `pulumi:"clientIpPreservationEnabled"`
	// An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
	EndpointId *string `pulumi:"endpointId"`
	// The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
	Weight *int `pulumi:"weight"`
}

type EndpointGroupEndpointConfigurationArgs

type EndpointGroupEndpointConfigurationArgs struct {
	// Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the [AWS documentation](https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html) for more details. The default value is `false`.
	// **Note:** When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC named `GlobalAccelerator` that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting a `DependencyViolation` error. This cannot be resolved by re-running the provider.
	ClientIpPreservationEnabled pulumi.BoolPtrInput `pulumi:"clientIpPreservationEnabled"`
	// An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
	EndpointId pulumi.StringPtrInput `pulumi:"endpointId"`
	// The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (EndpointGroupEndpointConfigurationArgs) ElementType

func (EndpointGroupEndpointConfigurationArgs) ToEndpointGroupEndpointConfigurationOutput

func (i EndpointGroupEndpointConfigurationArgs) ToEndpointGroupEndpointConfigurationOutput() EndpointGroupEndpointConfigurationOutput

func (EndpointGroupEndpointConfigurationArgs) ToEndpointGroupEndpointConfigurationOutputWithContext

func (i EndpointGroupEndpointConfigurationArgs) ToEndpointGroupEndpointConfigurationOutputWithContext(ctx context.Context) EndpointGroupEndpointConfigurationOutput

type EndpointGroupEndpointConfigurationArray

type EndpointGroupEndpointConfigurationArray []EndpointGroupEndpointConfigurationInput

func (EndpointGroupEndpointConfigurationArray) ElementType

func (EndpointGroupEndpointConfigurationArray) ToEndpointGroupEndpointConfigurationArrayOutput

func (i EndpointGroupEndpointConfigurationArray) ToEndpointGroupEndpointConfigurationArrayOutput() EndpointGroupEndpointConfigurationArrayOutput

func (EndpointGroupEndpointConfigurationArray) ToEndpointGroupEndpointConfigurationArrayOutputWithContext

func (i EndpointGroupEndpointConfigurationArray) ToEndpointGroupEndpointConfigurationArrayOutputWithContext(ctx context.Context) EndpointGroupEndpointConfigurationArrayOutput

type EndpointGroupEndpointConfigurationArrayInput

type EndpointGroupEndpointConfigurationArrayInput interface {
	pulumi.Input

	ToEndpointGroupEndpointConfigurationArrayOutput() EndpointGroupEndpointConfigurationArrayOutput
	ToEndpointGroupEndpointConfigurationArrayOutputWithContext(context.Context) EndpointGroupEndpointConfigurationArrayOutput
}

EndpointGroupEndpointConfigurationArrayInput is an input type that accepts EndpointGroupEndpointConfigurationArray and EndpointGroupEndpointConfigurationArrayOutput values. You can construct a concrete instance of `EndpointGroupEndpointConfigurationArrayInput` via:

EndpointGroupEndpointConfigurationArray{ EndpointGroupEndpointConfigurationArgs{...} }

type EndpointGroupEndpointConfigurationArrayOutput

type EndpointGroupEndpointConfigurationArrayOutput struct{ *pulumi.OutputState }

func (EndpointGroupEndpointConfigurationArrayOutput) ElementType

func (EndpointGroupEndpointConfigurationArrayOutput) Index

func (EndpointGroupEndpointConfigurationArrayOutput) ToEndpointGroupEndpointConfigurationArrayOutput

func (o EndpointGroupEndpointConfigurationArrayOutput) ToEndpointGroupEndpointConfigurationArrayOutput() EndpointGroupEndpointConfigurationArrayOutput

func (EndpointGroupEndpointConfigurationArrayOutput) ToEndpointGroupEndpointConfigurationArrayOutputWithContext

func (o EndpointGroupEndpointConfigurationArrayOutput) ToEndpointGroupEndpointConfigurationArrayOutputWithContext(ctx context.Context) EndpointGroupEndpointConfigurationArrayOutput

type EndpointGroupEndpointConfigurationInput

type EndpointGroupEndpointConfigurationInput interface {
	pulumi.Input

	ToEndpointGroupEndpointConfigurationOutput() EndpointGroupEndpointConfigurationOutput
	ToEndpointGroupEndpointConfigurationOutputWithContext(context.Context) EndpointGroupEndpointConfigurationOutput
}

EndpointGroupEndpointConfigurationInput is an input type that accepts EndpointGroupEndpointConfigurationArgs and EndpointGroupEndpointConfigurationOutput values. You can construct a concrete instance of `EndpointGroupEndpointConfigurationInput` via:

EndpointGroupEndpointConfigurationArgs{...}

type EndpointGroupEndpointConfigurationOutput

type EndpointGroupEndpointConfigurationOutput struct{ *pulumi.OutputState }

func (EndpointGroupEndpointConfigurationOutput) ClientIpPreservationEnabled

func (o EndpointGroupEndpointConfigurationOutput) ClientIpPreservationEnabled() pulumi.BoolPtrOutput

Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the [AWS documentation](https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html) for more details. The default value is `false`. **Note:** When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC named `GlobalAccelerator` that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting a `DependencyViolation` error. This cannot be resolved by re-running the provider.

func (EndpointGroupEndpointConfigurationOutput) ElementType

func (EndpointGroupEndpointConfigurationOutput) EndpointId

An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.

func (EndpointGroupEndpointConfigurationOutput) ToEndpointGroupEndpointConfigurationOutput

func (o EndpointGroupEndpointConfigurationOutput) ToEndpointGroupEndpointConfigurationOutput() EndpointGroupEndpointConfigurationOutput

func (EndpointGroupEndpointConfigurationOutput) ToEndpointGroupEndpointConfigurationOutputWithContext

func (o EndpointGroupEndpointConfigurationOutput) ToEndpointGroupEndpointConfigurationOutputWithContext(ctx context.Context) EndpointGroupEndpointConfigurationOutput

func (EndpointGroupEndpointConfigurationOutput) Weight

The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.

type EndpointGroupInput

type EndpointGroupInput interface {
	pulumi.Input

	ToEndpointGroupOutput() EndpointGroupOutput
	ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput
}

type EndpointGroupMap

type EndpointGroupMap map[string]EndpointGroupInput

func (EndpointGroupMap) ElementType

func (EndpointGroupMap) ElementType() reflect.Type

func (EndpointGroupMap) ToEndpointGroupMapOutput

func (i EndpointGroupMap) ToEndpointGroupMapOutput() EndpointGroupMapOutput

func (EndpointGroupMap) ToEndpointGroupMapOutputWithContext

func (i EndpointGroupMap) ToEndpointGroupMapOutputWithContext(ctx context.Context) EndpointGroupMapOutput

type EndpointGroupMapInput

type EndpointGroupMapInput interface {
	pulumi.Input

	ToEndpointGroupMapOutput() EndpointGroupMapOutput
	ToEndpointGroupMapOutputWithContext(context.Context) EndpointGroupMapOutput
}

EndpointGroupMapInput is an input type that accepts EndpointGroupMap and EndpointGroupMapOutput values. You can construct a concrete instance of `EndpointGroupMapInput` via:

EndpointGroupMap{ "key": EndpointGroupArgs{...} }

type EndpointGroupMapOutput

type EndpointGroupMapOutput struct{ *pulumi.OutputState }

func (EndpointGroupMapOutput) ElementType

func (EndpointGroupMapOutput) ElementType() reflect.Type

func (EndpointGroupMapOutput) MapIndex

func (EndpointGroupMapOutput) ToEndpointGroupMapOutput

func (o EndpointGroupMapOutput) ToEndpointGroupMapOutput() EndpointGroupMapOutput

func (EndpointGroupMapOutput) ToEndpointGroupMapOutputWithContext

func (o EndpointGroupMapOutput) ToEndpointGroupMapOutputWithContext(ctx context.Context) EndpointGroupMapOutput

type EndpointGroupOutput

type EndpointGroupOutput struct{ *pulumi.OutputState }

func (EndpointGroupOutput) Arn

The Amazon Resource Name (ARN) of the endpoint group.

func (EndpointGroupOutput) ElementType

func (EndpointGroupOutput) ElementType() reflect.Type

func (EndpointGroupOutput) EndpointConfigurations

The list of endpoint objects. Fields documented below.

func (EndpointGroupOutput) EndpointGroupRegion

func (o EndpointGroupOutput) EndpointGroupRegion() pulumi.StringOutput

The name of the AWS Region where the endpoint group is located.

func (EndpointGroupOutput) HealthCheckIntervalSeconds

func (o EndpointGroupOutput) HealthCheckIntervalSeconds() pulumi.IntPtrOutput

The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.

func (EndpointGroupOutput) HealthCheckPath

func (o EndpointGroupOutput) HealthCheckPath() pulumi.StringOutput

If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (`/`). the provider will only perform drift detection of its value when present in a configuration.

func (EndpointGroupOutput) HealthCheckPort

func (o EndpointGroupOutput) HealthCheckPort() pulumi.IntOutput

The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list. the provider will only perform drift detection of its value when present in a configuration.

func (EndpointGroupOutput) HealthCheckProtocol

func (o EndpointGroupOutput) HealthCheckProtocol() pulumi.StringPtrOutput

The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.

func (EndpointGroupOutput) ListenerArn

func (o EndpointGroupOutput) ListenerArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the listener.

func (EndpointGroupOutput) PortOverrides

Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.

func (EndpointGroupOutput) ThresholdCount

func (o EndpointGroupOutput) ThresholdCount() pulumi.IntPtrOutput

The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.

func (EndpointGroupOutput) ToEndpointGroupOutput

func (o EndpointGroupOutput) ToEndpointGroupOutput() EndpointGroupOutput

func (EndpointGroupOutput) ToEndpointGroupOutputWithContext

func (o EndpointGroupOutput) ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput

func (EndpointGroupOutput) TrafficDialPercentage

func (o EndpointGroupOutput) TrafficDialPercentage() pulumi.Float64PtrOutput

The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.

type EndpointGroupPortOverride

type EndpointGroupPortOverride struct {
	// The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
	EndpointPort int `pulumi:"endpointPort"`
	// The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
	ListenerPort int `pulumi:"listenerPort"`
}

type EndpointGroupPortOverrideArgs

type EndpointGroupPortOverrideArgs struct {
	// The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
	EndpointPort pulumi.IntInput `pulumi:"endpointPort"`
	// The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
	ListenerPort pulumi.IntInput `pulumi:"listenerPort"`
}

func (EndpointGroupPortOverrideArgs) ElementType

func (EndpointGroupPortOverrideArgs) ToEndpointGroupPortOverrideOutput

func (i EndpointGroupPortOverrideArgs) ToEndpointGroupPortOverrideOutput() EndpointGroupPortOverrideOutput

func (EndpointGroupPortOverrideArgs) ToEndpointGroupPortOverrideOutputWithContext

func (i EndpointGroupPortOverrideArgs) ToEndpointGroupPortOverrideOutputWithContext(ctx context.Context) EndpointGroupPortOverrideOutput

type EndpointGroupPortOverrideArray

type EndpointGroupPortOverrideArray []EndpointGroupPortOverrideInput

func (EndpointGroupPortOverrideArray) ElementType

func (EndpointGroupPortOverrideArray) ToEndpointGroupPortOverrideArrayOutput

func (i EndpointGroupPortOverrideArray) ToEndpointGroupPortOverrideArrayOutput() EndpointGroupPortOverrideArrayOutput

func (EndpointGroupPortOverrideArray) ToEndpointGroupPortOverrideArrayOutputWithContext

func (i EndpointGroupPortOverrideArray) ToEndpointGroupPortOverrideArrayOutputWithContext(ctx context.Context) EndpointGroupPortOverrideArrayOutput

type EndpointGroupPortOverrideArrayInput

type EndpointGroupPortOverrideArrayInput interface {
	pulumi.Input

	ToEndpointGroupPortOverrideArrayOutput() EndpointGroupPortOverrideArrayOutput
	ToEndpointGroupPortOverrideArrayOutputWithContext(context.Context) EndpointGroupPortOverrideArrayOutput
}

EndpointGroupPortOverrideArrayInput is an input type that accepts EndpointGroupPortOverrideArray and EndpointGroupPortOverrideArrayOutput values. You can construct a concrete instance of `EndpointGroupPortOverrideArrayInput` via:

EndpointGroupPortOverrideArray{ EndpointGroupPortOverrideArgs{...} }

type EndpointGroupPortOverrideArrayOutput

type EndpointGroupPortOverrideArrayOutput struct{ *pulumi.OutputState }

func (EndpointGroupPortOverrideArrayOutput) ElementType

func (EndpointGroupPortOverrideArrayOutput) Index

func (EndpointGroupPortOverrideArrayOutput) ToEndpointGroupPortOverrideArrayOutput

func (o EndpointGroupPortOverrideArrayOutput) ToEndpointGroupPortOverrideArrayOutput() EndpointGroupPortOverrideArrayOutput

func (EndpointGroupPortOverrideArrayOutput) ToEndpointGroupPortOverrideArrayOutputWithContext

func (o EndpointGroupPortOverrideArrayOutput) ToEndpointGroupPortOverrideArrayOutputWithContext(ctx context.Context) EndpointGroupPortOverrideArrayOutput

type EndpointGroupPortOverrideInput

type EndpointGroupPortOverrideInput interface {
	pulumi.Input

	ToEndpointGroupPortOverrideOutput() EndpointGroupPortOverrideOutput
	ToEndpointGroupPortOverrideOutputWithContext(context.Context) EndpointGroupPortOverrideOutput
}

EndpointGroupPortOverrideInput is an input type that accepts EndpointGroupPortOverrideArgs and EndpointGroupPortOverrideOutput values. You can construct a concrete instance of `EndpointGroupPortOverrideInput` via:

EndpointGroupPortOverrideArgs{...}

type EndpointGroupPortOverrideOutput

type EndpointGroupPortOverrideOutput struct{ *pulumi.OutputState }

func (EndpointGroupPortOverrideOutput) ElementType

func (EndpointGroupPortOverrideOutput) EndpointPort

The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.

func (EndpointGroupPortOverrideOutput) ListenerPort

The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.

func (EndpointGroupPortOverrideOutput) ToEndpointGroupPortOverrideOutput

func (o EndpointGroupPortOverrideOutput) ToEndpointGroupPortOverrideOutput() EndpointGroupPortOverrideOutput

func (EndpointGroupPortOverrideOutput) ToEndpointGroupPortOverrideOutputWithContext

func (o EndpointGroupPortOverrideOutput) ToEndpointGroupPortOverrideOutputWithContext(ctx context.Context) EndpointGroupPortOverrideOutput

type EndpointGroupState

type EndpointGroupState struct {
	// The Amazon Resource Name (ARN) of the endpoint group.
	Arn pulumi.StringPtrInput
	// The list of endpoint objects. Fields documented below.
	EndpointConfigurations EndpointGroupEndpointConfigurationArrayInput
	// The name of the AWS Region where the endpoint group is located.
	EndpointGroupRegion pulumi.StringPtrInput
	// The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
	HealthCheckIntervalSeconds pulumi.IntPtrInput
	// If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (`/`). the provider will only perform drift detection of its value when present in a configuration.
	HealthCheckPath pulumi.StringPtrInput
	// The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.
	// the provider will only perform drift detection of its value when present in a configuration.
	HealthCheckPort pulumi.IntPtrInput
	// The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
	HealthCheckProtocol pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn pulumi.StringPtrInput
	// Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
	PortOverrides EndpointGroupPortOverrideArrayInput
	// The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
	ThresholdCount pulumi.IntPtrInput
	// The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.
	TrafficDialPercentage pulumi.Float64PtrInput
}

func (EndpointGroupState) ElementType

func (EndpointGroupState) ElementType() reflect.Type

type GetAcceleratorAttribute

type GetAcceleratorAttribute struct {
	FlowLogsEnabled  bool   `pulumi:"flowLogsEnabled"`
	FlowLogsS3Bucket string `pulumi:"flowLogsS3Bucket"`
	FlowLogsS3Prefix string `pulumi:"flowLogsS3Prefix"`
}

type GetAcceleratorAttributeArgs

type GetAcceleratorAttributeArgs struct {
	FlowLogsEnabled  pulumi.BoolInput   `pulumi:"flowLogsEnabled"`
	FlowLogsS3Bucket pulumi.StringInput `pulumi:"flowLogsS3Bucket"`
	FlowLogsS3Prefix pulumi.StringInput `pulumi:"flowLogsS3Prefix"`
}

func (GetAcceleratorAttributeArgs) ElementType

func (GetAcceleratorAttributeArgs) ToGetAcceleratorAttributeOutput

func (i GetAcceleratorAttributeArgs) ToGetAcceleratorAttributeOutput() GetAcceleratorAttributeOutput

func (GetAcceleratorAttributeArgs) ToGetAcceleratorAttributeOutputWithContext

func (i GetAcceleratorAttributeArgs) ToGetAcceleratorAttributeOutputWithContext(ctx context.Context) GetAcceleratorAttributeOutput

type GetAcceleratorAttributeArray

type GetAcceleratorAttributeArray []GetAcceleratorAttributeInput

func (GetAcceleratorAttributeArray) ElementType

func (GetAcceleratorAttributeArray) ToGetAcceleratorAttributeArrayOutput

func (i GetAcceleratorAttributeArray) ToGetAcceleratorAttributeArrayOutput() GetAcceleratorAttributeArrayOutput

func (GetAcceleratorAttributeArray) ToGetAcceleratorAttributeArrayOutputWithContext

func (i GetAcceleratorAttributeArray) ToGetAcceleratorAttributeArrayOutputWithContext(ctx context.Context) GetAcceleratorAttributeArrayOutput

type GetAcceleratorAttributeArrayInput

type GetAcceleratorAttributeArrayInput interface {
	pulumi.Input

	ToGetAcceleratorAttributeArrayOutput() GetAcceleratorAttributeArrayOutput
	ToGetAcceleratorAttributeArrayOutputWithContext(context.Context) GetAcceleratorAttributeArrayOutput
}

GetAcceleratorAttributeArrayInput is an input type that accepts GetAcceleratorAttributeArray and GetAcceleratorAttributeArrayOutput values. You can construct a concrete instance of `GetAcceleratorAttributeArrayInput` via:

GetAcceleratorAttributeArray{ GetAcceleratorAttributeArgs{...} }

type GetAcceleratorAttributeArrayOutput

type GetAcceleratorAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetAcceleratorAttributeArrayOutput) ElementType

func (GetAcceleratorAttributeArrayOutput) Index

func (GetAcceleratorAttributeArrayOutput) ToGetAcceleratorAttributeArrayOutput

func (o GetAcceleratorAttributeArrayOutput) ToGetAcceleratorAttributeArrayOutput() GetAcceleratorAttributeArrayOutput

func (GetAcceleratorAttributeArrayOutput) ToGetAcceleratorAttributeArrayOutputWithContext

func (o GetAcceleratorAttributeArrayOutput) ToGetAcceleratorAttributeArrayOutputWithContext(ctx context.Context) GetAcceleratorAttributeArrayOutput

type GetAcceleratorAttributeInput

type GetAcceleratorAttributeInput interface {
	pulumi.Input

	ToGetAcceleratorAttributeOutput() GetAcceleratorAttributeOutput
	ToGetAcceleratorAttributeOutputWithContext(context.Context) GetAcceleratorAttributeOutput
}

GetAcceleratorAttributeInput is an input type that accepts GetAcceleratorAttributeArgs and GetAcceleratorAttributeOutput values. You can construct a concrete instance of `GetAcceleratorAttributeInput` via:

GetAcceleratorAttributeArgs{...}

type GetAcceleratorAttributeOutput

type GetAcceleratorAttributeOutput struct{ *pulumi.OutputState }

func (GetAcceleratorAttributeOutput) ElementType

func (GetAcceleratorAttributeOutput) FlowLogsEnabled

func (o GetAcceleratorAttributeOutput) FlowLogsEnabled() pulumi.BoolOutput

func (GetAcceleratorAttributeOutput) FlowLogsS3Bucket

func (o GetAcceleratorAttributeOutput) FlowLogsS3Bucket() pulumi.StringOutput

func (GetAcceleratorAttributeOutput) FlowLogsS3Prefix

func (o GetAcceleratorAttributeOutput) FlowLogsS3Prefix() pulumi.StringOutput

func (GetAcceleratorAttributeOutput) ToGetAcceleratorAttributeOutput

func (o GetAcceleratorAttributeOutput) ToGetAcceleratorAttributeOutput() GetAcceleratorAttributeOutput

func (GetAcceleratorAttributeOutput) ToGetAcceleratorAttributeOutputWithContext

func (o GetAcceleratorAttributeOutput) ToGetAcceleratorAttributeOutputWithContext(ctx context.Context) GetAcceleratorAttributeOutput

type GetAcceleratorIpSet

type GetAcceleratorIpSet struct {
	IpAddresses []string `pulumi:"ipAddresses"`
	IpFamily    string   `pulumi:"ipFamily"`
}

type GetAcceleratorIpSetArgs

type GetAcceleratorIpSetArgs struct {
	IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
	IpFamily    pulumi.StringInput      `pulumi:"ipFamily"`
}

func (GetAcceleratorIpSetArgs) ElementType

func (GetAcceleratorIpSetArgs) ElementType() reflect.Type

func (GetAcceleratorIpSetArgs) ToGetAcceleratorIpSetOutput

func (i GetAcceleratorIpSetArgs) ToGetAcceleratorIpSetOutput() GetAcceleratorIpSetOutput

func (GetAcceleratorIpSetArgs) ToGetAcceleratorIpSetOutputWithContext

func (i GetAcceleratorIpSetArgs) ToGetAcceleratorIpSetOutputWithContext(ctx context.Context) GetAcceleratorIpSetOutput

type GetAcceleratorIpSetArray

type GetAcceleratorIpSetArray []GetAcceleratorIpSetInput

func (GetAcceleratorIpSetArray) ElementType

func (GetAcceleratorIpSetArray) ElementType() reflect.Type

func (GetAcceleratorIpSetArray) ToGetAcceleratorIpSetArrayOutput

func (i GetAcceleratorIpSetArray) ToGetAcceleratorIpSetArrayOutput() GetAcceleratorIpSetArrayOutput

func (GetAcceleratorIpSetArray) ToGetAcceleratorIpSetArrayOutputWithContext

func (i GetAcceleratorIpSetArray) ToGetAcceleratorIpSetArrayOutputWithContext(ctx context.Context) GetAcceleratorIpSetArrayOutput

type GetAcceleratorIpSetArrayInput

type GetAcceleratorIpSetArrayInput interface {
	pulumi.Input

	ToGetAcceleratorIpSetArrayOutput() GetAcceleratorIpSetArrayOutput
	ToGetAcceleratorIpSetArrayOutputWithContext(context.Context) GetAcceleratorIpSetArrayOutput
}

GetAcceleratorIpSetArrayInput is an input type that accepts GetAcceleratorIpSetArray and GetAcceleratorIpSetArrayOutput values. You can construct a concrete instance of `GetAcceleratorIpSetArrayInput` via:

GetAcceleratorIpSetArray{ GetAcceleratorIpSetArgs{...} }

type GetAcceleratorIpSetArrayOutput

type GetAcceleratorIpSetArrayOutput struct{ *pulumi.OutputState }

func (GetAcceleratorIpSetArrayOutput) ElementType

func (GetAcceleratorIpSetArrayOutput) Index

func (GetAcceleratorIpSetArrayOutput) ToGetAcceleratorIpSetArrayOutput

func (o GetAcceleratorIpSetArrayOutput) ToGetAcceleratorIpSetArrayOutput() GetAcceleratorIpSetArrayOutput

func (GetAcceleratorIpSetArrayOutput) ToGetAcceleratorIpSetArrayOutputWithContext

func (o GetAcceleratorIpSetArrayOutput) ToGetAcceleratorIpSetArrayOutputWithContext(ctx context.Context) GetAcceleratorIpSetArrayOutput

type GetAcceleratorIpSetInput

type GetAcceleratorIpSetInput interface {
	pulumi.Input

	ToGetAcceleratorIpSetOutput() GetAcceleratorIpSetOutput
	ToGetAcceleratorIpSetOutputWithContext(context.Context) GetAcceleratorIpSetOutput
}

GetAcceleratorIpSetInput is an input type that accepts GetAcceleratorIpSetArgs and GetAcceleratorIpSetOutput values. You can construct a concrete instance of `GetAcceleratorIpSetInput` via:

GetAcceleratorIpSetArgs{...}

type GetAcceleratorIpSetOutput

type GetAcceleratorIpSetOutput struct{ *pulumi.OutputState }

func (GetAcceleratorIpSetOutput) ElementType

func (GetAcceleratorIpSetOutput) ElementType() reflect.Type

func (GetAcceleratorIpSetOutput) IpAddresses

func (GetAcceleratorIpSetOutput) IpFamily

func (GetAcceleratorIpSetOutput) ToGetAcceleratorIpSetOutput

func (o GetAcceleratorIpSetOutput) ToGetAcceleratorIpSetOutput() GetAcceleratorIpSetOutput

func (GetAcceleratorIpSetOutput) ToGetAcceleratorIpSetOutputWithContext

func (o GetAcceleratorIpSetOutput) ToGetAcceleratorIpSetOutputWithContext(ctx context.Context) GetAcceleratorIpSetOutput

type GetCustomRoutingAcceleratorAttribute

type GetCustomRoutingAcceleratorAttribute struct {
	FlowLogsEnabled  bool   `pulumi:"flowLogsEnabled"`
	FlowLogsS3Bucket string `pulumi:"flowLogsS3Bucket"`
	FlowLogsS3Prefix string `pulumi:"flowLogsS3Prefix"`
}

type GetCustomRoutingAcceleratorAttributeArgs

type GetCustomRoutingAcceleratorAttributeArgs struct {
	FlowLogsEnabled  pulumi.BoolInput   `pulumi:"flowLogsEnabled"`
	FlowLogsS3Bucket pulumi.StringInput `pulumi:"flowLogsS3Bucket"`
	FlowLogsS3Prefix pulumi.StringInput `pulumi:"flowLogsS3Prefix"`
}

func (GetCustomRoutingAcceleratorAttributeArgs) ElementType

func (GetCustomRoutingAcceleratorAttributeArgs) ToGetCustomRoutingAcceleratorAttributeOutput

func (i GetCustomRoutingAcceleratorAttributeArgs) ToGetCustomRoutingAcceleratorAttributeOutput() GetCustomRoutingAcceleratorAttributeOutput

func (GetCustomRoutingAcceleratorAttributeArgs) ToGetCustomRoutingAcceleratorAttributeOutputWithContext

func (i GetCustomRoutingAcceleratorAttributeArgs) ToGetCustomRoutingAcceleratorAttributeOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorAttributeOutput

type GetCustomRoutingAcceleratorAttributeArray

type GetCustomRoutingAcceleratorAttributeArray []GetCustomRoutingAcceleratorAttributeInput

func (GetCustomRoutingAcceleratorAttributeArray) ElementType

func (GetCustomRoutingAcceleratorAttributeArray) ToGetCustomRoutingAcceleratorAttributeArrayOutput

func (i GetCustomRoutingAcceleratorAttributeArray) ToGetCustomRoutingAcceleratorAttributeArrayOutput() GetCustomRoutingAcceleratorAttributeArrayOutput

func (GetCustomRoutingAcceleratorAttributeArray) ToGetCustomRoutingAcceleratorAttributeArrayOutputWithContext

func (i GetCustomRoutingAcceleratorAttributeArray) ToGetCustomRoutingAcceleratorAttributeArrayOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorAttributeArrayOutput

type GetCustomRoutingAcceleratorAttributeArrayInput

type GetCustomRoutingAcceleratorAttributeArrayInput interface {
	pulumi.Input

	ToGetCustomRoutingAcceleratorAttributeArrayOutput() GetCustomRoutingAcceleratorAttributeArrayOutput
	ToGetCustomRoutingAcceleratorAttributeArrayOutputWithContext(context.Context) GetCustomRoutingAcceleratorAttributeArrayOutput
}

GetCustomRoutingAcceleratorAttributeArrayInput is an input type that accepts GetCustomRoutingAcceleratorAttributeArray and GetCustomRoutingAcceleratorAttributeArrayOutput values. You can construct a concrete instance of `GetCustomRoutingAcceleratorAttributeArrayInput` via:

GetCustomRoutingAcceleratorAttributeArray{ GetCustomRoutingAcceleratorAttributeArgs{...} }

type GetCustomRoutingAcceleratorAttributeArrayOutput

type GetCustomRoutingAcceleratorAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetCustomRoutingAcceleratorAttributeArrayOutput) ElementType

func (GetCustomRoutingAcceleratorAttributeArrayOutput) Index

func (GetCustomRoutingAcceleratorAttributeArrayOutput) ToGetCustomRoutingAcceleratorAttributeArrayOutput

func (o GetCustomRoutingAcceleratorAttributeArrayOutput) ToGetCustomRoutingAcceleratorAttributeArrayOutput() GetCustomRoutingAcceleratorAttributeArrayOutput

func (GetCustomRoutingAcceleratorAttributeArrayOutput) ToGetCustomRoutingAcceleratorAttributeArrayOutputWithContext

func (o GetCustomRoutingAcceleratorAttributeArrayOutput) ToGetCustomRoutingAcceleratorAttributeArrayOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorAttributeArrayOutput

type GetCustomRoutingAcceleratorAttributeInput

type GetCustomRoutingAcceleratorAttributeInput interface {
	pulumi.Input

	ToGetCustomRoutingAcceleratorAttributeOutput() GetCustomRoutingAcceleratorAttributeOutput
	ToGetCustomRoutingAcceleratorAttributeOutputWithContext(context.Context) GetCustomRoutingAcceleratorAttributeOutput
}

GetCustomRoutingAcceleratorAttributeInput is an input type that accepts GetCustomRoutingAcceleratorAttributeArgs and GetCustomRoutingAcceleratorAttributeOutput values. You can construct a concrete instance of `GetCustomRoutingAcceleratorAttributeInput` via:

GetCustomRoutingAcceleratorAttributeArgs{...}

type GetCustomRoutingAcceleratorAttributeOutput

type GetCustomRoutingAcceleratorAttributeOutput struct{ *pulumi.OutputState }

func (GetCustomRoutingAcceleratorAttributeOutput) ElementType

func (GetCustomRoutingAcceleratorAttributeOutput) FlowLogsEnabled

func (GetCustomRoutingAcceleratorAttributeOutput) FlowLogsS3Bucket

func (GetCustomRoutingAcceleratorAttributeOutput) FlowLogsS3Prefix

func (GetCustomRoutingAcceleratorAttributeOutput) ToGetCustomRoutingAcceleratorAttributeOutput

func (o GetCustomRoutingAcceleratorAttributeOutput) ToGetCustomRoutingAcceleratorAttributeOutput() GetCustomRoutingAcceleratorAttributeOutput

func (GetCustomRoutingAcceleratorAttributeOutput) ToGetCustomRoutingAcceleratorAttributeOutputWithContext

func (o GetCustomRoutingAcceleratorAttributeOutput) ToGetCustomRoutingAcceleratorAttributeOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorAttributeOutput

type GetCustomRoutingAcceleratorIpSet

type GetCustomRoutingAcceleratorIpSet struct {
	IpAddresses []string `pulumi:"ipAddresses"`
	IpFamily    string   `pulumi:"ipFamily"`
}

type GetCustomRoutingAcceleratorIpSetArgs

type GetCustomRoutingAcceleratorIpSetArgs struct {
	IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
	IpFamily    pulumi.StringInput      `pulumi:"ipFamily"`
}

func (GetCustomRoutingAcceleratorIpSetArgs) ElementType

func (GetCustomRoutingAcceleratorIpSetArgs) ToGetCustomRoutingAcceleratorIpSetOutput

func (i GetCustomRoutingAcceleratorIpSetArgs) ToGetCustomRoutingAcceleratorIpSetOutput() GetCustomRoutingAcceleratorIpSetOutput

func (GetCustomRoutingAcceleratorIpSetArgs) ToGetCustomRoutingAcceleratorIpSetOutputWithContext

func (i GetCustomRoutingAcceleratorIpSetArgs) ToGetCustomRoutingAcceleratorIpSetOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorIpSetOutput

type GetCustomRoutingAcceleratorIpSetArray

type GetCustomRoutingAcceleratorIpSetArray []GetCustomRoutingAcceleratorIpSetInput

func (GetCustomRoutingAcceleratorIpSetArray) ElementType

func (GetCustomRoutingAcceleratorIpSetArray) ToGetCustomRoutingAcceleratorIpSetArrayOutput

func (i GetCustomRoutingAcceleratorIpSetArray) ToGetCustomRoutingAcceleratorIpSetArrayOutput() GetCustomRoutingAcceleratorIpSetArrayOutput

func (GetCustomRoutingAcceleratorIpSetArray) ToGetCustomRoutingAcceleratorIpSetArrayOutputWithContext

func (i GetCustomRoutingAcceleratorIpSetArray) ToGetCustomRoutingAcceleratorIpSetArrayOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorIpSetArrayOutput

type GetCustomRoutingAcceleratorIpSetArrayInput

type GetCustomRoutingAcceleratorIpSetArrayInput interface {
	pulumi.Input

	ToGetCustomRoutingAcceleratorIpSetArrayOutput() GetCustomRoutingAcceleratorIpSetArrayOutput
	ToGetCustomRoutingAcceleratorIpSetArrayOutputWithContext(context.Context) GetCustomRoutingAcceleratorIpSetArrayOutput
}

GetCustomRoutingAcceleratorIpSetArrayInput is an input type that accepts GetCustomRoutingAcceleratorIpSetArray and GetCustomRoutingAcceleratorIpSetArrayOutput values. You can construct a concrete instance of `GetCustomRoutingAcceleratorIpSetArrayInput` via:

GetCustomRoutingAcceleratorIpSetArray{ GetCustomRoutingAcceleratorIpSetArgs{...} }

type GetCustomRoutingAcceleratorIpSetArrayOutput

type GetCustomRoutingAcceleratorIpSetArrayOutput struct{ *pulumi.OutputState }

func (GetCustomRoutingAcceleratorIpSetArrayOutput) ElementType

func (GetCustomRoutingAcceleratorIpSetArrayOutput) Index

func (GetCustomRoutingAcceleratorIpSetArrayOutput) ToGetCustomRoutingAcceleratorIpSetArrayOutput

func (o GetCustomRoutingAcceleratorIpSetArrayOutput) ToGetCustomRoutingAcceleratorIpSetArrayOutput() GetCustomRoutingAcceleratorIpSetArrayOutput

func (GetCustomRoutingAcceleratorIpSetArrayOutput) ToGetCustomRoutingAcceleratorIpSetArrayOutputWithContext

func (o GetCustomRoutingAcceleratorIpSetArrayOutput) ToGetCustomRoutingAcceleratorIpSetArrayOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorIpSetArrayOutput

type GetCustomRoutingAcceleratorIpSetInput

type GetCustomRoutingAcceleratorIpSetInput interface {
	pulumi.Input

	ToGetCustomRoutingAcceleratorIpSetOutput() GetCustomRoutingAcceleratorIpSetOutput
	ToGetCustomRoutingAcceleratorIpSetOutputWithContext(context.Context) GetCustomRoutingAcceleratorIpSetOutput
}

GetCustomRoutingAcceleratorIpSetInput is an input type that accepts GetCustomRoutingAcceleratorIpSetArgs and GetCustomRoutingAcceleratorIpSetOutput values. You can construct a concrete instance of `GetCustomRoutingAcceleratorIpSetInput` via:

GetCustomRoutingAcceleratorIpSetArgs{...}

type GetCustomRoutingAcceleratorIpSetOutput

type GetCustomRoutingAcceleratorIpSetOutput struct{ *pulumi.OutputState }

func (GetCustomRoutingAcceleratorIpSetOutput) ElementType

func (GetCustomRoutingAcceleratorIpSetOutput) IpAddresses

func (GetCustomRoutingAcceleratorIpSetOutput) IpFamily

func (GetCustomRoutingAcceleratorIpSetOutput) ToGetCustomRoutingAcceleratorIpSetOutput

func (o GetCustomRoutingAcceleratorIpSetOutput) ToGetCustomRoutingAcceleratorIpSetOutput() GetCustomRoutingAcceleratorIpSetOutput

func (GetCustomRoutingAcceleratorIpSetOutput) ToGetCustomRoutingAcceleratorIpSetOutputWithContext

func (o GetCustomRoutingAcceleratorIpSetOutput) ToGetCustomRoutingAcceleratorIpSetOutputWithContext(ctx context.Context) GetCustomRoutingAcceleratorIpSetOutput

type Listener

type Listener struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of your accelerator.
	AcceleratorArn pulumi.StringOutput `pulumi:"acceleratorArn"`
	// Direct all requests from a user to the same endpoint. Valid values are `NONE`, `SOURCE_IP`. Default: `NONE`. If `NONE`, Global Accelerator uses the "five-tuple" properties of source IP address, source port, destination IP address, destination port, and protocol to select the hash value. If `SOURCE_IP`, Global Accelerator uses the "two-tuple" properties of source (client) IP address and destination IP address to select the hash value.
	ClientAffinity pulumi.StringPtrOutput `pulumi:"clientAffinity"`
	// The list of port ranges for the connections from clients to the accelerator. Fields documented below.
	PortRanges ListenerPortRangeArrayOutput `pulumi:"portRanges"`
	// The protocol for the connections from clients to the accelerator. Valid values are `TCP`, `UDP`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
}

Provides a Global Accelerator listener.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := globalaccelerator.NewAccelerator(ctx, "example", &globalaccelerator.AcceleratorArgs{
			Name:          pulumi.String("Example"),
			IpAddressType: pulumi.String("IPV4"),
			Enabled:       pulumi.Bool(true),
			Attributes: &globalaccelerator.AcceleratorAttributesArgs{
				FlowLogsEnabled:  pulumi.Bool(true),
				FlowLogsS3Bucket: pulumi.String("example-bucket"),
				FlowLogsS3Prefix: pulumi.String("flow-logs/"),
			},
		})
		if err != nil {
			return err
		}
		_, err = globalaccelerator.NewListener(ctx, "example", &globalaccelerator.ListenerArgs{
			AcceleratorArn: example.ID(),
			ClientAffinity: pulumi.String("SOURCE_IP"),
			Protocol:       pulumi.String("TCP"),
			PortRanges: globalaccelerator.ListenerPortRangeArray{
				&globalaccelerator.ListenerPortRangeArgs{
					FromPort: pulumi.Int(80),
					ToPort:   pulumi.Int(80),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Global Accelerator listeners using the `id`. For example:

```sh $ pulumi import aws:globalaccelerator/listener:Listener example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxxx ```

func GetListener

func GetListener(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerState, opts ...pulumi.ResourceOption) (*Listener, error)

GetListener gets an existing Listener 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 NewListener

func NewListener(ctx *pulumi.Context,
	name string, args *ListenerArgs, opts ...pulumi.ResourceOption) (*Listener, error)

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

func (*Listener) ElementType

func (*Listener) ElementType() reflect.Type

func (*Listener) ToListenerOutput

func (i *Listener) ToListenerOutput() ListenerOutput

func (*Listener) ToListenerOutputWithContext

func (i *Listener) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerArgs

type ListenerArgs struct {
	// The Amazon Resource Name (ARN) of your accelerator.
	AcceleratorArn pulumi.StringInput
	// Direct all requests from a user to the same endpoint. Valid values are `NONE`, `SOURCE_IP`. Default: `NONE`. If `NONE`, Global Accelerator uses the "five-tuple" properties of source IP address, source port, destination IP address, destination port, and protocol to select the hash value. If `SOURCE_IP`, Global Accelerator uses the "two-tuple" properties of source (client) IP address and destination IP address to select the hash value.
	ClientAffinity pulumi.StringPtrInput
	// The list of port ranges for the connections from clients to the accelerator. Fields documented below.
	PortRanges ListenerPortRangeArrayInput
	// The protocol for the connections from clients to the accelerator. Valid values are `TCP`, `UDP`.
	Protocol pulumi.StringInput
}

The set of arguments for constructing a Listener resource.

func (ListenerArgs) ElementType

func (ListenerArgs) ElementType() reflect.Type

type ListenerArray

type ListenerArray []ListenerInput

func (ListenerArray) ElementType

func (ListenerArray) ElementType() reflect.Type

func (ListenerArray) ToListenerArrayOutput

func (i ListenerArray) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArray) ToListenerArrayOutputWithContext

func (i ListenerArray) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerArrayInput

type ListenerArrayInput interface {
	pulumi.Input

	ToListenerArrayOutput() ListenerArrayOutput
	ToListenerArrayOutputWithContext(context.Context) ListenerArrayOutput
}

ListenerArrayInput is an input type that accepts ListenerArray and ListenerArrayOutput values. You can construct a concrete instance of `ListenerArrayInput` via:

ListenerArray{ ListenerArgs{...} }

type ListenerArrayOutput

type ListenerArrayOutput struct{ *pulumi.OutputState }

func (ListenerArrayOutput) ElementType

func (ListenerArrayOutput) ElementType() reflect.Type

func (ListenerArrayOutput) Index

func (ListenerArrayOutput) ToListenerArrayOutput

func (o ListenerArrayOutput) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArrayOutput) ToListenerArrayOutputWithContext

func (o ListenerArrayOutput) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerInput

type ListenerInput interface {
	pulumi.Input

	ToListenerOutput() ListenerOutput
	ToListenerOutputWithContext(ctx context.Context) ListenerOutput
}

type ListenerMap

type ListenerMap map[string]ListenerInput

func (ListenerMap) ElementType

func (ListenerMap) ElementType() reflect.Type

func (ListenerMap) ToListenerMapOutput

func (i ListenerMap) ToListenerMapOutput() ListenerMapOutput

func (ListenerMap) ToListenerMapOutputWithContext

func (i ListenerMap) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerMapInput

type ListenerMapInput interface {
	pulumi.Input

	ToListenerMapOutput() ListenerMapOutput
	ToListenerMapOutputWithContext(context.Context) ListenerMapOutput
}

ListenerMapInput is an input type that accepts ListenerMap and ListenerMapOutput values. You can construct a concrete instance of `ListenerMapInput` via:

ListenerMap{ "key": ListenerArgs{...} }

type ListenerMapOutput

type ListenerMapOutput struct{ *pulumi.OutputState }

func (ListenerMapOutput) ElementType

func (ListenerMapOutput) ElementType() reflect.Type

func (ListenerMapOutput) MapIndex

func (ListenerMapOutput) ToListenerMapOutput

func (o ListenerMapOutput) ToListenerMapOutput() ListenerMapOutput

func (ListenerMapOutput) ToListenerMapOutputWithContext

func (o ListenerMapOutput) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerOutput

type ListenerOutput struct{ *pulumi.OutputState }

func (ListenerOutput) AcceleratorArn

func (o ListenerOutput) AcceleratorArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of your accelerator.

func (ListenerOutput) ClientAffinity

func (o ListenerOutput) ClientAffinity() pulumi.StringPtrOutput

Direct all requests from a user to the same endpoint. Valid values are `NONE`, `SOURCE_IP`. Default: `NONE`. If `NONE`, Global Accelerator uses the "five-tuple" properties of source IP address, source port, destination IP address, destination port, and protocol to select the hash value. If `SOURCE_IP`, Global Accelerator uses the "two-tuple" properties of source (client) IP address and destination IP address to select the hash value.

func (ListenerOutput) ElementType

func (ListenerOutput) ElementType() reflect.Type

func (ListenerOutput) PortRanges

The list of port ranges for the connections from clients to the accelerator. Fields documented below.

func (ListenerOutput) Protocol

func (o ListenerOutput) Protocol() pulumi.StringOutput

The protocol for the connections from clients to the accelerator. Valid values are `TCP`, `UDP`.

func (ListenerOutput) ToListenerOutput

func (o ListenerOutput) ToListenerOutput() ListenerOutput

func (ListenerOutput) ToListenerOutputWithContext

func (o ListenerOutput) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerPortRange

type ListenerPortRange struct {
	// The first port in the range of ports, inclusive.
	FromPort *int `pulumi:"fromPort"`
	// The last port in the range of ports, inclusive.
	ToPort *int `pulumi:"toPort"`
}

type ListenerPortRangeArgs

type ListenerPortRangeArgs struct {
	// The first port in the range of ports, inclusive.
	FromPort pulumi.IntPtrInput `pulumi:"fromPort"`
	// The last port in the range of ports, inclusive.
	ToPort pulumi.IntPtrInput `pulumi:"toPort"`
}

func (ListenerPortRangeArgs) ElementType

func (ListenerPortRangeArgs) ElementType() reflect.Type

func (ListenerPortRangeArgs) ToListenerPortRangeOutput

func (i ListenerPortRangeArgs) ToListenerPortRangeOutput() ListenerPortRangeOutput

func (ListenerPortRangeArgs) ToListenerPortRangeOutputWithContext

func (i ListenerPortRangeArgs) ToListenerPortRangeOutputWithContext(ctx context.Context) ListenerPortRangeOutput

type ListenerPortRangeArray

type ListenerPortRangeArray []ListenerPortRangeInput

func (ListenerPortRangeArray) ElementType

func (ListenerPortRangeArray) ElementType() reflect.Type

func (ListenerPortRangeArray) ToListenerPortRangeArrayOutput

func (i ListenerPortRangeArray) ToListenerPortRangeArrayOutput() ListenerPortRangeArrayOutput

func (ListenerPortRangeArray) ToListenerPortRangeArrayOutputWithContext

func (i ListenerPortRangeArray) ToListenerPortRangeArrayOutputWithContext(ctx context.Context) ListenerPortRangeArrayOutput

type ListenerPortRangeArrayInput

type ListenerPortRangeArrayInput interface {
	pulumi.Input

	ToListenerPortRangeArrayOutput() ListenerPortRangeArrayOutput
	ToListenerPortRangeArrayOutputWithContext(context.Context) ListenerPortRangeArrayOutput
}

ListenerPortRangeArrayInput is an input type that accepts ListenerPortRangeArray and ListenerPortRangeArrayOutput values. You can construct a concrete instance of `ListenerPortRangeArrayInput` via:

ListenerPortRangeArray{ ListenerPortRangeArgs{...} }

type ListenerPortRangeArrayOutput

type ListenerPortRangeArrayOutput struct{ *pulumi.OutputState }

func (ListenerPortRangeArrayOutput) ElementType

func (ListenerPortRangeArrayOutput) Index

func (ListenerPortRangeArrayOutput) ToListenerPortRangeArrayOutput

func (o ListenerPortRangeArrayOutput) ToListenerPortRangeArrayOutput() ListenerPortRangeArrayOutput

func (ListenerPortRangeArrayOutput) ToListenerPortRangeArrayOutputWithContext

func (o ListenerPortRangeArrayOutput) ToListenerPortRangeArrayOutputWithContext(ctx context.Context) ListenerPortRangeArrayOutput

type ListenerPortRangeInput

type ListenerPortRangeInput interface {
	pulumi.Input

	ToListenerPortRangeOutput() ListenerPortRangeOutput
	ToListenerPortRangeOutputWithContext(context.Context) ListenerPortRangeOutput
}

ListenerPortRangeInput is an input type that accepts ListenerPortRangeArgs and ListenerPortRangeOutput values. You can construct a concrete instance of `ListenerPortRangeInput` via:

ListenerPortRangeArgs{...}

type ListenerPortRangeOutput

type ListenerPortRangeOutput struct{ *pulumi.OutputState }

func (ListenerPortRangeOutput) ElementType

func (ListenerPortRangeOutput) ElementType() reflect.Type

func (ListenerPortRangeOutput) FromPort

The first port in the range of ports, inclusive.

func (ListenerPortRangeOutput) ToListenerPortRangeOutput

func (o ListenerPortRangeOutput) ToListenerPortRangeOutput() ListenerPortRangeOutput

func (ListenerPortRangeOutput) ToListenerPortRangeOutputWithContext

func (o ListenerPortRangeOutput) ToListenerPortRangeOutputWithContext(ctx context.Context) ListenerPortRangeOutput

func (ListenerPortRangeOutput) ToPort

The last port in the range of ports, inclusive.

type ListenerState

type ListenerState struct {
	// The Amazon Resource Name (ARN) of your accelerator.
	AcceleratorArn pulumi.StringPtrInput
	// Direct all requests from a user to the same endpoint. Valid values are `NONE`, `SOURCE_IP`. Default: `NONE`. If `NONE`, Global Accelerator uses the "five-tuple" properties of source IP address, source port, destination IP address, destination port, and protocol to select the hash value. If `SOURCE_IP`, Global Accelerator uses the "two-tuple" properties of source (client) IP address and destination IP address to select the hash value.
	ClientAffinity pulumi.StringPtrInput
	// The list of port ranges for the connections from clients to the accelerator. Fields documented below.
	PortRanges ListenerPortRangeArrayInput
	// The protocol for the connections from clients to the accelerator. Valid values are `TCP`, `UDP`.
	Protocol pulumi.StringPtrInput
}

func (ListenerState) ElementType

func (ListenerState) ElementType() reflect.Type

type LookupAcceleratorArgs

type LookupAcceleratorArgs struct {
	// Full ARN of the Global Accelerator.
	Arn *string `pulumi:"arn"`
	Id  *string `pulumi:"id"`
	// Unique name of the Global Accelerator.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getAccelerator.

type LookupAcceleratorOutputArgs

type LookupAcceleratorOutputArgs struct {
	// Full ARN of the Global Accelerator.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	Id  pulumi.StringPtrInput `pulumi:"id"`
	// Unique name of the Global Accelerator.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getAccelerator.

func (LookupAcceleratorOutputArgs) ElementType

type LookupAcceleratorResult

type LookupAcceleratorResult struct {
	Arn              string                    `pulumi:"arn"`
	Attributes       []GetAcceleratorAttribute `pulumi:"attributes"`
	DnsName          string                    `pulumi:"dnsName"`
	DualStackDnsName string                    `pulumi:"dualStackDnsName"`
	Enabled          bool                      `pulumi:"enabled"`
	HostedZoneId     string                    `pulumi:"hostedZoneId"`
	Id               string                    `pulumi:"id"`
	IpAddressType    string                    `pulumi:"ipAddressType"`
	IpSets           []GetAcceleratorIpSet     `pulumi:"ipSets"`
	Name             string                    `pulumi:"name"`
	Tags             map[string]string         `pulumi:"tags"`
}

A collection of values returned by getAccelerator.

func LookupAccelerator

func LookupAccelerator(ctx *pulumi.Context, args *LookupAcceleratorArgs, opts ...pulumi.InvokeOption) (*LookupAcceleratorResult, error)

Provides information about a Global Accelerator accelerator.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		acceleratorArn := ""
		if param := cfg.Get("acceleratorArn"); param != "" {
			acceleratorArn = param
		}
		acceleratorName := ""
		if param := cfg.Get("acceleratorName"); param != "" {
			acceleratorName = param
		}
		_, err := globalaccelerator.LookupAccelerator(ctx, &globalaccelerator.LookupAcceleratorArgs{
			Arn:  pulumi.StringRef(acceleratorArn),
			Name: pulumi.StringRef(acceleratorName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupAcceleratorResultOutput

type LookupAcceleratorResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccelerator.

func (LookupAcceleratorResultOutput) Arn

func (LookupAcceleratorResultOutput) Attributes

func (LookupAcceleratorResultOutput) DnsName

func (LookupAcceleratorResultOutput) DualStackDnsName

func (o LookupAcceleratorResultOutput) DualStackDnsName() pulumi.StringOutput

func (LookupAcceleratorResultOutput) ElementType

func (LookupAcceleratorResultOutput) Enabled

func (LookupAcceleratorResultOutput) HostedZoneId

func (LookupAcceleratorResultOutput) Id

func (LookupAcceleratorResultOutput) IpAddressType

func (LookupAcceleratorResultOutput) IpSets

func (LookupAcceleratorResultOutput) Name

func (LookupAcceleratorResultOutput) Tags

func (LookupAcceleratorResultOutput) ToLookupAcceleratorResultOutput

func (o LookupAcceleratorResultOutput) ToLookupAcceleratorResultOutput() LookupAcceleratorResultOutput

func (LookupAcceleratorResultOutput) ToLookupAcceleratorResultOutputWithContext

func (o LookupAcceleratorResultOutput) ToLookupAcceleratorResultOutputWithContext(ctx context.Context) LookupAcceleratorResultOutput

type LookupCustomRoutingAcceleratorArgs

type LookupCustomRoutingAcceleratorArgs struct {
	// Full ARN of the custom routing accelerator.
	Arn *string `pulumi:"arn"`
	// Unique name of the custom routing accelerator.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
	Name *string           `pulumi:"name"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getCustomRoutingAccelerator.

type LookupCustomRoutingAcceleratorOutputArgs

type LookupCustomRoutingAcceleratorOutputArgs struct {
	// Full ARN of the custom routing accelerator.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// Unique name of the custom routing accelerator.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
	Name pulumi.StringPtrInput `pulumi:"name"`
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getCustomRoutingAccelerator.

func (LookupCustomRoutingAcceleratorOutputArgs) ElementType

type LookupCustomRoutingAcceleratorResult

type LookupCustomRoutingAcceleratorResult struct {
	Arn          string                                 `pulumi:"arn"`
	Attributes   []GetCustomRoutingAcceleratorAttribute `pulumi:"attributes"`
	DnsName      string                                 `pulumi:"dnsName"`
	Enabled      bool                                   `pulumi:"enabled"`
	HostedZoneId string                                 `pulumi:"hostedZoneId"`
	// The provider-assigned unique ID for this managed resource.
	Id            string                             `pulumi:"id"`
	IpAddressType string                             `pulumi:"ipAddressType"`
	IpSets        []GetCustomRoutingAcceleratorIpSet `pulumi:"ipSets"`
	Name          string                             `pulumi:"name"`
	Tags          map[string]string                  `pulumi:"tags"`
}

A collection of values returned by getCustomRoutingAccelerator.

func LookupCustomRoutingAccelerator

Provides information about a Global Accelerator custom routing accelerator.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		acceleratorArn := ""
		if param := cfg.Get("acceleratorArn"); param != "" {
			acceleratorArn = param
		}
		acceleratorName := ""
		if param := cfg.Get("acceleratorName"); param != "" {
			acceleratorName = param
		}
		_, err := globalaccelerator.LookupCustomRoutingAccelerator(ctx, &globalaccelerator.LookupCustomRoutingAcceleratorArgs{
			Arn:  pulumi.StringRef(acceleratorArn),
			Name: pulumi.StringRef(acceleratorName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupCustomRoutingAcceleratorResultOutput

type LookupCustomRoutingAcceleratorResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCustomRoutingAccelerator.

func (LookupCustomRoutingAcceleratorResultOutput) Arn

func (LookupCustomRoutingAcceleratorResultOutput) Attributes

func (LookupCustomRoutingAcceleratorResultOutput) DnsName

func (LookupCustomRoutingAcceleratorResultOutput) ElementType

func (LookupCustomRoutingAcceleratorResultOutput) Enabled

func (LookupCustomRoutingAcceleratorResultOutput) HostedZoneId

func (LookupCustomRoutingAcceleratorResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCustomRoutingAcceleratorResultOutput) IpAddressType

func (LookupCustomRoutingAcceleratorResultOutput) IpSets

func (LookupCustomRoutingAcceleratorResultOutput) Name

func (LookupCustomRoutingAcceleratorResultOutput) Tags

func (LookupCustomRoutingAcceleratorResultOutput) ToLookupCustomRoutingAcceleratorResultOutput

func (o LookupCustomRoutingAcceleratorResultOutput) ToLookupCustomRoutingAcceleratorResultOutput() LookupCustomRoutingAcceleratorResultOutput

func (LookupCustomRoutingAcceleratorResultOutput) ToLookupCustomRoutingAcceleratorResultOutputWithContext

func (o LookupCustomRoutingAcceleratorResultOutput) ToLookupCustomRoutingAcceleratorResultOutputWithContext(ctx context.Context) LookupCustomRoutingAcceleratorResultOutput

Jump to

Keyboard shortcuts

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