ResilienceHubV2 / Client / create_system

create_system

ResilienceHubV2.Client.create_system(**kwargs)

Creates a system that represents a logical grouping of services.

See also: AWS API Documentation

Request Syntax

response = client.create_system(
    name='string',
    description='string',
    sharingEnabled=True|False,
    kmsKeyId='string',
    tags={
        'string': 'string'
    },
    clientToken='string'
)
Parameters:
  • name (string) –

    [REQUIRED]

    Resource name (used in ARN — no spaces allowed).

  • description (string) – Resource description.

  • sharingEnabled (boolean) – Indicates whether cross-account sharing is enabled for the system.

  • kmsKeyId (string) – KMS key identifier — accepts key ID, key ARN, alias name, or alias ARN.

  • tags (dict) –

    Resource tags.

    • (string) –

      Tag key.

      • (string) –

        Tag value.

  • clientToken (string) –

    Idempotency token.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'system': {
        'systemArn': 'string',
        'systemId': 'string',
        'name': 'string',
        'description': 'string',
        'sharingEnabled': True|False,
        'tags': {
            'string': 'string'
        },
        'kmsKeyId': 'string',
        'organizationId': 'string',
        'ouId': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • system (dict) –

      The created system.

      • systemArn (string) –

        ARN identifier.

      • systemId (string) –

        System ID for cross-account use without exposing account structure.

      • name (string) –

        Resource name (used in ARN — no spaces allowed).

      • description (string) –

        Resource description.

      • sharingEnabled (boolean) –

        Indicates whether cross-account sharing is enabled.

      • tags (dict) –

        Resource tags.

        • (string) –

          Tag key.

          • (string) –

            Tag value.

      • kmsKeyId (string) –

        KMS key identifier — accepts key ID, key ARN, alias name, or alias ARN.

      • organizationId (string) –

        The AWS Organizations identifier for the system.

      • ouId (string) –

        The organizational unit (OU) identifier for the system.

      • createdAt (datetime) –

        The timestamp when the system was created.

      • updatedAt (datetime) –

        The timestamp when the system was last updated.

Exceptions

  • ResilienceHubV2.Client.exceptions.InternalServerException

  • ResilienceHubV2.Client.exceptions.ResourceNotFoundException

  • ResilienceHubV2.Client.exceptions.ValidationException

  • ResilienceHubV2.Client.exceptions.ConflictException

  • ResilienceHubV2.Client.exceptions.ServiceQuotaExceededException

  • ResilienceHubV2.Client.exceptions.AccessDeniedException