Package com.pulumi.aws.globalaccelerator
Class CustomRoutingEndpointGroup
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.globalaccelerator.CustomRoutingEndpointGroup
-
public class CustomRoutingEndpointGroup extends com.pulumi.resources.CustomResource
Provides a Global Accelerator custom routing endpoint group. ## Example Usage <!--Start PulumiCodeChooser -->package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.globalaccelerator.CustomRoutingEndpointGroup; import com.pulumi.aws.globalaccelerator.CustomRoutingEndpointGroupArgs; import com.pulumi.aws.globalaccelerator.inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs; import com.pulumi.aws.globalaccelerator.inputs.CustomRoutingEndpointGroupEndpointConfigurationArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var example = new CustomRoutingEndpointGroup("example", CustomRoutingEndpointGroupArgs.builder() .listenerArn(exampleAwsGlobalacceleratorCustomRoutingListener.id()) .destinationConfigurations(CustomRoutingEndpointGroupDestinationConfigurationArgs.builder() .fromPort(80) .toPort(8080) .protocols("TCP") .build()) .endpointConfigurations(CustomRoutingEndpointGroupEndpointConfigurationArgs.builder() .endpointId(exampleAwsSubnet.id()) .build()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description CustomRoutingEndpointGroup(java.lang.String name)
CustomRoutingEndpointGroup(java.lang.String name, CustomRoutingEndpointGroupArgs args)
CustomRoutingEndpointGroup(java.lang.String name, CustomRoutingEndpointGroupArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.util.List<CustomRoutingEndpointGroupDestinationConfiguration>>
destinationConfigurations()
com.pulumi.core.Output<java.util.Optional<java.util.List<CustomRoutingEndpointGroupEndpointConfiguration>>>
endpointConfigurations()
com.pulumi.core.Output<java.lang.String>
endpointGroupRegion()
static CustomRoutingEndpointGroup
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, CustomRoutingEndpointGroupState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
listenerArn()
-
-
-
Constructor Detail
-
CustomRoutingEndpointGroup
public CustomRoutingEndpointGroup(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
CustomRoutingEndpointGroup
public CustomRoutingEndpointGroup(java.lang.String name, CustomRoutingEndpointGroupArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
CustomRoutingEndpointGroup
public CustomRoutingEndpointGroup(java.lang.String name, CustomRoutingEndpointGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- The Amazon Resource Name (ARN) of the custom routing endpoint group.
-
destinationConfigurations
public com.pulumi.core.Output<java.util.List<CustomRoutingEndpointGroupDestinationConfiguration>> destinationConfigurations()
- Returns:
- The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
-
endpointConfigurations
public com.pulumi.core.Output<java.util.Optional<java.util.List<CustomRoutingEndpointGroupEndpointConfiguration>>> endpointConfigurations()
- Returns:
- The list of endpoint objects. Fields documented below.
-
endpointGroupRegion
public com.pulumi.core.Output<java.lang.String> endpointGroupRegion()
- Returns:
- The name of the AWS Region where the custom routing endpoint group is located.
-
listenerArn
public com.pulumi.core.Output<java.lang.String> listenerArn()
- Returns:
- The Amazon Resource Name (ARN) of the custom routing listener.
-
get
public static CustomRoutingEndpointGroup get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable CustomRoutingEndpointGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-