Class CfnAccelerator.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccelerator>
- Enclosing class:
CfnAccelerator
CfnAccelerator.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnAccelerator.BuilderIndicates whether the accelerator is enabled.enabled(IResolvable enabled) Indicates whether the accelerator is enabled.flowLogsEnabled(Boolean flowLogsEnabled) Indicates whether flow logs are enabled for the accelerator.flowLogsEnabled(IResolvable flowLogsEnabled) Indicates whether flow logs are enabled for the accelerator.flowLogsS3Bucket(String flowLogsS3Bucket) The name of the Amazon S3 bucket for the flow logs.flowLogsS3Prefix(String flowLogsS3Prefix) The prefix for the location in the Amazon S3 bucket for the flow logs.ipAddresses(List<String> ipAddresses) 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.ipAddressType(String ipAddressType) The IP address type that an accelerator supports.The name of the accelerator.Create tags for an accelerator.
-
Method Details
-
create
@Stability(Stable) public static CfnAccelerator.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAccelerator.Builder.
-
name
The name of the accelerator.The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
- Parameters:
name- The name of the accelerator. This parameter is required.- Returns:
this- See Also:
-
enabled
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
- Parameters:
enabled- Indicates whether the accelerator is enabled. The value is true or false. The default value is true. This parameter is required.- Returns:
this- See Also:
-
enabled
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
- Parameters:
enabled- Indicates whether the accelerator is enabled. The value is true or false. The default value is true. This parameter is required.- Returns:
this- See Also:
-
flowLogsEnabled
Indicates whether flow logs are enabled for the accelerator.Default: - false
- Parameters:
flowLogsEnabled- Indicates whether flow logs are enabled for the accelerator. This parameter is required.- Returns:
this- See Also:
-
flowLogsEnabled
Indicates whether flow logs are enabled for the accelerator.Default: - false
- Parameters:
flowLogsEnabled- Indicates whether flow logs are enabled for the accelerator. This parameter is required.- Returns:
this- See Also:
-
flowLogsS3Bucket
The name of the Amazon S3 bucket for the flow logs.- Parameters:
flowLogsS3Bucket- The name of the Amazon S3 bucket for the flow logs. This parameter is required.- Returns:
this- See Also:
-
flowLogsS3Prefix
The prefix for the location in the Amazon S3 bucket for the flow logs.- Parameters:
flowLogsS3Prefix- The prefix for the location in the Amazon S3 bucket for the flow logs. This parameter is required.- Returns:
this- See Also:
-
ipAddresses
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 .
- Parameters:
ipAddresses- 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. This parameter is required.- Returns:
this- See Also:
-
ipAddressType
The IP address type that an accelerator supports.For a standard accelerator, the value can be IPV4 or DUAL_STACK.
Default: - "IPV4"
- Parameters:
ipAddressType- The IP address type that an accelerator supports. This parameter is required.- Returns:
this- See Also:
-
tags
Create tags for an accelerator.For more information, see Tagging in the AWS Global Accelerator Developer Guide .
- Parameters:
tags- Create tags for an accelerator. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccelerator>- Returns:
- a newly built instance of
CfnAccelerator.
-