Skip to content

GcpConnectorConfiguration

Source code in docs_src/capo_config_service/types/gcp_connector_configuration.py
class GcpConnectorConfiguration(TypedDict, closed=True):
    gcp_organization_id: NotRequired[
        "capo_config_service.types.gcp_organization_id.GcpOrganizationId"
    ]
    """<p>The ID of the Google Cloud organization that contains the connector's management project, which is the project of the service account in <code>serviceAccountEmail</code>.</p> <p>Required if the management project belongs to an organization. A connector needs an organization ID to record an entire organization or more than one project. Omit it only if the management project doesn't belong to an organization. In that case, the connector can record only the management project.</p>"""
    service_account_email: (
        "capo_config_service.types.gcp_service_account_email.GcpServiceAccountEmail"
    )
    """<p>The email address of the Google Cloud service account that Config uses to access your Google Cloud resources. The format is <code>SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com</code>.</p> <p>The project that contains this service account is the connector's management project. If the connector has no <code>gcpOrganizationId</code>, it can record only the management project.</p>"""
    workload_identity_pool_provider: "capo_config_service.types.gcp_workload_identity_pool_provider.GcpWorkloadIdentityPoolProvider"
    """<p>The full resource name of the Google Cloud workload identity pool provider that trusts Config. The format is <code>projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/providers/PROVIDER_ID</code>.</p>"""

gcp_organization_id instance-attribute

gcp_organization_id: NotRequired[GcpOrganizationId]

The ID of the Google Cloud organization that contains the connector's management project, which is the project of the service account in serviceAccountEmail.

Required if the management project belongs to an organization. A connector needs an organization ID to record an entire organization or more than one project. Omit it only if the management project doesn't belong to an organization. In that case, the connector can record only the management project.

service_account_email instance-attribute

service_account_email: GcpServiceAccountEmail

The email address of the Google Cloud service account that Config uses to access your Google Cloud resources. The format is SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com.

The project that contains this service account is the connector's management project. If the connector has no gcpOrganizationId, it can record only the management project.

workload_identity_pool_provider instance-attribute

workload_identity_pool_provider: GcpWorkloadIdentityPoolProvider

The full resource name of the Google Cloud workload identity pool provider that trusts Config. The format is projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/providers/PROVIDER_ID.