Interface ScheduledTaskImageProps

All Superinterfaces:
All Known Subinterfaces:
ScheduledEc2TaskImageOptions, ScheduledFargateTaskImageOptions
All Known Implementing Classes:
ScheduledEc2TaskImageOptions.Jsii$Proxy, ScheduledFargateTaskImageOptions.Jsii$Proxy, ScheduledTaskImageProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.814Z") @Stability(Stable) public interface ScheduledTaskImageProps extends

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ContainerImage containerImage;
 LogDriver logDriver;
 Secret secret;
 ScheduledTaskImageProps scheduledTaskImageProps = ScheduledTaskImageProps.builder()
         // the properties below are optional
                 "environmentKey", "environment"))
                 "secretsKey", secret))
  • Method Details

    • getImage

      @Stability(Stable) @NotNull ContainerImage getImage()
      The image used to start a container.

      Image or taskDefinition must be specified, but not both.

      Default: - none

    • getCommand

      @Stability(Stable) @Nullable default List<String> getCommand()
      The command that is passed to the container.

      If you provide a shell command as a single string, you have to quote command-line arguments.

      Default: - CMD value built into container image.

    • getEnvironment

      @Stability(Stable) @Nullable default Map<String,String> getEnvironment()
      The environment variables to pass to the container.

      Default: none

    • getLogDriver

      @Stability(Stable) @Nullable default LogDriver getLogDriver()
      The log driver to use.

      Default: - AwsLogDriver if enableLogging is true

    • getSecrets

      @Stability(Stable) @Nullable default Map<String,Secret> getSecrets()
      The secret to expose to the container as an environment variable.

      Default: - No secret environment variables.

    • builder

      @Stability(Stable) static ScheduledTaskImageProps.Builder builder()
      a ScheduledTaskImageProps.Builder of ScheduledTaskImageProps