interface AwsApiCallAction
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.AwsApiCallAction |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_AwsApiCallAction |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.AwsApiCallAction |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.AwsApiCallAction |
TypeScript | @aws-cdk/mixins-preview ยป aws_guardduty ยป events ยป DetectorEvents ยป GuardDutyFinding ยป AwsApiCallAction |
Type definition for AwsApiCallAction.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as guardduty_events } from '@aws-cdk/mixins-preview/aws-guardduty';
const awsApiCallAction: guardduty_events.DetectorEvents.GuardDutyFinding.AwsApiCallAction = {
affectedResources: ['affectedResources'],
api: ['api'],
callerType: ['callerType'],
errorCode: ['errorCode'],
remoteIpDetails: {
city: {
cityName: ['cityName'],
},
country: {
countryName: ['countryName'],
},
geoLocation: {
lat: ['lat'],
lon: ['lon'],
},
ipAddressV4: ['ipAddressV4'],
organization: {
asn: ['asn'],
asnOrg: ['asnOrg'],
isp: ['isp'],
org: ['org'],
},
},
serviceName: ['serviceName'],
};
Properties
| Name | Type | Description |
|---|---|---|
| affected | string[] | affectedResources property. |
| api? | string[] | api property. |
| caller | string[] | callerType property. |
| error | string[] | errorCode property. |
| remote | Remote | remoteIpDetails property. |
| service | string[] | serviceName property. |
affectedResources?
Type:
string[]
(optional, default: Do not filter on this field)
affectedResources property.
Specify an array of string values to match this event if the actual value of affectedResources is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
api?
Type:
string[]
(optional, default: Do not filter on this field)
api property.
Specify an array of string values to match this event if the actual value of api is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
callerType?
Type:
string[]
(optional, default: Do not filter on this field)
callerType property.
Specify an array of string values to match this event if the actual value of callerType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
errorCode?
Type:
string[]
(optional, default: Do not filter on this field)
errorCode property.
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.
remoteIpDetails?
Type:
Remote
(optional, default: Do not filter on this field)
remoteIpDetails property.
Specify an array of string values to match this event if the actual value of remoteIpDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
serviceName?
Type:
string[]
(optional, default: Do not filter on this field)
serviceName property.
Specify an array of string values to match this event if the actual value of serviceName 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