Module globalaccelerator

@pulumi/aws > globalaccelerator

class Accelerator

extends CustomResource

Provides 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", {
    attributes: {
        flowLogsEnabled: true,
        flowLogsS3Bucket: "example-bucket",
        flowLogsS3Prefix: "flow-logs/",
    },
    enabled: true,
    ipAddressType: "IPV4",
});

constructor

new Accelerator(name: string, args?: AcceleratorArgs, opts?: pulumi.CustomResourceOptions)

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

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AcceleratorState, opts?: pulumi.CustomResourceOptions): Accelerator

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property attributes

public attributes: pulumi.Output<{
    flowLogsEnabled: boolean;
    flowLogsS3Bucket: string;
    flowLogsS3Prefix: string;
} | undefined>;

The attributes of the accelerator. Fields documented below.

property enabled

public enabled: pulumi.Output<boolean | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipAddressType

public ipAddressType: pulumi.Output<string | undefined>;

The value for the address type must be IPV4.

property ipSets

public ipSets: pulumi.Output<{
    ipAddresses: string[];
    ipFamily: string;
}[]>;

IP address set associated with the accelerator.

property name

public name: pulumi.Output<string>;

The name of the accelerator.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface AcceleratorArgs

The set of arguments for constructing a Accelerator resource.

property attributes

attributes?: pulumi.Input<{
    flowLogsEnabled: pulumi.Input<boolean>;
    flowLogsS3Bucket: pulumi.Input<string>;
    flowLogsS3Prefix: pulumi.Input<string>;
}>;

The attributes of the accelerator. Fields documented below.

property enabled

enabled?: pulumi.Input<boolean>;

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

property ipAddressType

ipAddressType?: pulumi.Input<string>;

The value for the address type must be IPV4.

property name

name?: pulumi.Input<string>;

The name of the accelerator.

interface AcceleratorState

Input properties used for looking up and filtering Accelerator resources.

property attributes

attributes?: pulumi.Input<{
    flowLogsEnabled: pulumi.Input<boolean>;
    flowLogsS3Bucket: pulumi.Input<string>;
    flowLogsS3Prefix: pulumi.Input<string>;
}>;

The attributes of the accelerator. Fields documented below.

property enabled

enabled?: pulumi.Input<boolean>;

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

property ipAddressType

ipAddressType?: pulumi.Input<string>;

The value for the address type must be IPV4.

property ipSets

ipSets?: pulumi.Input<pulumi.Input<{
    ipAddresses: pulumi.Input<pulumi.Input<string>[]>;
    ipFamily: pulumi.Input<string>;
}>[]>;

IP address set associated with the accelerator.

property name

name?: pulumi.Input<string>;

The name of the accelerator.