Skip to content

CreateConnectorInput

Source code in docs_src/capo_observabilityadmin/types/create_connector_input.py
class CreateConnectorInput(TypedDict, closed=True):
    connector_configuration: (
        "capo_observabilityadmin.types.connector_configuration.ConnectorConfiguration"
    )
    """<p>The configuration for connecting to the third-party cloud provider.</p>"""
    role_arn: "capo_observabilityadmin.types.role_arn.RoleArn"
    """<p>The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to get credentials for the third-party cloud provider. The role must trust the Amazon CloudWatch Observability Admin service principal, <code>observabilityadmin.amazonaws.com</code>. The role must also allow <code>sts:GetWebIdentityToken</code> for the provider's token exchange audience.</p>"""
    name: "capo_observabilityadmin.types.connector_name.ConnectorName"
    """<p>The name of the connector. The name must be unique in the account and Region (case-sensitive). If another connector already uses the name, the request fails with a <code>ConflictException</code>.</p> <p>The name can contain letters, digits, hyphens (-), underscores (_) and periods (.), and must start with a letter.</p>"""
    tags: NotRequired["capo_observabilityadmin.types.tag_map_input.TagMapInput"]
    """<p>The tags that you want to apply to the connector.</p>"""
    client_token: NotRequired["capo_observabilityadmin.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If you use an Amazon Web Services SDK, the SDK generates this value and reuses it on retries. If this token matches a previous request with the same parameters, the service returns the connector from the first request without an error. If you use the same token with different parameters, including different tags, the service returns a <code>ValidationException</code>. This operation is idempotent when you use the same token and parameters.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If you use an Amazon Web Services SDK, the SDK generates this value and reuses it on retries. If this token matches a previous request with the same parameters, the service returns the connector from the first request without an error. If you use the same token with different parameters, including different tags, the service returns a ValidationException. This operation is idempotent when you use the same token and parameters.

connector_configuration instance-attribute

connector_configuration: ConnectorConfiguration

The configuration for connecting to the third-party cloud provider.

name instance-attribute

The name of the connector. The name must be unique in the account and Region (case-sensitive). If another connector already uses the name, the request fails with a ConflictException.

The name can contain letters, digits, hyphens (-), underscores (_) and periods (.), and must start with a letter.

role_arn instance-attribute

role_arn: RoleArn

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that CloudWatch assumes to get credentials for the third-party cloud provider. The role must trust the Amazon CloudWatch Observability Admin service principal, observabilityadmin.amazonaws.com. The role must also allow sts:GetWebIdentityToken for the provider's token exchange audience.

tags instance-attribute

tags: NotRequired[TagMapInput]

The tags that you want to apply to the connector.