aws.globalaccelerator.Accelerator
Explore with Pulumi AI
Creates a Global Accelerator accelerator.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.globalaccelerator.Accelerator("example", {
    name: "Example",
    ipAddressType: "IPV4",
    ipAddresses: ["1.2.3.4"],
    enabled: true,
    attributes: {
        flowLogsEnabled: true,
        flowLogsS3Bucket: "example-bucket",
        flowLogsS3Prefix: "flow-logs/",
    },
});
import pulumi
import pulumi_aws as aws
example = aws.globalaccelerator.Accelerator("example",
    name="Example",
    ip_address_type="IPV4",
    ip_addresses=["1.2.3.4"],
    enabled=True,
    attributes={
        "flow_logs_enabled": True,
        "flow_logs_s3_bucket": "example-bucket",
        "flow_logs_s3_prefix": "flow-logs/",
    })
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
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.GlobalAccelerator.Accelerator("example", new()
    {
        Name = "Example",
        IpAddressType = "IPV4",
        IpAddresses = new[]
        {
            "1.2.3.4",
        },
        Enabled = true,
        Attributes = new Aws.GlobalAccelerator.Inputs.AcceleratorAttributesArgs
        {
            FlowLogsEnabled = true,
            FlowLogsS3Bucket = "example-bucket",
            FlowLogsS3Prefix = "flow-logs/",
        },
    });
});
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()
            .name("Example")
            .ipAddressType("IPV4")
            .ipAddresses("1.2.3.4")
            .enabled(true)
            .attributes(AcceleratorAttributesArgs.builder()
                .flowLogsEnabled(true)
                .flowLogsS3Bucket("example-bucket")
                .flowLogsS3Prefix("flow-logs/")
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:globalaccelerator:Accelerator
    properties:
      name: Example
      ipAddressType: IPV4
      ipAddresses:
        - 1.2.3.4
      enabled: true
      attributes:
        flowLogsEnabled: true
        flowLogsS3Bucket: example-bucket
        flowLogsS3Prefix: flow-logs/
Create Accelerator Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Accelerator(name: string, args?: AcceleratorArgs, opts?: CustomResourceOptions);@overload
def Accelerator(resource_name: str,
                args: Optional[AcceleratorArgs] = None,
                opts: Optional[ResourceOptions] = None)
@overload
def Accelerator(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                attributes: Optional[AcceleratorAttributesArgs] = None,
                enabled: Optional[bool] = None,
                ip_address_type: Optional[str] = None,
                ip_addresses: Optional[Sequence[str]] = None,
                name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)func NewAccelerator(ctx *Context, name string, args *AcceleratorArgs, opts ...ResourceOption) (*Accelerator, error)public Accelerator(string name, AcceleratorArgs? args = null, CustomResourceOptions? opts = null)
public Accelerator(String name, AcceleratorArgs args)
public Accelerator(String name, AcceleratorArgs args, CustomResourceOptions options)
type: aws:globalaccelerator:Accelerator
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AcceleratorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AcceleratorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AcceleratorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AcceleratorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AcceleratorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var acceleratorResource = new Aws.GlobalAccelerator.Accelerator("acceleratorResource", new()
{
    Attributes = new Aws.GlobalAccelerator.Inputs.AcceleratorAttributesArgs
    {
        FlowLogsEnabled = false,
        FlowLogsS3Bucket = "string",
        FlowLogsS3Prefix = "string",
    },
    Enabled = false,
    IpAddressType = "string",
    IpAddresses = new[]
    {
        "string",
    },
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := globalaccelerator.NewAccelerator(ctx, "acceleratorResource", &globalaccelerator.AcceleratorArgs{
	Attributes: &globalaccelerator.AcceleratorAttributesArgs{
		FlowLogsEnabled:  pulumi.Bool(false),
		FlowLogsS3Bucket: pulumi.String("string"),
		FlowLogsS3Prefix: pulumi.String("string"),
	},
	Enabled:       pulumi.Bool(false),
	IpAddressType: pulumi.String("string"),
	IpAddresses: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var acceleratorResource = new Accelerator("acceleratorResource", AcceleratorArgs.builder()
    .attributes(AcceleratorAttributesArgs.builder()
        .flowLogsEnabled(false)
        .flowLogsS3Bucket("string")
        .flowLogsS3Prefix("string")
        .build())
    .enabled(false)
    .ipAddressType("string")
    .ipAddresses("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
accelerator_resource = aws.globalaccelerator.Accelerator("acceleratorResource",
    attributes={
        "flow_logs_enabled": False,
        "flow_logs_s3_bucket": "string",
        "flow_logs_s3_prefix": "string",
    },
    enabled=False,
    ip_address_type="string",
    ip_addresses=["string"],
    name="string",
    tags={
        "string": "string",
    })
const acceleratorResource = new aws.globalaccelerator.Accelerator("acceleratorResource", {
    attributes: {
        flowLogsEnabled: false,
        flowLogsS3Bucket: "string",
        flowLogsS3Prefix: "string",
    },
    enabled: false,
    ipAddressType: "string",
    ipAddresses: ["string"],
    name: "string",
    tags: {
        string: "string",
    },
});
type: aws:globalaccelerator:Accelerator
properties:
    attributes:
        flowLogsEnabled: false
        flowLogsS3Bucket: string
        flowLogsS3Prefix: string
    enabled: false
    ipAddressType: string
    ipAddresses:
        - string
    name: string
    tags:
        string: string
Accelerator Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Accelerator resource accepts the following input properties:
- Attributes
AcceleratorAttributes 
- The attributes of the accelerator. Fields documented below.
- Enabled bool
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- IpAddress stringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- IpAddresses 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.
- Name string
- The name of the accelerator.
- Dictionary<string, string>
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Attributes
AcceleratorAttributes Args 
- The attributes of the accelerator. Fields documented below.
- Enabled bool
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- IpAddress stringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- IpAddresses []string
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- Name string
- The name of the accelerator.
- map[string]string
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- attributes
AcceleratorAttributes 
- The attributes of the accelerator. Fields documented below.
- enabled Boolean
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- ipAddress StringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ipAddresses 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.
- name String
- The name of the accelerator.
- Map<String,String>
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- attributes
AcceleratorAttributes 
- The attributes of the accelerator. Fields documented below.
- enabled boolean
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- ipAddress stringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ipAddresses string[]
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- name string
- The name of the accelerator.
- {[key: string]: string}
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- attributes
AcceleratorAttributes Args 
- The attributes of the accelerator. Fields documented below.
- enabled bool
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- ip_address_ strtype 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ip_addresses Sequence[str]
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- name str
- The name of the accelerator.
- Mapping[str, str]
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- attributes Property Map
- The attributes of the accelerator. Fields documented below.
- enabled Boolean
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- ipAddress StringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ipAddresses 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.
- name String
- The name of the accelerator.
- Map<String>
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the Accelerator resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the accelerator.
- DnsName string
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- DualStack stringDns Name 
- 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.
- HostedZone stringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- Id string
- The provider-assigned unique ID for this managed resource.
- IpSets List<AcceleratorIp Set> 
- IP address set associated with the accelerator.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- The Amazon Resource Name (ARN) of the accelerator.
- DnsName string
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- DualStack stringDns Name 
- 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.
- HostedZone stringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- Id string
- The provider-assigned unique ID for this managed resource.
- IpSets []AcceleratorIp Set 
- IP address set associated with the accelerator.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The Amazon Resource Name (ARN) of the accelerator.
- dnsName String
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dualStack StringDns Name 
- 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.
- hostedZone StringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- id String
- The provider-assigned unique ID for this managed resource.
- ipSets List<AcceleratorIp Set> 
- IP address set associated with the accelerator.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- The Amazon Resource Name (ARN) of the accelerator.
- dnsName string
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dualStack stringDns Name 
- 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.
- hostedZone stringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- id string
- The provider-assigned unique ID for this managed resource.
- ipSets AcceleratorIp Set[] 
- IP address set associated with the accelerator.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- The Amazon Resource Name (ARN) of the accelerator.
- dns_name str
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dual_stack_ strdns_ name 
- 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.
- hosted_zone_ strid 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- id str
- The provider-assigned unique ID for this managed resource.
- ip_sets Sequence[AcceleratorIp Set] 
- IP address set associated with the accelerator.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The Amazon Resource Name (ARN) of the accelerator.
- dnsName String
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dualStack StringDns Name 
- 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.
- hostedZone StringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- id String
- The provider-assigned unique ID for this managed resource.
- ipSets List<Property Map>
- IP address set associated with the accelerator.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing Accelerator Resource
Get an existing Accelerator resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AcceleratorState, opts?: CustomResourceOptions): Accelerator@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        attributes: Optional[AcceleratorAttributesArgs] = None,
        dns_name: Optional[str] = None,
        dual_stack_dns_name: Optional[str] = None,
        enabled: Optional[bool] = None,
        hosted_zone_id: Optional[str] = None,
        ip_address_type: Optional[str] = None,
        ip_addresses: Optional[Sequence[str]] = None,
        ip_sets: Optional[Sequence[AcceleratorIpSetArgs]] = None,
        name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Acceleratorfunc GetAccelerator(ctx *Context, name string, id IDInput, state *AcceleratorState, opts ...ResourceOption) (*Accelerator, error)public static Accelerator Get(string name, Input<string> id, AcceleratorState? state, CustomResourceOptions? opts = null)public static Accelerator get(String name, Output<String> id, AcceleratorState state, CustomResourceOptions options)resources:  _:    type: aws:globalaccelerator:Accelerator    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- The Amazon Resource Name (ARN) of the accelerator.
- Attributes
AcceleratorAttributes 
- The attributes of the accelerator. Fields documented below.
- DnsName string
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- DualStack stringDns Name 
- 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.
- Enabled bool
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- HostedZone stringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- IpAddress stringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- IpAddresses 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.
- IpSets List<AcceleratorIp Set> 
- IP address set associated with the accelerator.
- Name string
- The name of the accelerator.
- Dictionary<string, string>
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- The Amazon Resource Name (ARN) of the accelerator.
- Attributes
AcceleratorAttributes Args 
- The attributes of the accelerator. Fields documented below.
- DnsName string
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- DualStack stringDns Name 
- 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.
- Enabled bool
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- HostedZone stringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- IpAddress stringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- IpAddresses []string
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- IpSets []AcceleratorIp Set Args 
- IP address set associated with the accelerator.
- Name string
- The name of the accelerator.
- map[string]string
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The Amazon Resource Name (ARN) of the accelerator.
- attributes
AcceleratorAttributes 
- The attributes of the accelerator. Fields documented below.
- dnsName String
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dualStack StringDns Name 
- 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.
- enabled Boolean
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- hostedZone StringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- ipAddress StringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ipAddresses 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.
- ipSets List<AcceleratorIp Set> 
- IP address set associated with the accelerator.
- name String
- The name of the accelerator.
- Map<String,String>
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- The Amazon Resource Name (ARN) of the accelerator.
- attributes
AcceleratorAttributes 
- The attributes of the accelerator. Fields documented below.
- dnsName string
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dualStack stringDns Name 
- 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.
- enabled boolean
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- hostedZone stringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- ipAddress stringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ipAddresses string[]
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- ipSets AcceleratorIp Set[] 
- IP address set associated with the accelerator.
- name string
- The name of the accelerator.
- {[key: string]: string}
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- The Amazon Resource Name (ARN) of the accelerator.
- attributes
AcceleratorAttributes Args 
- The attributes of the accelerator. Fields documented below.
- dns_name str
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dual_stack_ strdns_ name 
- 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.
- enabled bool
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- hosted_zone_ strid 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- ip_address_ strtype 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ip_addresses Sequence[str]
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- ip_sets Sequence[AcceleratorIp Set Args] 
- IP address set associated with the accelerator.
- name str
- The name of the accelerator.
- Mapping[str, str]
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The Amazon Resource Name (ARN) of the accelerator.
- attributes Property Map
- The attributes of the accelerator. Fields documented below.
- dnsName String
- The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
- dualStack StringDns Name 
- 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.
- enabled Boolean
- Indicates whether the accelerator is enabled. Defaults to true. Valid values:true,false.
- hostedZone StringId 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
 
- The Global Accelerator Route 53 zone ID that can be used to
route an Alias Resource Record Set to the Global Accelerator. This attribute
is simply an alias for the zone ID 
- ipAddress StringType 
- The value for the address type. Defaults to IPV4. Valid values:IPV4,DUAL_STACK.
- ipAddresses 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.
- ipSets List<Property Map>
- IP address set associated with the accelerator.
- name String
- The name of the accelerator.
- Map<String>
- A map of tags to assign to the resource. .If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Supporting Types
AcceleratorAttributes, AcceleratorAttributesArgs    
- FlowLogs boolEnabled 
- Indicates whether flow logs are enabled. Defaults to false. Valid values:true,false.
- FlowLogs stringS3Bucket 
- The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- FlowLogs stringS3Prefix 
- The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- FlowLogs boolEnabled 
- Indicates whether flow logs are enabled. Defaults to false. Valid values:true,false.
- FlowLogs stringS3Bucket 
- The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- FlowLogs stringS3Prefix 
- The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flowLogs BooleanEnabled 
- Indicates whether flow logs are enabled. Defaults to false. Valid values:true,false.
- flowLogs StringS3Bucket 
- The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flowLogs StringS3Prefix 
- The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flowLogs booleanEnabled 
- Indicates whether flow logs are enabled. Defaults to false. Valid values:true,false.
- flowLogs stringS3Bucket 
- The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flowLogs stringS3Prefix 
- The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flow_logs_ boolenabled 
- Indicates whether flow logs are enabled. Defaults to false. Valid values:true,false.
- flow_logs_ strs3_ bucket 
- The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flow_logs_ strs3_ prefix 
- The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flowLogs BooleanEnabled 
- Indicates whether flow logs are enabled. Defaults to false. Valid values:true,false.
- flowLogs StringS3Bucket 
- The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
- flowLogs StringS3Prefix 
- The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabledistrue.
AcceleratorIpSet, AcceleratorIpSetArgs      
- IpAddresses 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.
- IpFamily string
- The type of IP addresses included in this IP set.
- IpAddresses []string
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- IpFamily string
- The type of IP addresses included in this IP set.
- ipAddresses 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.
- ipFamily String
- The type of IP addresses included in this IP set.
- ipAddresses string[]
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- ipFamily string
- The type of IP addresses included in this IP set.
- ip_addresses Sequence[str]
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
- ip_family str
- The type of IP addresses included in this IP set.
- ipAddresses 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.
- ipFamily String
- The type of IP addresses included in this IP set.
Import
Using pulumi import, import Global Accelerator accelerators using the arn. For example:
$ pulumi import aws:globalaccelerator/accelerator:Accelerator example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.