CreateAcceleratorRequest

public struct CreateAcceleratorRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Indicates whether an accelerator is enabled. The value is true or false. The default value is true. If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.

    Declaration

    Swift

    public let enabled: Bool?
  • A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of an accelerator.

    Declaration

    Swift

    public let idempotencyToken: String
  • Optionally, if you’ve added your own IP address pool to Global Accelerator, you can choose IP addresses from your own pool to use for the accelerator’s static IP addresses. You can specify one or two addresses, separated by a comma. Do not include the /32 suffix. 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. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.

    Declaration

    Swift

    public let ipAddresses: [String]?
  • The value for the address type must be IPv4.

    Declaration

    Swift

    public let ipAddressType: IpAddressType?
  • The name of an accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

    Declaration

    Swift

    public let name: String
  • Create tags for an accelerator. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.

    Declaration

    Swift

    public let tags: [Tag]?
  • Undocumented

    Declaration

    Swift

    public init(enabled: Bool? = nil, idempotencyToken: String = CreateAcceleratorRequest.idempotencyToken(), ipAddresses: [String]? = nil, ipAddressType: IpAddressType? = nil, name: String, tags: [Tag]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws