Show / Hide Table of Contents

Class Accelerator

Creates a Global Accelerator accelerator.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.GlobalAccelerator.Accelerator("example", new Aws.GlobalAccelerator.AcceleratorArgs
    {
        Attributes = new Aws.GlobalAccelerator.Inputs.AcceleratorAttributesArgs
        {
            FlowLogsEnabled = true,
            FlowLogsS3Bucket = "example-bucket",
            FlowLogsS3Prefix = "flow-logs/",
        },
        Enabled = true,
        IpAddressType = "IPV4",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Accelerator
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.GlobalAccelerator
Assembly: Pulumi.Aws.dll
Syntax
public class Accelerator : CustomResource

Constructors

View Source

Accelerator(String, AcceleratorArgs, CustomResourceOptions)

Create a Accelerator resource with the given unique name, arguments, and options.

Declaration
public Accelerator(string name, AcceleratorArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AcceleratorArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Attributes

The attributes of the accelerator. Fields documented below.

Declaration
public Output<AcceleratorAttributes> Attributes { get; }
Property Value
Type Description
Output<AcceleratorAttributes>
View Source

DnsName

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

  • hosted_zone_id -- 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.
Declaration
public Output<string> DnsName { get; }
Property Value
Type Description
Output<System.String>
View Source

Enabled

Indicates whether the accelerator is enabled. The value is true or false. The default value is true.

Declaration
public Output<bool?> Enabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

HostedZoneId

Declaration
public Output<string> HostedZoneId { get; }
Property Value
Type Description
Output<System.String>
View Source

IpAddressType

The value for the address type must be IPV4.

Declaration
public Output<string> IpAddressType { get; }
Property Value
Type Description
Output<System.String>
View Source

IpSets

IP address set associated with the accelerator.

Declaration
public Output<ImmutableArray<AcceleratorIpSet>> IpSets { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<AcceleratorIpSet>>
View Source

Name

The name of the accelerator.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A map of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

Get(String, Input<String>, AcceleratorState, CustomResourceOptions)

Get an existing Accelerator resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Accelerator Get(string name, Input<string> id, AcceleratorState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AcceleratorState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Accelerator
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.