class Accelerator (construct)
The Accelerator construct.
new Accelerator(scope: Construct, id: string, props?: AcceleratorProps)
|accelerator||The name of the accelerator.|
|enabled?||Indicates whether the accelerator is enabled.|
(optional, default: resource ID)
The name of the accelerator.
(optional, default: true)
Indicates whether the accelerator is enabled.
|accelerator||The ARN of the accelerator.|
|dns||The Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IP addresses.|
|env||The environment this resource belongs to.|
|node||The construct tree node associated with this construct.|
|stack||The stack in which this resource is defined.|
The ARN of the accelerator.
The Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IP addresses.
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
The construct tree node associated with this construct.
The stack in which this resource is defined.
|to||Returns a string representation of this construct.|
|static from||import from attributes.|
public toString(): string
Returns a string representation of this construct.
Accelerator Attributes(scope, id, attrs)
public static fromAcceleratorAttributes(scope: Construct, id: string, attrs: AcceleratorAttributes): IAccelerator
import from attributes.