Show / Hide Table of Contents

Interface AWSAPICallViaCloudTrail.IAWSAPICallViaCloudTrailProps

(experimental) Props type for aws.s3@AWSAPICallViaCloudTrail event.

Namespace: Amazon.CDK.Mixins.Preview.AWS.S3.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface AWSAPICallViaCloudTrail.IAWSAPICallViaCloudTrailProps
Syntax (vb)
Public Interface AWSAPICallViaCloudTrail.IAWSAPICallViaCloudTrailProps
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
using Amazon.CDK.Mixins.Preview.AWS.S3.Events;
             using Amazon.CDK.AWS.Events;
             using Amazon.CDK.AWS.Events.Targets;

             Function fn;


             // Works with L2 Rule
             // Works with L2 Rule
             new Rule(scope, "Rule", new RuleProps {
                 EventPattern = AWSAPICallViaCloudTrail.AwsAPICallViaCloudTrailPattern(new AWSAPICallViaCloudTrailProps {
                     TlsDetails = new TlsDetails { TlsVersion = new [] { "TLSv1.3" } },
                     EventMetadata = new AWSEventMetadataProps { Region = new [] { "us-east-1" } }
                 }),
                 Targets = new [] { new LambdaFunction(fn) }
             });

             // Also works with L1 CfnRule
             // Also works with L1 CfnRule
             new CfnRule(scope, "CfnRule", new CfnRuleProps {
                 State = "ENABLED",
                 EventPattern = AWSAPICallViaCloudTrail.AwsAPICallViaCloudTrailPattern(new AWSAPICallViaCloudTrailProps {
                     TlsDetails = new TlsDetails { TlsVersion = new [] { "TLSv1.3" } },
                     EventMetadata = new AWSEventMetadataProps { Region = new [] { "us-east-1" } }
                 }),
                 Targets = new [] { new TargetProperty { Arn = fn.FunctionArn, Id = "L1" } }
             });

Synopsis

Properties

AdditionalEventData

(experimental) additionalEventData property.

AwsRegion

(experimental) awsRegion property.

ErrorCode

(experimental) errorCode property.

ErrorMessage

(experimental) errorMessage property.

EventCategory

(experimental) eventCategory property.

EventId

(experimental) eventID property.

EventMetadata

(experimental) EventBridge event metadata.

EventName

(experimental) eventName property.

EventSource

(experimental) eventSource property.

EventTime

(experimental) eventTime property.

EventType

(experimental) eventType property.

EventVersion

(experimental) eventVersion property.

ManagementEvent

(experimental) managementEvent property.

ReadOnly

(experimental) readOnly property.

RecipientAccountId

(experimental) recipientAccountId property.

RequestId

(experimental) requestID property.

RequestParameters

(experimental) requestParameters property.

Resources

(experimental) resources property.

ResponseElements

(experimental) responseElements property.

SourceIpAddress

(experimental) sourceIPAddress property.

TlsDetails

(experimental) tlsDetails property.

UserAgent

(experimental) userAgent property.

UserIdentity

(experimental) userIdentity property.

VpcEndpointId

(experimental) vpcEndpointId property.

Properties

AdditionalEventData

(experimental) additionalEventData property.

AWSAPICallViaCloudTrail.IAdditionalEventData? AdditionalEventData { get; }
Property Value

AWSAPICallViaCloudTrail.IAdditionalEventData

Remarks

Specify an array of string values to match this event if the actual value of additionalEventData 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

AwsRegion

(experimental) awsRegion property.

string[]? AwsRegion { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

ErrorCode

(experimental) errorCode property.

string[]? ErrorCode { get; }
Property Value

string[]

Remarks

Specify an array of string values to match this event if the actual value of errorCode 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

ErrorMessage

(experimental) errorMessage property.

string[]? ErrorMessage { get; }
Property Value

string[]

Remarks

Specify an array of string values to match this event if the actual value of errorMessage 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

EventCategory

(experimental) eventCategory property.

string[]? EventCategory { get; }
Property Value

string[]

Remarks

Specify an array of string values to match this event if the actual value of eventCategory 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

EventId

(experimental) eventID property.

string[]? EventId { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

EventMetadata

(experimental) EventBridge event metadata.

IAWSEventMetadataProps? EventMetadata { get; }
Property Value

IAWSEventMetadataProps

Remarks

Default: - -

Stability: Experimental

EventName

(experimental) eventName property.

string[]? EventName { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

EventSource

(experimental) eventSource property.

string[]? EventSource { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

EventTime

(experimental) eventTime property.

string[]? EventTime { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

EventType

(experimental) eventType property.

string[]? EventType { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

EventVersion

(experimental) eventVersion property.

string[]? EventVersion { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

ManagementEvent

(experimental) managementEvent property.

string[]? ManagementEvent { get; }
Property Value

string[]

Remarks

Specify an array of string values to match this event if the actual value of managementEvent 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

ReadOnly

(experimental) readOnly property.

string[]? ReadOnly { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

RecipientAccountId

(experimental) recipientAccountId property.

string[]? RecipientAccountId { get; }
Property Value

string[]

Remarks

Specify an array of string values to match this event if the actual value of recipientAccountId 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

RequestId

(experimental) requestID property.

string[]? RequestId { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

RequestParameters

(experimental) requestParameters property.

AWSAPICallViaCloudTrail.IRequestParameters? RequestParameters { get; }
Property Value

AWSAPICallViaCloudTrail.IRequestParameters

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

Resources

(experimental) resources property.

AWSAPICallViaCloudTrail.IAwsapiCallViaCloudTrailItem[]? Resources { get; }
Property Value

IAwsapiCallViaCloudTrailItem[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

ResponseElements

(experimental) responseElements property.

string[]? ResponseElements { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

SourceIpAddress

(experimental) sourceIPAddress property.

string[]? SourceIpAddress { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

TlsDetails

(experimental) tlsDetails property.

AWSAPICallViaCloudTrail.ITlsDetails? TlsDetails { get; }
Property Value

AWSAPICallViaCloudTrail.ITlsDetails

Remarks

Specify an array of string values to match this event if the actual value of tlsDetails 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

UserAgent

(experimental) userAgent property.

string[]? UserAgent { get; }
Property Value

string[]

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

UserIdentity

(experimental) userIdentity property.

AWSAPICallViaCloudTrail.IUserIdentity? UserIdentity { get; }
Property Value

AWSAPICallViaCloudTrail.IUserIdentity

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

VpcEndpointId

(experimental) vpcEndpointId property.

string[]? VpcEndpointId { get; }
Property Value

string[]

Remarks

Specify an array of string values to match this event if the actual value of vpcEndpointId 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

Back to top Generated by DocFX