Skip to content

RevisionLocation

Source code in docs_src/capo_codedeploy/types/revision_location.py
class RevisionLocation(TypedDict, closed=True):
    revision_type: NotRequired[
        "capo_codedeploy.types.revision_location_type.RevisionLocationType"
    ]
    """<p>The type of application revision:</p> <ul> <li> <p>S3: An application revision stored in Amazon S3.</p> </li> <li> <p>GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).</p> </li> <li> <p>String: A YAML-formatted or JSON-formatted string (Lambda deployments only).</p> </li> <li> <p>AppSpecContent: An <code>AppSpecContent</code> object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.</p> </li> </ul>"""
    s3_location: NotRequired["capo_codedeploy.types.s3_location.S3Location"]
    """<p>Information about the location of a revision stored in Amazon S3. </p>"""
    git_hub_location: NotRequired[
        "capo_codedeploy.types.git_hub_location.GitHubLocation"
    ]
    """<p>Information about the location of application artifacts stored in GitHub.</p>"""
    string: NotRequired["capo_codedeploy.types.raw_string.RawString"]
    """<p>Information about the location of an Lambda deployment revision stored as a RawString.</p>"""
    app_spec_content: NotRequired[
        "capo_codedeploy.types.app_spec_content.AppSpecContent"
    ]
    """<p> The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString. </p>"""

app_spec_content instance-attribute

app_spec_content: NotRequired[AppSpecContent]

The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.

git_hub_location instance-attribute

git_hub_location: NotRequired[GitHubLocation]

Information about the location of application artifacts stored in GitHub.

revision_type instance-attribute

revision_type: NotRequired[RevisionLocationType]

The type of application revision:

  • S3: An application revision stored in Amazon S3.

  • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

  • String: A YAML-formatted or JSON-formatted string (Lambda deployments only).

  • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

s3_location instance-attribute

s3_location: NotRequired[S3Location]

Information about the location of a revision stored in Amazon S3.

string instance-attribute

string: NotRequired[RawString]

Information about the location of an Lambda deployment revision stored as a RawString.