Interface CfnDeploymentGroup.RevisionLocationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDeploymentGroup.RevisionLocationProperty.Jsii$Proxy
Enclosing class:
CfnDeploymentGroup

@Stability(Stable) public static interface CfnDeploymentGroup.RevisionLocationProperty extends software.amazon.jsii.JsiiSerializable
RevisionLocation is a property that defines the location of the CodeDeploy application revision to deploy.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codedeploy.*;
 RevisionLocationProperty revisionLocationProperty = RevisionLocationProperty.builder()
         .gitHubLocation(GitHubLocationProperty.builder()
                 .commitId("commitId")
                 .repository("repository")
                 .build())
         .revisionType("revisionType")
         .s3Location(S3LocationProperty.builder()
                 .bucket("bucket")
                 .key("key")
                 // the properties below are optional
                 .bundleType("bundleType")
                 .eTag("eTag")
                 .version("version")
                 .build())
         .build();
 
  • Method Details

    • getGitHubLocation

      @Stability(Stable) @Nullable default Object getGitHubLocation()
      Information about the location of application artifacts stored in GitHub.
    • getRevisionType

      @Stability(Stable) @Nullable default String getRevisionType()
      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 ( AWS Lambda deployments only).
      • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
    • getS3Location

      @Stability(Stable) @Nullable default Object getS3Location()
      Information about the location of a revision stored in Amazon S3.
    • builder

      @Stability(Stable) static CfnDeploymentGroup.RevisionLocationProperty.Builder builder()
      Returns:
      a CfnDeploymentGroup.RevisionLocationProperty.Builder of CfnDeploymentGroup.RevisionLocationProperty