interface UserIdentity
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.KMS.Events.KeyEvents.AWSAPICallViaCloudTrail.UserIdentity |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskms/events#KeyEvents_AWSAPICallViaCloudTrail_UserIdentity |
Java | software.amazon.awscdk.mixins.preview.services.kms.events.KeyEvents.AWSAPICallViaCloudTrail.UserIdentity |
Python | aws_cdk.mixins_preview.aws_kms.events.KeyEvents.AWSAPICallViaCloudTrail.UserIdentity |
TypeScript | @aws-cdk/mixins-preview ยป aws_kms ยป events ยป KeyEvents ยป AWSAPICallViaCloudTrail ยป UserIdentity |
Type definition for UserIdentity.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as kms_events } from '@aws-cdk/mixins-preview/aws-kms';
const userIdentity: kms_events.KeyEvents.AWSAPICallViaCloudTrail.UserIdentity = {
accessKeyId: ['accessKeyId'],
accountId: ['accountId'],
arn: ['arn'],
invokedBy: ['invokedBy'],
principalId: ['principalId'],
sessionContext: {
attributes: {
creationDate: ['creationDate'],
mfaAuthenticated: ['mfaAuthenticated'],
},
sessionIssuer: {
accountId: ['accountId'],
arn: ['arn'],
principalId: ['principalId'],
type: ['type'],
userName: ['userName'],
},
},
type: ['type'],
};
Properties
| Name | Type | Description |
|---|---|---|
| access | string[] | accessKeyId property. |
| account | string[] | accountId property. |
| arn? | string[] | arn property. |
| invoked | string[] | invokedBy property. |
| principal | string[] | principalId property. |
| session | Session | sessionContext property. |
| type? | string[] | type property. |
accessKeyId?
Type:
string[]
(optional, default: Do not filter on this field)
accessKeyId property.
Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
accountId?
Type:
string[]
(optional, default: Do not filter on this field)
accountId property.
Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
arn?
Type:
string[]
(optional, default: Do not filter on this field)
arn property.
Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
invokedBy?
Type:
string[]
(optional, default: Do not filter on this field)
invokedBy property.
Specify an array of string values to match this event if the actual value of invokedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
principalId?
Type:
string[]
(optional, default: Do not filter on this field)
principalId property.
Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
sessionContext?
Type:
Session
(optional, default: Do not filter on this field)
sessionContext property.
Specify an array of string values to match this event if the actual value of sessionContext is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
type?
Type:
string[]
(optional, default: Do not filter on this field)
type property.
Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript