DirectConnect / Client / create_resiliency_group

create_resiliency_group

DirectConnect.Client.create_resiliency_group(**kwargs)

Creates a resiliency group. A resiliency group lets you group Direct Connect connections together and manage them as a single unit to meet a target resiliency model.

See also: AWS API Documentation

Request Syntax

response = client.create_resiliency_group(
    resiliencyGroupName='string',
    intendedResiliencyModel='maximum-resiliency'|'high-resiliency'|'basic-resiliency',
    clientToken='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters:
  • resiliencyGroupName (string) –

    [REQUIRED]

    The name of the resiliency group.

  • intendedResiliencyModel (string) –

    [REQUIRED]

    The resiliency model that the resiliency group is intended to meet. The valid values are maximum-resiliency, high-resiliency, and basic-resiliency.

  • clientToken (string) – A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

  • tags (list) –

    The tags to associate with the resiliency group.

    • (dict) –

      Information about a tag.

      • key (string) – [REQUIRED]

        The key.

      • value (string) –

        The value.

Return type:

dict

Returns:

Response Syntax

{
    'resiliencyGroup': {
        'resiliencyGroupId': 'string',
        'resiliencyGroupArn': 'string',
        'resiliencyGroupName': 'string',
        'resiliencyGroupType': 'Managed',
        'ownerAccount': 'string',
        'state': 'pending'|'available'|'deleting'|'deleted',
        'tags': [
            {
                'key': 'string',
                'value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • resiliencyGroup (dict) –

      Information about the resiliency group.

      • resiliencyGroupId (string) –

        The ID of the resiliency group.

      • resiliencyGroupArn (string) –

        The Amazon Resource Name (ARN) of the resiliency group.

      • resiliencyGroupName (string) –

        The name of the resiliency group.

      • resiliencyGroupType (string) –

        The type of the resiliency group. The valid value is Managed.

      • ownerAccount (string) –

        The ID of the Amazon Web Services account that owns the resiliency group.

      • state (string) –

        The state of the resiliency group. The valid values are pending, available, deleting, and deleted.

      • tags (list) –

        The tags associated with the resiliency group.

        • (dict) –

          Information about a tag.

          • key (string) –

            The key.

          • value (string) –

            The value.

Exceptions