CfnAcceleratorProps Struct
Properties for defining a CfnAccelerator.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_globalaccelerator as globalaccelerator } from 'aws-cdk-lib';
const cfnAcceleratorProps: globalaccelerator.CfnAcceleratorProps = {
name: 'name',
// the properties below are optional
enabled: false,
flowLogsEnabled: false,
flowLogsS3Bucket: 'flowLogsS3Bucket',
flowLogsS3Prefix: 'flowLogsS3Prefix',
ipAddresses: ['ipAddresses'],
ipAddressType: 'ipAddressType',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}= true#If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
flowLogsEnabledboolean | IResolvableflow_logs_enabledtyping.Union[bool, IResolvable]flowLogsEnabledBooleanFlowLogsEnabledboolFlowLogsEnabledinterface{}= false#flowLogsS3Bucketstringflow_logs_s3_bucketstrflowLogsS3BucketStringFlowLogsS3BucketstringFlowLogsS3Bucket*string#flowLogsS3Prefixstringflow_logs_s3_prefixstrflowLogsS3PrefixStringFlowLogsS3PrefixstringFlowLogsS3Prefix*string#ipAddressesstring[]ip_addressestyping.List[str]ipAddressesList<String>IpAddressesstring[]IpAddresses*[]*string#notes
You can specify one or two addresses, separated by a comma. Do not include the /32 suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide .
ipAddressTypestringip_address_typestripAddressTypeStringIpAddressTypestringIpAddressType*string= "IPV4"#For a standard accelerator, the value can be IPV4 or DUAL_STACK.
The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.