interface AWSAPICallViaCloudTrailProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.KMS.Events.KeyEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskms/events#KeyEvents_AWSAPICallViaCloudTrail_AWSAPICallViaCloudTrailProps |
Java | software.amazon.awscdk.mixins.preview.services.kms.events.KeyEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps |
Python | aws_cdk.mixins_preview.aws_kms.events.KeyEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_kms ยป events ยป KeyEvents ยป AWSAPICallViaCloudTrail ยป AWSAPICallViaCloudTrailProps |
Props type for Key aws.kms@AWSAPICallViaCloudTrail event.
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 aWSAPICallViaCloudTrailProps: kms_events.KeyEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps = {
awsRegion: ['awsRegion'],
eventId: ['eventId'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
eventName: ['eventName'],
eventSource: ['eventSource'],
eventTime: ['eventTime'],
eventType: ['eventType'],
eventVersion: ['eventVersion'],
readOnly: ['readOnly'],
requestId: ['requestId'],
requestParameters: {
encryptionContext: {
awsS3Arn: ['awsS3Arn'],
},
keyId: ['keyId'],
keySpec: ['keySpec'],
},
resources: [{
accountId: ['accountId'],
arn: ['arn'],
type: ['type'],
}],
responseElements: ['responseElements'],
sourceIpAddress: ['sourceIpAddress'],
userAgent: ['userAgent'],
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 |
|---|---|---|
| aws | string[] | awsRegion property. |
| event | string[] | eventID property. |
| event | AWSEvent | EventBridge event metadata. |
| event | string[] | eventName property. |
| event | string[] | eventSource property. |
| event | string[] | eventTime property. |
| event | string[] | eventType property. |
| event | string[] | eventVersion property. |
| read | string[] | readOnly property. |
| request | string[] | requestID property. |
| request | Request | requestParameters property. |
| resources? | Awsapi[] | resources property. |
| response | string[] | responseElements property. |
| source | string[] | sourceIPAddress property. |
| user | string[] | userAgent property. |
| user | User | userIdentity property. |
awsRegion?
Type:
string[]
(optional, default: Do not filter on this field)
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.
eventId?
Type:
string[]
(optional, default: Do not filter on this field)
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.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
eventName?
Type:
string[]
(optional, default: Do not filter on this field)
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.
eventSource?
Type:
string[]
(optional, default: Do not filter on this field)
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.
eventTime?
Type:
string[]
(optional, default: Do not filter on this field)
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.
eventType?
Type:
string[]
(optional, default: Do not filter on this field)
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.
eventVersion?
Type:
string[]
(optional, default: Do not filter on this field)
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.
readOnly?
Type:
string[]
(optional, default: Do not filter on this field)
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.
requestId?
Type:
string[]
(optional, default: Do not filter on this field)
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.
requestParameters?
Type:
Request
(optional, default: Do not filter on this field)
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.
resources?
Type:
Awsapi[]
(optional, default: Do not filter on this field)
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.
responseElements?
Type:
string[]
(optional, default: Do not filter on this field)
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.
sourceIpAddress?
Type:
string[]
(optional, default: Do not filter on this field)
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.
userAgent?
Type:
string[]
(optional, default: Do not filter on this field)
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.
userIdentity?
Type:
User
(optional, default: Do not filter on this field)
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.

.NET
Go
Java
Python
TypeScript