Interface CfnAcceleratorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAcceleratorProps.Jsii$Proxy
CfnAccelerator
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.globalaccelerator.*; CfnAcceleratorProps cfnAcceleratorProps = CfnAcceleratorProps.builder() .name("name") // the properties below are optional .enabled(false) .ipAddresses(List.of("ipAddresses")) .ipAddressType("ipAddressType") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAcceleratorProps
static final class
An implementation forCfnAcceleratorProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAcceleratorProps.Builder
builder()
default Object
Indicates whether the accelerator is enabled.Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator.default String
The IP address type that an accelerator supports.getName()
The name of the accelerator.getTags()
Create tags for an accelerator.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the accelerator.The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
- See Also:
-
getEnabled
Indicates whether the accelerator is enabled. The value is true or false. The default value is true.If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
Default: - true
- See Also:
-
getIpAddresses
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator.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 .
- See Also:
-
getIpAddressType
The IP address type that an accelerator supports.For a standard accelerator, the value can be IPV4 or DUAL_STACK.
Default: - "IPV4"
- See Also:
-
getTags
Create tags for an accelerator.For more information, see Tagging in the AWS Global Accelerator Developer Guide .
- See Also:
-
builder
- Returns:
- a
CfnAcceleratorProps.Builder
ofCfnAcceleratorProps
-