interface UserIdentity
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Organizations.Events.AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsorganizations/events#AccountEvents_AWSServiceEventViaCloudTrail_UserIdentity |
Java | software.amazon.awscdk.mixins.preview.services.organizations.events.AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity |
Python | aws_cdk.mixins_preview.aws_organizations.events.AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity |
TypeScript | @aws-cdk/mixins-preview » aws_organizations » events » AccountEvents » AWSServiceEventViaCloudTrail » 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 organizations_events } from '@aws-cdk/mixins-preview/aws-organizations';
const userIdentity: organizations_events.AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity = {
accountId: ['accountId'],
invokedBy: ['invokedBy'],
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string[] | accountId property. |
| invoked | string[] | invokedBy property. |
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.
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.

.NET
Go
Java
Python
TypeScript