Class S3ArtifactsProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codebuild.S3ArtifactsProps.Jsii$Proxy
All Implemented Interfaces:
ArtifactsProps, S3ArtifactsProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
S3ArtifactsProps

@Stability(Stable) @Internal public static final class S3ArtifactsProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements S3ArtifactsProps
An implementation for S3ArtifactsProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.S3ArtifactsProps

    S3ArtifactsProps.Builder, S3ArtifactsProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the S3ArtifactsProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final IBucket
    The name of the output bucket.
    final Boolean
    If this is false, build output will not be encrypted.
    final String
    The artifact identifier.
    final Boolean
    Indicates if the build ID should be included in the path.
    final String
    The name of the build output ZIP file or folder inside the bucket.
    final Boolean
    If this is true, all build output will be packaged into a single .zip file.
    final String
    The path inside of the bucket for the build output .zip file or folder.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(S3ArtifactsProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the S3ArtifactsProps.Builder.
  • Method Details

    • getBucket

      public final IBucket getBucket()
      Description copied from interface: S3ArtifactsProps
      The name of the output bucket.
      Specified by:
      getBucket in interface S3ArtifactsProps
    • getEncryption

      public final Boolean getEncryption()
      Description copied from interface: S3ArtifactsProps
      If this is false, build output will not be encrypted.

      This is useful if the artifact to publish a static website or sharing content with others

      Default: true - output will be encrypted

      Specified by:
      getEncryption in interface S3ArtifactsProps
    • getIncludeBuildId

      public final Boolean getIncludeBuildId()
      Description copied from interface: S3ArtifactsProps
      Indicates if the build ID should be included in the path.

      If this is set to true, then the build artifact will be stored in "/invalid input: '<'build-id>/".

      Default: true

      Specified by:
      getIncludeBuildId in interface S3ArtifactsProps
    • getName

      public final String getName()
      Description copied from interface: S3ArtifactsProps
      The name of the build output ZIP file or folder inside the bucket.

      The full S3 object key will be "/invalid input: '<'build-id>/" or "/" depending on whether includeBuildId is set to true.

      If not set, overrideArtifactName will be set and the name from the buildspec will be used instead.

      Default: undefined, and use the name from the buildspec

      Specified by:
      getName in interface S3ArtifactsProps
    • getPackageZip

      public final Boolean getPackageZip()
      Description copied from interface: S3ArtifactsProps
      If this is true, all build output will be packaged into a single .zip file. Otherwise, all files will be uploaded to /.

      Default: true - files will be archived

      Specified by:
      getPackageZip in interface S3ArtifactsProps
    • getPath

      public final String getPath()
      Description copied from interface: S3ArtifactsProps
      The path inside of the bucket for the build output .zip file or folder. If a value is not specified, then build output will be stored at the root of the bucket (or under the invalid input: '<'build-id> directory if includeBuildId is set to true).

      Default: the root of the bucket

      Specified by:
      getPath in interface S3ArtifactsProps
    • getIdentifier

      public final String getIdentifier()
      Description copied from interface: ArtifactsProps
      The artifact identifier.

      This property is required on secondary artifacts.

      Specified by:
      getIdentifier in interface ArtifactsProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object