Class AssetSource

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.Source
software.amazon.awscdk.services.apprunner.AssetSource
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.983Z") @Stability(Experimental) public class AssetSource extends Source
(experimental) Represents the source from local assets.

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.apprunner.*;
 import software.amazon.awscdk.services.ecr.assets.*;
 DockerImageAsset dockerImageAsset;
 AssetSource assetSource = AssetSource.Builder.create()
         .asset(dockerImageAsset)
         // the properties below are optional
         .imageConfiguration(ImageConfiguration.builder()
                 .environment(Map.of(
                         "environmentKey", "environment"))
                 .port(123)
                 .startCommand("startCommand")
                 .build())
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for AssetSource.

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

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    AssetSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    AssetSource(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(software.constructs.Construct _scope)
    (experimental) Called when the Job is initialized to allow this object to bind.

    Methods inherited from class software.amazon.awscdk.services.apprunner.Source

    fromAsset, fromEcr, fromEcrPublic, fromGitHub

    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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • AssetSource

      protected AssetSource(software.amazon.jsii.JsiiObjectRef objRef)
    • AssetSource

      protected AssetSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AssetSource

      @Stability(Experimental) public AssetSource(@NotNull AssetProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • bind

      @Stability(Experimental) @NotNull public SourceConfig bind(@NotNull software.constructs.Construct _scope)
      (experimental) Called when the Job is initialized to allow this object to bind.

      Specified by:
      bind in class Source
      Parameters:
      _scope - This parameter is required.