PcaConnectorAd / Client / create_connector

create_connector#

PcaConnectorAd.Client.create_connector(**kwargs)#

Creates a connector between Amazon Web Services Private CA and an Active Directory. You must specify the private CA, directory ID, and security groups.

See also: AWS API Documentation

Request Syntax

response = client.create_connector(
    CertificateAuthorityArn='string',
    ClientToken='string',
    DirectoryId='string',
    Tags={
        'string': 'string'
    },
    VpcInformation={
        'SecurityGroupIds': [
            'string',
        ]
    }
)
Parameters:
  • CertificateAuthorityArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the certificate authority being used.

  • ClientToken (string) –

    Idempotency token.

    This field is autopopulated if not provided.

  • DirectoryId (string) –

    [REQUIRED]

    The identifier of the Active Directory.

  • Tags (dict) –

    Metadata assigned to a connector consisting of a key-value pair.

    • (string) –

      • (string) –

  • VpcInformation (dict) –

    [REQUIRED]

    Security group IDs that describe the inbound and outbound rules.

    • SecurityGroupIds (list) – [REQUIRED]

      The security groups used with the connector. You can use a maximum of 4 security groups with a connector.

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'ConnectorArn': 'string'
}

Response Structure

  • (dict) –

    • ConnectorArn (string) –

      If successful, the Amazon Resource Name (ARN) of the connector for Active Directory.

Exceptions