NetworkManager / Client / create_sse_connect

create_sse_connect

NetworkManager.Client.create_sse_connect(**kwargs)

Creates an Amazon VPC SSE connect (SSE connect). An SSE connect sends traffic from your Amazon Web Services Transit Gateway or Amazon Web Services Cloud WAN network through a third-party Security Service Edge (SSE) provider for inspection, policy enforcement, and internet egress.

You can create one SSE connect for each SSE provider in your account. The SSE provider must be available in each Amazon Web Services Region that you specify. To find these Regions, use ListSSERegions.

See also: AWS API Documentation

Request Syntax

response = client.create_sse_connect(
    Description='string',
    SseRegions=[
        'string',
    ],
    SseVendor='string',
    SseLicenseModel='BRING_YOUR_OWN_LICENSE'|'AWS_MARKETPLACE',
    DryRun=True|False,
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    ClientToken='string'
)
Parameters:
  • Description (string) – A description of the SSE connect.

  • SseRegions (list) –

    [REQUIRED]

    The Regions where the SSE connect peers with the SSE provider. You must specify at least two Regions, and the SSE provider must be available in each Region.

    • (string) –

  • SseVendor (string) –

    [REQUIRED]

    The SSE provider to connect to. You can’t change the SSE provider after you create the SSE connect.

  • SseLicenseModel (string) –

    How you subscribe to the SSE provider. Valid values:

    • BRING_YOUR_OWN_LICENSE – You have an agreement directly with the SSE provider. This is the default.

    • AWS_MARKETPLACE – You subscribed to the SSE provider through Amazon Web Services Marketplace.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is AccessDeniedException.

  • Tags (list) –

    The tags to apply to the SSE connect.

    • (dict) –

      Describes a tag.

      • Key (string) –

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value (string) –

        The tag value.

        Constraints: Maximum length of 256 characters.

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'SseConnect': {
        'SseConnectId': 'string',
        'SseConnectArn': 'string',
        'Description': 'string',
        'SseRegions': [
            {
                'RegionName': 'string',
                'PeerHealthStatus': 'HEALTHY'|'UNHEALTHY'
            },
        ],
        'AttachmentRegions': [
            {
                'RegionName': 'string'
            },
        ],
        'SseVendor': 'string',
        'State': 'CREATING'|'AVAILABLE'|'UPDATING'|'FAILED'|'DELETING'|'DELETED',
        'PartnerLinkStatus': 'PENDING'|'LINKED'|'NOT_LINKED',
        'CreatedAt': datetime(2015, 1, 1),
        'UpdatedAt': datetime(2015, 1, 1),
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • SseConnect (dict) –

      Information about the SSE connect.

      • SseConnectId (string) –

        The ID of the SSE connect.

      • SseConnectArn (string) –

        The ARN of the SSE connect.

      • Description (string) –

        The description of the SSE connect.

      • SseRegions (list) –

        The Regions where the SSE connect peers with the SSE provider, and the peer health in each Region.

        • (dict) –

          Describes a Region where an SSE connect peers with the SSE provider.

          • RegionName (string) –

            The name of the Region.

          • PeerHealthStatus (string) –

            The health of the connection between the SSE connect and the SSE provider in the Region.

      • AttachmentRegions (list) –

        The Regions where the SSE connect has attachments.

        • (dict) –

          Describes a Region where an SSE connect has attachments.

          • RegionName (string) –

            The name of the Region.

      • SseVendor (string) –

        The SSE provider.

      • State (string) –

        The state of the SSE connect. Valid values:

        • CREATING – The SSE connect is being created.

        • AVAILABLE – The SSE connect is available for use.

        • UPDATING – An update is in progress.

        • FAILED – The operation didn’t complete.

        • DELETING – The SSE connect is being deleted.

        • DELETED – The SSE connect was deleted.

      • PartnerLinkStatus (string) –

        The status of the link between the SSE connect and your account with the SSE provider. The link status is separate from the state of the SSE connect. Link the SSE connect before you add attachments.

        • PENDING – Account linking is in progress.

        • LINKED – Account linking is complete.

        • NOT_LINKED – The SSE connect isn’t linked to an account with the SSE provider.

      • CreatedAt (datetime) –

        The timestamp when the SSE connect was created.

      • UpdatedAt (datetime) –

        The timestamp when the SSE connect was last updated.

      • Tags (list) –

        The tags associated with the SSE connect.

        • (dict) –

          Describes a tag.

          • Key (string) –

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) –

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions