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",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.GlobalAccelerator
Assembly: Pulumi.Aws.dll
Syntax
public class Accelerator : CustomResource
Constructors
View SourceAccelerator(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 SourceAttributes
The attributes of the accelerator. Fields documented below.
Declaration
public Output<AcceleratorAttributes> Attributes { get; }
Property Value
| Type | Description |
|---|---|
| Output<AcceleratorAttributes> |
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 IDZ2BJ6XQ5FK7U4H.
Declaration
public Output<string> DnsName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
HostedZoneId
Declaration
public Output<string> HostedZoneId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IpAddressType
The value for the address type must be IPV4.
Declaration
public Output<string> IpAddressType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
Name
The name of the accelerator.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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 SourceGet(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 |