import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a Global Accelerator endpoint group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.globalaccelerator.EndpointGroup("example", { * endpointConfigurations: [{ * endpointId: exampleAwsLb.arn, * weight: 100, * }], * listenerArn: exampleAwsGlobalacceleratorListener.arn, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * - `arn` (String) ARN of the Global Accelerator endpoint group. * * 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 * ``` */ export declare class EndpointGroup extends pulumi.CustomResource { /** * Get an existing EndpointGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EndpointGroupState, opts?: pulumi.CustomResourceOptions): EndpointGroup; /** * Check whether an existing EndpointGroup resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: EndpointGroupState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of EndpointGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EndpointGroup; /** * ARN of the endpoint group. */ readonly arn: pulumi.Output; /** * Endpoint objects. See `endpointConfiguration` below. */ readonly endpointConfigurations: pulumi.Output; /** * AWS Region where the endpoint group is located. */ readonly endpointGroupRegion: pulumi.Output; /** * Time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30. */ readonly healthCheckIntervalSeconds: pulumi.Output; /** * 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. */ readonly healthCheckPath: pulumi.Output; /** * 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. */ readonly healthCheckPort: pulumi.Output; /** * Protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP. */ readonly healthCheckProtocol: pulumi.Output; /** * ARN of the listener. */ readonly listenerArn: pulumi.Output; /** * Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. See `portOverride` below. */ readonly portOverrides: pulumi.Output; /** * 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. */ readonly thresholdCount: pulumi.Output; /** * 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. */ readonly trafficDialPercentage: pulumi.Output; /** * Create a EndpointGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EndpointGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EndpointGroup resources. */ export interface EndpointGroupState { /** * ARN of the endpoint group. */ arn?: pulumi.Input; /** * Endpoint objects. See `endpointConfiguration` below. */ endpointConfigurations?: pulumi.Input[] | undefined>; /** * AWS Region where the endpoint group is located. */ endpointGroupRegion?: pulumi.Input; /** * Time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30. */ healthCheckIntervalSeconds?: pulumi.Input; /** * 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.Input; /** * 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.Input; /** * 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.Input; /** * ARN of the listener. */ listenerArn?: pulumi.Input; /** * Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. See `portOverride` below. */ portOverrides?: pulumi.Input[] | undefined>; /** * 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.Input; /** * 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.Input; } /** * The set of arguments for constructing a EndpointGroup resource. */ export interface EndpointGroupArgs { /** * Endpoint objects. See `endpointConfiguration` below. */ endpointConfigurations?: pulumi.Input[] | undefined>; /** * AWS Region where the endpoint group is located. */ endpointGroupRegion?: pulumi.Input; /** * Time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30. */ healthCheckIntervalSeconds?: pulumi.Input; /** * 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.Input; /** * 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.Input; /** * 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.Input; /** * ARN of the listener. */ listenerArn: pulumi.Input; /** * Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. See `portOverride` below. */ portOverrides?: pulumi.Input[] | undefined>; /** * 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.Input; /** * 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.Input; } //# sourceMappingURL=endpointGroup.d.ts.map