Skip to main content

Create a PrefixList



Create a prefix list to configure and maintain security groups and route tables.


Path Parameters

    rulestackname stringrequired

    The name of the rulestack.


    AuditComment Auditcomment (string)

    Possible values: <= 512 characters

    The prefix list audit remarks.

    Description Description (string)

    Possible values: <= 512 characters

    A description of the prefix list.

    Name Name (string)required

    Possible values: non-empty and <= 58 characters, Value must match regular expression ^[a-zA-Z0-9-]+$

    Name of the prefix list.

    PrefixList string[]required

    The prefix list details.



    Response object

    The API call response.

    Name Name (string)

    Name of the prefix list.

    PrefixListEntry object
    AuditComment Auditcomment (string)

    Audit remarks.

    Description Description (string)

    The prefix list description.

    PrefixList string[]required

    Prefix list.

    UpdateToken Updatetoken (string)

    Default value: 1

    Refresh token.

    RuleStackName Rulestackname (string)

    Name of the rulestack.

    ResponseStatus object

    The API call response status.

    ErrorCode Errorcode (integer)

    Default value: 0

    Default value of a successful response is 0. Any other number indicates an error code.

    400—HTTP bad request

    • InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
    • LimitExceededException—Operation failed due to violation in limit settings.
    • ThrottlingException—Operation failed due to throttling limitations.
    • AccessDeniedException—You do not have sufficient access to perform this action.

    500—Bad request

    • InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
    • InsufficientCapacityException—AWS currently does not have enough capacity to fulfill your request.
    Reason Reason (string)

    The error description.