Interface BucketEvents.AWSAPICallViaCloudTrail.SessionContext

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

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

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.s3.events.*;
 SessionContext 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();
 
  • Method Details

    • getAttributes

      @Stability(Experimental) @Nullable default BucketEvents.AWSAPICallViaCloudTrail.Attributes getAttributes()
      (experimental) attributes property.

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

    • getSessionIssuer

      @Stability(Experimental) @Nullable default BucketEvents.AWSAPICallViaCloudTrail.SessionIssuer getSessionIssuer()
      (experimental) sessionIssuer property.

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

    • getWebIdFederationData

      @Stability(Experimental) @Nullable default List<String> getWebIdFederationData()
      (experimental) webIdFederationData property.

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