Class CodeBuildStartBuild
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.scheduler.targets.alpha.ScheduleTargetBase
software.amazon.awscdk.services.scheduler.targets.alpha.CodeBuildStartBuild
- All Implemented Interfaces:
IScheduleTarget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.984Z")
@Stability(Experimental)
public class CodeBuildStartBuild
extends ScheduleTargetBase
implements IScheduleTarget
(experimental) Use an AWS CodeBuild as a target for AWS EventBridge Scheduler.
Example:
import software.amazon.awscdk.services.codebuild.*; Project project; Schedule.Builder.create(this, "Schedule") .schedule(ScheduleExpression.rate(Duration.minutes(60))) .target(new CodeBuildStartBuild(project)) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forCodeBuildStartBuild
.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.scheduler.alpha.IScheduleTarget
IScheduleTarget.Jsii$Default, IScheduleTarget.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionCodeBuildStartBuild
(IProject project) CodeBuildStartBuild
(IProject project, ScheduleTargetBaseProps props) protected
CodeBuildStartBuild
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CodeBuildStartBuild
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.scheduler.targets.alpha.ScheduleTargetBase
bind, bindBaseTargetConfig, getTargetArn
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.awscdk.services.scheduler.alpha.IScheduleTarget
bind
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CodeBuildStartBuild
protected CodeBuildStartBuild(software.amazon.jsii.JsiiObjectRef objRef) -
CodeBuildStartBuild
protected CodeBuildStartBuild(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CodeBuildStartBuild
@Stability(Experimental) public CodeBuildStartBuild(@NotNull IProject project, @Nullable ScheduleTargetBaseProps props) - Parameters:
project
- This parameter is required.props
-
-
CodeBuildStartBuild
- Parameters:
project
- This parameter is required.
-
-
Method Details
-
addTargetActionToRole
- Specified by:
addTargetActionToRole
in classScheduleTargetBase
- Parameters:
role
- This parameter is required.
-