Interface RepositoryEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps

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

@Stability(Experimental) public static interface RepositoryEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for Repository aws.ecr@AWSAPICallViaCloudTrail event.

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.ecr.events.*;
 AWSAPICallViaCloudTrailProps aWSAPICallViaCloudTrailProps = AWSAPICallViaCloudTrailProps.builder()
         .awsRegion(List.of("awsRegion"))
         .eventId(List.of("eventId"))
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .eventName(List.of("eventName"))
         .eventSource(List.of("eventSource"))
         .eventTime(List.of("eventTime"))
         .eventType(List.of("eventType"))
         .eventVersion(List.of("eventVersion"))
         .requestId(List.of("requestId"))
         .requestParameters(RequestParameters.builder()
                 .acceptedMediaTypes(List.of("acceptedMediaTypes"))
                 .imageIds(List.of(RequestParametersItem.builder()
                         .imageTag(List.of("imageTag"))
                         .build()))
                 .registryId(List.of("registryId"))
                 .repositoryName(List.of("repositoryName"))
                 .build())
         .resources(List.of(AwsapiCallViaCloudTrailItem.builder()
                 .accountId(List.of("accountId"))
                 .arn(List.of("arn"))
                 .build()))
         .responseElements(List.of("responseElements"))
         .sourceIpAddress(List.of("sourceIpAddress"))
         .userAgent(List.of("userAgent"))
         .userIdentity(UserIdentity.builder()
                 .accessKeyId(List.of("accessKeyId"))
                 .accountId(List.of("accountId"))
                 .arn(List.of("arn"))
                 .invokedBy(List.of("invokedBy"))
                 .principalId(List.of("principalId"))
                 .sessionContext(SessionContext.builder()
                         .attributes(Attributes.builder()
                                 .creationDate(List.of("creationDate"))
                                 .mfaAuthenticated(List.of("mfaAuthenticated"))
                                 .build())
                         .sessionIssuer(SessionIssuer.builder()
                                 .accountId(List.of("accountId"))
                                 .arn(List.of("arn"))
                                 .principalId(List.of("principalId"))
                                 .type(List.of("type"))
                                 .userName(List.of("userName"))
                                 .build())
                         .webIdFederationData(List.of("webIdFederationData"))
                         .build())
                 .type(List.of("type"))
                 .build())
         .build();
 
  • Method Details

    • getAwsRegion

      @Stability(Experimental) @Nullable default List<String> getAwsRegion()
      (experimental) awsRegion property.

      Specify an array of string values to match this event if the actual value of awsRegion 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

    • getEventId

      @Stability(Experimental) @Nullable default List<String> getEventId()
      (experimental) eventID property.

      Specify an array of string values to match this event if the actual value of eventID 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

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getEventName

      @Stability(Experimental) @Nullable default List<String> getEventName()
      (experimental) eventName property.

      Specify an array of string values to match this event if the actual value of eventName 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

    • getEventSource

      @Stability(Experimental) @Nullable default List<String> getEventSource()
      (experimental) eventSource property.

      Specify an array of string values to match this event if the actual value of eventSource 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

    • getEventTime

      @Stability(Experimental) @Nullable default List<String> getEventTime()
      (experimental) eventTime property.

      Specify an array of string values to match this event if the actual value of eventTime 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

    • getEventType

      @Stability(Experimental) @Nullable default List<String> getEventType()
      (experimental) eventType property.

      Specify an array of string values to match this event if the actual value of eventType 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

    • getEventVersion

      @Stability(Experimental) @Nullable default List<String> getEventVersion()
      (experimental) eventVersion property.

      Specify an array of string values to match this event if the actual value of eventVersion 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

    • getRequestId

      @Stability(Experimental) @Nullable default List<String> getRequestId()
      (experimental) requestID property.

      Specify an array of string values to match this event if the actual value of requestID 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

    • getRequestParameters

      @Stability(Experimental) @Nullable default RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters getRequestParameters()
      (experimental) requestParameters property.

      Specify an array of string values to match this event if the actual value of requestParameters 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

    • getResources

      @Stability(Experimental) @Nullable default List<RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem> getResources()
      (experimental) resources property.

      Specify an array of string values to match this event if the actual value of resources 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

    • getResponseElements

      @Stability(Experimental) @Nullable default List<String> getResponseElements()
      (experimental) responseElements property.

      Specify an array of string values to match this event if the actual value of responseElements 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

    • getSourceIpAddress

      @Stability(Experimental) @Nullable default List<String> getSourceIpAddress()
      (experimental) sourceIPAddress property.

      Specify an array of string values to match this event if the actual value of sourceIPAddress 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

    • getUserAgent

      @Stability(Experimental) @Nullable default List<String> getUserAgent()
      (experimental) userAgent property.

      Specify an array of string values to match this event if the actual value of userAgent 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

    • getUserIdentity

      @Stability(Experimental) @Nullable default RepositoryEvents.AWSAPICallViaCloudTrail.UserIdentity getUserIdentity()
      (experimental) userIdentity property.

      Specify an array of string values to match this event if the actual value of userIdentity 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

      Returns:
      a RepositoryEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder of RepositoryEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps