CustomRoutingAcceleratorArgs

data class CustomRoutingAcceleratorArgs(val attributes: Output<CustomRoutingAcceleratorAttributesArgs>? = null, val enabled: Output<Boolean>? = null, val ipAddressType: Output<String>? = null, val ipAddresses: Output<List<String>>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<CustomRoutingAcceleratorArgs>

Creates a Global Accelerator custom routing accelerator.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.globalaccelerator.CustomRoutingAccelerator;
import com.pulumi.aws.globalaccelerator.CustomRoutingAcceleratorArgs;
import com.pulumi.aws.globalaccelerator.inputs.CustomRoutingAcceleratorAttributesArgs;
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 CustomRoutingAccelerator("example", CustomRoutingAcceleratorArgs.builder()
.attributes(CustomRoutingAcceleratorAttributesArgs.builder()
.flowLogsEnabled(true)
.flowLogsS3Bucket("example-bucket")
.flowLogsS3Prefix("flow-logs/")
.build())
.enabled(true)
.ipAddressType("IPV4")
.ipAddresses("1.2.3.4")
.build());
}
}

Import

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

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

Constructors

Link copied to clipboard
fun CustomRoutingAcceleratorArgs(attributes: Output<CustomRoutingAcceleratorAttributesArgs>? = null, enabled: Output<Boolean>? = null, ipAddressType: Output<String>? = null, ipAddresses: Output<List<String>>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CustomRoutingAcceleratorArgs

Properties

Link copied to clipboard

The attributes of the accelerator. Fields documented below.

Link copied to clipboard
val enabled: Output<Boolean>? = null

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

Link copied to clipboard
val ipAddresses: Output<List<String>>? = null

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

Link copied to clipboard
val ipAddressType: Output<String>? = null

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

Link copied to clipboard
val name: Output<String>? = null

The name of a custom routing accelerator.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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