Interface AWSAPICallViaCloudTrail.ResponseElements

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AWSAPICallViaCloudTrail.ResponseElements.Jsii$Proxy
Enclosing class:
AWSAPICallViaCloudTrail

@Stability(Experimental) public static interface AWSAPICallViaCloudTrail.ResponseElements extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for ResponseElements.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.codebuild.events.*;
 ResponseElements responseElements = ResponseElements.builder()
         .buildProperty(Build.builder()
                 .arn(List.of("arn"))
                 .artifacts(Artifacts.builder()
                         .encryptionDisabled(List.of("encryptionDisabled"))
                         .location(List.of("location"))
                         .build())
                 .buildComplete(List.of("buildComplete"))
                 .buildStatus(List.of("buildStatus"))
                 .cache(Cache.builder()
                         .location(List.of("location"))
                         .type(List.of("type"))
                         .build())
                 .currentPhase(List.of("currentPhase"))
                 .encryptionKey(List.of("encryptionKey"))
                 .endTime(List.of("endTime"))
                 .environment(Environment.builder()
                         .certificate(List.of("certificate"))
                         .computeType(List.of("computeType"))
                         .environmentVariables(List.of(EnvironmentItem.builder()
                                 .name(List.of("name"))
                                 .type(List.of("type"))
                                 .value(List.of("value"))
                                 .build()))
                         .image(List.of("image"))
                         .imagePullCredentialsType(List.of("imagePullCredentialsType"))
                         .privilegedMode(List.of("privilegedMode"))
                         .type(List.of("type"))
                         .build())
                 .id(List.of("id"))
                 .initiator(List.of("initiator"))
                 .logs(Logs.builder()
                         .deepLink(List.of("deepLink"))
                         .groupName(List.of("groupName"))
                         .streamName(List.of("streamName"))
                         .build())
                 .phases(List.of(BuildPhase.builder()
                         .durationInSeconds(List.of("durationInSeconds"))
                         .endTime(List.of("endTime"))
                         .phaseContext(List.of("phaseContext"))
                         .phaseStatus(List.of("phaseStatus"))
                         .phaseType(List.of("phaseType"))
                         .startTime(List.of("startTime"))
                         .build()))
                 .projectName(List.of("projectName"))
                 .queuedTimeoutInMinutes(List.of("queuedTimeoutInMinutes"))
                 .resolvedSourceVersion(List.of("resolvedSourceVersion"))
                 .serviceRole(List.of("serviceRole"))
                 .source(Source.builder()
                         .auth(Auth.builder()
                                 .type(List.of("type"))
                                 .build())
                         .buildspec(List.of("buildspec"))
                         .insecureSsl(List.of("insecureSsl"))
                         .location(List.of("location"))
                         .reportBuildStatus(List.of("reportBuildStatus"))
                         .type(List.of("type"))
                         .build())
                 .sourceVersion(List.of("sourceVersion"))
                 .startTime(List.of("startTime"))
                 .timeoutInMinutes(List.of("timeoutInMinutes"))
                 .vpcConfig(VpcConfig.builder()
                         .securityGroupIds(List.of("securityGroupIds"))
                         .subnets(List.of("subnets"))
                         .vpcId(List.of("vpcId"))
                         .build())
                 .build())
         .message(List.of("message"))
         .project(Project.builder()
                 .arn(List.of("arn"))
                 .artifacts(Artifacts1.builder()
                         .encryptionDisabled(List.of("encryptionDisabled"))
                         .location(List.of("location"))
                         .name(List.of("name"))
                         .namespaceType(List.of("namespaceType"))
                         .packaging(List.of("packaging"))
                         .type(List.of("type"))
                         .build())
                 .badge(Badge.builder()
                         .badgeEnabled(List.of("badgeEnabled"))
                         .badgeRequestUrl(List.of("badgeRequestUrl"))
                         .build())
                 .cache(Cache.builder()
                         .location(List.of("location"))
                         .type(List.of("type"))
                         .build())
                 .created(List.of("created"))
                 .description(List.of("description"))
                 .encryptionKey(List.of("encryptionKey"))
                 .environment(Environment1.builder()
                         .computeType(List.of("computeType"))
                         .environmentVariables(List.of(EnvironmentItem.builder()
                                 .name(List.of("name"))
                                 .type(List.of("type"))
                                 .value(List.of("value"))
                                 .build()))
                         .image(List.of("image"))
                         .imagePullCredentialsType(List.of("imagePullCredentialsType"))
                         .privilegedMode(List.of("privilegedMode"))
                         .type(List.of("type"))
                         .build())
                 .lastModified(List.of("lastModified"))
                 .name(List.of("name"))
                 .queuedTimeoutInMinutes(List.of("queuedTimeoutInMinutes"))
                 .serviceRole(List.of("serviceRole"))
                 .source(Source1.builder()
                         .auth(Auth.builder()
                                 .type(List.of("type"))
                                 .build())
                         .buildspec(List.of("buildspec"))
                         .gitCloneDepth(List.of("gitCloneDepth"))
                         .gitSubmodulesConfig(GitSubmodulesConfig.builder()
                                 .fetchSubmodules(List.of("fetchSubmodules"))
                                 .build())
                         .insecureSsl(List.of("insecureSsl"))
                         .location(List.of("location"))
                         .reportBuildStatus(List.of("reportBuildStatus"))
                         .type(List.of("type"))
                         .build())
                 .sourceVersion(List.of("sourceVersion"))
                 .tags(List.of(ProjectItem.builder()
                         .key(List.of("key"))
                         .value(List.of("value"))
                         .build()))
                 .timeoutInMinutes(List.of("timeoutInMinutes"))
                 .build())
         .webhook(Webhook.builder()
                 .branchFilter(List.of("branchFilter"))
                 .lastModifiedSecret(List.of("lastModifiedSecret"))
                 .payloadUrl(List.of("payloadUrl"))
                 .url(List.of("url"))
                 .build())
         .webhookDeletedStatus(List.of("webhookDeletedStatus"))
         .build();
 
  • Method Details

    • getBuildProperty

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.Build getBuildProperty()
      (experimental) build property.

      Specify an array of string values to match this event if the actual value of build is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getMessage

      @Stability(Experimental) @Nullable default List<String> getMessage()
      (experimental) message property.

      Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getProject

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.Project getProject()
      (experimental) project property.

      Specify an array of string values to match this event if the actual value of project is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getWebhook

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.Webhook getWebhook()
      (experimental) webhook property.

      Specify an array of string values to match this event if the actual value of webhook is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getWebhookDeletedStatus

      @Stability(Experimental) @Nullable default List<String> getWebhookDeletedStatus()
      (experimental) webhookDeletedStatus property.

      Specify an array of string values to match this event if the actual value of webhookDeletedStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static AWSAPICallViaCloudTrail.ResponseElements.Builder builder()
      Returns:
      a AWSAPICallViaCloudTrail.ResponseElements.Builder of AWSAPICallViaCloudTrail.ResponseElements