interface SessionContext
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECR.Events.RepositoryEvents.AWSAPICallViaCloudTrail.SessionContext |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecr/events#RepositoryEvents_AWSAPICallViaCloudTrail_SessionContext |
Java | software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.AWSAPICallViaCloudTrail.SessionContext |
Python | aws_cdk.mixins_preview.aws_ecr.events.RepositoryEvents.AWSAPICallViaCloudTrail.SessionContext |
TypeScript | @aws-cdk/mixins-preview ยป aws_ecr ยป events ยป RepositoryEvents ยป AWSAPICallViaCloudTrail ยป SessionContext |
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 { events as ecr_events } from '@aws-cdk/mixins-preview/aws-ecr';
const sessionContext: ecr_events.RepositoryEvents.AWSAPICallViaCloudTrail.SessionContext = {
attributes: {
creationDate: ['creationDate'],
mfaAuthenticated: ['mfaAuthenticated'],
},
sessionIssuer: {
accountId: ['accountId'],
arn: ['arn'],
principalId: ['principalId'],
type: ['type'],
userName: ['userName'],
},
webIdFederationData: ['webIdFederationData'],
};
Properties
| Name | Type | Description |
|---|---|---|
| attributes? | Attributes | attributes property. |
| session | Session | sessionIssuer property. |
| web | string[] | webIdFederationData property. |
attributes?
Type:
Attributes
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
sessionIssuer?
Type:
Session
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
webIdFederationData?
Type:
string[]
(optional, default: Do not filter on this field)
webIdFederationData property.
Specify an array of string values to match this event if the actual value of webIdFederationData 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