Accelerator

class Accelerator : KotlinCustomResource

Creates a Global Accelerator accelerator.

Example Usage

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

Import

Global Accelerator accelerators can be imported using the arn, e.g.,

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

Properties

Link copied to clipboard

The attributes of the accelerator. Fields documented below.

Link copied to clipboard
val dnsName: Output<String>

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

Link copied to clipboard

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.

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

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

Link copied to clipboard
val hostedZoneId: Output<String>
Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ipAddresses: Output<List<String>>?

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>?

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

Link copied to clipboard

IP address set associated with the accelerator.

Link copied to clipboard
val name: Output<String>

The name of the accelerator.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

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. attributes supports the following attributes:

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

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

Link copied to clipboard
val urn: Output<String>