Accelerator

class aws_cdk.aws_globalaccelerator.Accelerator(scope, id, *, accelerator_name=None, enabled=None)

Bases: aws_cdk.core.Resource

(experimental) The Accelerator construct.

Stability

experimental

Parameters
  • scope (Construct) –

  • id (str) –

  • accelerator_name (Optional[str]) – (experimental) The name of the accelerator. Default: - resource ID

  • enabled (Optional[bool]) – (experimental) Indicates whether the accelerator is enabled. Default: true

Stability

experimental

Methods

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

accelerator_arn

(experimental) The ARN of the accelerator.

Stability

experimental

Return type

str

dns_name

(experimental) The Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator’s static IP addresses.

Stability

experimental

Return type

str

env

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.

Return type

ResourceEnvironment

node

The construct tree node associated with this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack

Static Methods

classmethod from_accelerator_attributes(scope, id, *, accelerator_arn, dns_name)

(experimental) import from attributes.

Parameters
  • scope (Construct) –

  • id (str) –

  • accelerator_arn (str) – (experimental) The ARN of the accelerator.

  • dns_name (str) – (experimental) The DNS name of the accelerator.

Stability

experimental

Return type

IAccelerator

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool