Interface LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.Jsii$Proxy
- Enclosing class:
LogGroupEvents.AWSAPICallViaCloudTrail
@Stability(Experimental)
public static interface LogGroupEvents.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.logs.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())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLogGroupEvents.AWSAPICallViaCloudTrail.SessionContextstatic final classAn implementation forLogGroupEvents.AWSAPICallViaCloudTrail.SessionContext -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) attributes property.(experimental) sessionIssuer property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
@Stability(Experimental) @Nullable default LogGroupEvents.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getSessionIssuer
@Stability(Experimental) @Nullable default LogGroupEvents.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.Builder builder()
-