Skip to content

EnvironmentConnectionSummary

Source code in docs_src/capo_assurance/types/environment_connection_summary.py
class EnvironmentConnectionSummary(TypedDict, closed=True):
    connection_type: "capo_assurance.types.connection_type.ConnectionType"
    """<p>The type of provider for the connection.</p>"""
    status: "capo_assurance.types.connection_status.ConnectionStatus"
    """<p>The current lifecycle state of the environment connection.</p>"""
    connection_id: NotRequired["capo_assurance.types.connection_id.ConnectionId"]
    """<p>The ID of the connection. Pass it as <code>connectionId</code> to <code>ListConnectionItems</code>, <code>PutEvidence</code>, and <code>DeleteEnvironmentConnection</code>. An environment can have more than one connection to the same provider, and this ID identifies one of them.</p> <p>An Amazon S3 connection doesn't have this value. To identify an Amazon S3 connection, use <code>s3.sourceUri</code>.</p>"""
    s3: NotRequired["capo_assurance.types.s3_connection_details.S3ConnectionDetails"]
    """<p>The configuration of an Amazon S3 connection. Present when <code>connectionType</code> is <code>s3</code>.</p>"""
    github: NotRequired[
        "capo_assurance.types.git_hub_connection_details.GitHubConnectionDetails"
    ]
    """<p>The configuration of a GitHub connection. The summary includes this field when <code>connectionType</code> is <code>github</code>.</p>"""
    sharepoint: NotRequired[
        "capo_assurance.types.share_point_connection_details.SharePointConnectionDetails"
    ]
    """<p>The configuration of a SharePoint connection. The summary includes this field when <code>connectionType</code> is <code>sharepoint</code>.</p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The timestamp when the connection was created.</p>"""

connection_id instance-attribute

connection_id: NotRequired[ConnectionId]

The ID of the connection. Pass it as connectionId to ListConnectionItems, PutEvidence, and DeleteEnvironmentConnection. An environment can have more than one connection to the same provider, and this ID identifies one of them.

An Amazon S3 connection doesn't have this value. To identify an Amazon S3 connection, use s3.sourceUri.

connection_type instance-attribute

connection_type: ConnectionType

The type of provider for the connection.

created_at instance-attribute

created_at: NotRequired[datetime]

The timestamp when the connection was created.

github instance-attribute

github: NotRequired[GitHubConnectionDetails]

The configuration of a GitHub connection. The summary includes this field when connectionType is github.

s3 instance-attribute

s3: NotRequired[S3ConnectionDetails]

The configuration of an Amazon S3 connection. Present when connectionType is s3.

sharepoint instance-attribute

sharepoint: NotRequired[SharePointConnectionDetails]

The configuration of a SharePoint connection. The summary includes this field when connectionType is sharepoint.

status instance-attribute

The current lifecycle state of the environment connection.