@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.509Z") @Stability(value=Stable) public interface CfnAcceleratorProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAcceleratorProps.Builder
A builder for
CfnAcceleratorProps |
static class |
CfnAcceleratorProps.Jsii$Proxy
An implementation for
CfnAcceleratorProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAcceleratorProps.Builder |
builder() |
default Object |
getEnabled()
Indicates whether the accelerator is enabled.
|
default List<String> |
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.
|
default String |
getIpAddressType()
The value for the address type must be IPv4.
|
String |
getName()
The name of the accelerator.
|
default List<CfnTag> |
getTags()
Create tags for an accelerator.
|
@Stability(value=Stable) @NotNull String getName()
The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
@Stability(value=Stable) @Nullable default Object getEnabled()
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
@Stability(value=Stable) @Nullable default List<String> getIpAddresses()
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 .
@Stability(value=Stable) @Nullable default String getIpAddressType()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tagging in the AWS Global Accelerator Developer Guide .
@Stability(value=Stable) static CfnAcceleratorProps.Builder builder()
CfnAcceleratorProps.Builder of CfnAcceleratorPropsCopyright © 2022. All rights reserved.