software.amazon.awscdk.services.apprunner.alpha.Source Maven / Gradle / Ivy
Show all versions of apprunner-alpha Show documentation
package software.amazon.awscdk.services.apprunner.alpha;
/**
* (experimental) Represents the App Runner service source.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.40.0 (build 9713b9d)", date = "2021-10-22T12:23:06.329Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.apprunner.alpha.$Module.class, fqn = "@aws-cdk/aws-apprunner-alpha.Source")
public abstract class Source extends software.amazon.jsii.JsiiObject {
protected Source(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Source(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected Source() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Source from local assets.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.AssetSource fromAsset(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.AssetProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.apprunner.alpha.Source.class, "fromAsset", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.AssetSource.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) Source from the ECR repository.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.EcrSource fromEcr(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.EcrProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.apprunner.alpha.Source.class, "fromEcr", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.EcrSource.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) Source from the ECR Public repository.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.EcrPublicSource fromEcrPublic(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.EcrPublicProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.apprunner.alpha.Source.class, "fromEcrPublic", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.EcrPublicSource.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) Source from the GitHub repository.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.GithubSource fromGitHub(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.GithubRepositoryProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.apprunner.alpha.Source.class, "fromGitHub", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.GithubSource.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) Called when the Job is initialized to allow this object to bind.
*
* @param scope This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public abstract @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.SourceConfig bind(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
private static final class Jsii$Proxy extends software.amazon.awscdk.services.apprunner.alpha.Source {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) Called when the Job is initialized to allow this object to bind.
*
* @param scope This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.SourceConfig bind(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope) {
return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.SourceConfig.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required") });
}
}
}