Interface AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps

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

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

Example:

 import software.amazon.awscdk.mixins.preview.services.s3.events.AWSAPICallViaCloudTrail;
 import software.amazon.awscdk.mixins.preview.services.s3.events.ObjectCreated;
 import software.amazon.awscdk.mixins.preview.services.s3.events.ObjectDeleted;
 import software.amazon.awscdk.services.events.*;
 import software.amazon.awscdk.services.events.targets.*;
 Function fn;
 // Works with L2 Rule
 // Works with L2 Rule
 Rule.Builder.create(scope, "Rule")
         .eventPattern(AWSAPICallViaCloudTrail.eventPattern(AWSAPICallViaCloudTrailProps.builder()
                 .tlsDetails(TlsDetails.builder().tlsVersion(List.of("TLSv1.3")).build())
                 .eventMetadata(AWSEventMetadataProps.builder().region(List.of("us-east-1")).build())
                 .build()))
         .targets(List.of(new LambdaFunction(fn)))
         .build();
 // Also works with L1 CfnRule
 // Also works with L1 CfnRule
 CfnRule.Builder.create(scope, "CfnRule")
         .state("ENABLED")
         .eventPattern(AWSAPICallViaCloudTrail.eventPattern(AWSAPICallViaCloudTrailProps.builder()
                 .tlsDetails(TlsDetails.builder().tlsVersion(List.of("TLSv1.3")).build())
                 .eventMetadata(AWSEventMetadataProps.builder().region(List.of("us-east-1")).build())
                 .build()))
         .targets(List.of(TargetProperty.builder().arn(fn.getFunctionArn()).id("L1").build()))
         .build();
 
  • Method Details

    • getAdditionalEventData

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.AdditionalEventData getAdditionalEventData()
      (experimental) additionalEventData property.

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

    • 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

    • getErrorCode

      @Stability(Experimental) @Nullable default List<String> getErrorCode()
      (experimental) errorCode property.

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

    • getErrorMessage

      @Stability(Experimental) @Nullable default List<String> getErrorMessage()
      (experimental) errorMessage property.

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

    • getEventCategory

      @Stability(Experimental) @Nullable default List<String> getEventCategory()
      (experimental) eventCategory property.

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

    • getManagementEvent

      @Stability(Experimental) @Nullable default List<String> getManagementEvent()
      (experimental) managementEvent property.

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

    • getReadOnly

      @Stability(Experimental) @Nullable default List<String> getReadOnly()
      (experimental) readOnly property.

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

    • getRecipientAccountId

      @Stability(Experimental) @Nullable default List<String> getRecipientAccountId()
      (experimental) recipientAccountId property.

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

    • getTlsDetails

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.TlsDetails getTlsDetails()
      (experimental) tlsDetails property.

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

    • getVpcEndpointId

      @Stability(Experimental) @Nullable default List<String> getVpcEndpointId()
      (experimental) vpcEndpointId property.

      Specify an array of string values to match this event if the actual value of vpcEndpointId 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.AWSAPICallViaCloudTrailProps.Builder builder()
      Returns:
      a AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder of AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps