interface NetworkConnectionAction
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.NetworkConnectionAction |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_NetworkConnectionAction |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.NetworkConnectionAction |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.NetworkConnectionAction |
TypeScript | @aws-cdk/mixins-preview ยป aws_guardduty ยป events ยป DetectorEvents ยป GuardDutyFinding ยป NetworkConnectionAction |
Type definition for NetworkConnectionAction.
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 networkConnectionAction: guardduty_events.DetectorEvents.GuardDutyFinding.NetworkConnectionAction = {
blocked: ['blocked'],
connectionDirection: ['connectionDirection'],
localIpDetails: {
ipAddressV4: ['ipAddressV4'],
},
localPortDetails: {
port: ['port'],
portName: ['portName'],
},
protocol: ['protocol'],
remoteIpDetails: {
city: {
cityName: ['cityName'],
},
country: {
countryName: ['countryName'],
},
geoLocation: {
lat: ['lat'],
lon: ['lon'],
},
ipAddressV4: ['ipAddressV4'],
organization: {
asn: ['asn'],
asnOrg: ['asnOrg'],
isp: ['isp'],
org: ['org'],
},
},
remotePortDetails: {
port: ['port'],
portName: ['portName'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| blocked? | string[] | blocked property. |
| connection | string[] | connectionDirection property. |
| local | Local | localIpDetails property. |
| local | Local | localPortDetails property. |
| protocol? | string[] | protocol property. |
| remote | Remote | remoteIpDetails property. |
| remote | Remote | remotePortDetails property. |
blocked?
Type:
string[]
(optional, default: Do not filter on this field)
blocked property.
Specify an array of string values to match this event if the actual value of blocked is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
connectionDirection?
Type:
string[]
(optional, default: Do not filter on this field)
connectionDirection property.
Specify an array of string values to match this event if the actual value of connectionDirection is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
localIpDetails?
Type:
Local
(optional, default: Do not filter on this field)
localIpDetails property.
Specify an array of string values to match this event if the actual value of localIpDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
localPortDetails?
Type:
Local
(optional, default: Do not filter on this field)
localPortDetails property.
Specify an array of string values to match this event if the actual value of localPortDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
protocol?
Type:
string[]
(optional, default: Do not filter on this field)
protocol property.
Specify an array of string values to match this event if the actual value of protocol 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.
remotePortDetails?
Type:
Remote
(optional, default: Do not filter on this field)
remotePortDetails property.
Specify an array of string values to match this event if the actual value of remotePortDetails 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