Class AWSAPICallViaCloudTrail.SessionContext
(experimental) Type definition for SessionContext.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.KMS.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class AWSAPICallViaCloudTrail.SessionContext : AWSAPICallViaCloudTrail.ISessionContext
Syntax (vb)
Public Class AWSAPICallViaCloudTrail.SessionContext Implements AWSAPICallViaCloudTrail.ISessionContext
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.KMS.Events;
var sessionContext = new SessionContext {
Attributes = new Attributes {
CreationDate = new [] { "creationDate" },
MfaAuthenticated = new [] { "mfaAuthenticated" }
},
SessionIssuer = new SessionIssuer {
AccountId = new [] { "accountId" },
Arn = new [] { "arn" },
PrincipalId = new [] { "principalId" },
Type = new [] { "type" },
UserName = new [] { "userName" }
}
};
Synopsis
Constructors
| SessionContext() | (experimental) Type definition for SessionContext. |
Properties
| Attributes | (experimental) attributes property. |
| SessionIssuer | (experimental) sessionIssuer property. |
Constructors
SessionContext()
(experimental) Type definition for SessionContext.
public SessionContext()
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.KMS.Events;
var sessionContext = new SessionContext {
Attributes = new Attributes {
CreationDate = new [] { "creationDate" },
MfaAuthenticated = new [] { "mfaAuthenticated" }
},
SessionIssuer = new SessionIssuer {
AccountId = new [] { "accountId" },
Arn = new [] { "arn" },
PrincipalId = new [] { "principalId" },
Type = new [] { "type" },
UserName = new [] { "userName" }
}
};
Properties
Attributes
(experimental) attributes property.
public AWSAPICallViaCloudTrail.IAttributes? Attributes { get; set; }
Property Value
AWSAPICallViaCloudTrail.IAttributes
Remarks
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
Stability: Experimental
SessionIssuer
(experimental) sessionIssuer property.
public AWSAPICallViaCloudTrail.ISessionIssuer? SessionIssuer { get; set; }
Property Value
AWSAPICallViaCloudTrail.ISessionIssuer
Remarks
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
Stability: Experimental