@Stability(value=Experimental) @Internal public static final class CodeBuildProjectProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CodeBuildProjectProps
CodeBuildProjectPropssoftware.amazon.jsii.JsiiObject.InitializationModeCodeBuildProjectProps.Builder, CodeBuildProjectProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(RuleTargetInput event,
IRole eventRole,
IQueue deadLetterQueue,
Duration maxEventAge,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
CodeBuildProjectProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IQueue |
getDeadLetterQueue()
(experimental) The SQS queue to be used as deadLetterQueue.
|
RuleTargetInput |
getEvent()
(experimental) The event to send to CodeBuild.
|
IRole |
getEventRole()
(experimental) The role to assume before invoking the target (i.e., the codebuild) when the given rule is triggered.
|
Duration |
getMaxEventAge()
(experimental) The maximum age of a request that Lambda sends to a function for processing.
|
Number |
getRetryAttempts()
(experimental) The maximum number of times to retry when the function returns an error.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(RuleTargetInput event, IRole eventRole, IQueue deadLetterQueue, Duration maxEventAge, Number retryAttempts)
CodeBuildProjectProps.Builder.public final RuleTargetInput getEvent()
CodeBuildProjectPropsThis will be the payload for the StartBuild API.
Default: - the entire EventBridge event
getEvent in interface CodeBuildProjectPropspublic final IRole getEventRole()
CodeBuildProjectPropsDefault: - a new role will be created
getEventRole in interface CodeBuildProjectPropspublic final IQueue getDeadLetterQueue()
TargetBasePropsThe events not successfully delivered are automatically retried for a specified period of time, depending on the retry policy of the target. If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.
Default: - no dead-letter queue
getDeadLetterQueue in interface TargetBasePropspublic final Duration getMaxEventAge()
TargetBasePropsMinimum value of 60. Maximum value of 86400.
Default: Duration.hours(24)
getMaxEventAge in interface TargetBasePropspublic final Number getRetryAttempts()
TargetBasePropsMinimum value of 0. Maximum value of 185.
Default: 185
getRetryAttempts in interface TargetBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.