Interface DetectorEvents.GuardDutyFinding.Action
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DetectorEvents.GuardDutyFinding.Action.Jsii$Proxy
- Enclosing class:
DetectorEvents.GuardDutyFinding
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.guardduty.events.*;
Action action = Action.builder()
.actionType(List.of("actionType"))
.awsApiCallAction(AwsApiCallAction1.builder()
.affectedResources(AffectedResources1.builder()
.awsCloudTrailTrail(List.of("awsCloudTrailTrail"))
.awsEc2Instance(List.of("awsEc2Instance"))
.awsS3Bucket(List.of("awsS3Bucket"))
.build())
.api(List.of("api"))
.callerType(List.of("callerType"))
.errorCode(List.of("errorCode"))
.remoteAccountDetails(RemoteAccountDetails.builder()
.accountId(List.of("accountId"))
.affiliated(List.of("affiliated"))
.build())
.remoteIpDetails(RemoteIpDetails1.builder()
.city(City1.builder()
.cityName(List.of("cityName"))
.build())
.country(Country1.builder()
.countryName(List.of("countryName"))
.build())
.geoLocation(GeoLocation.builder()
.lat(List.of("lat"))
.lon(List.of("lon"))
.build())
.ipAddressV4(List.of("ipAddressV4"))
.organization(Organization1.builder()
.asn(List.of("asn"))
.asnOrg(List.of("asnOrg"))
.isp(List.of("isp"))
.org(List.of("org"))
.build())
.build())
.serviceName(List.of("serviceName"))
.build())
.dnsRequestAction(DnsRequestAction.builder()
.blocked(List.of("blocked"))
.domain(List.of("domain"))
.protocol(List.of("protocol"))
.build())
.kubernetesApiCallAction(KubernetesApiCallAction.builder()
.parameters(List.of("parameters"))
.remoteIpDetails(RemoteIpDetails2.builder()
.city(City2.builder()
.cityName(List.of("cityName"))
.build())
.country(Country2.builder()
.countryName(List.of("countryName"))
.build())
.geoLocation(GeoLocation.builder()
.lat(List.of("lat"))
.lon(List.of("lon"))
.build())
.ipAddressV4(List.of("ipAddressV4"))
.organization(Organization2.builder()
.asn(List.of("asn"))
.asnOrg(List.of("asnOrg"))
.isp(List.of("isp"))
.org(List.of("org"))
.build())
.build())
.requestUri(List.of("requestUri"))
.sourceIPs(List.of("sourceIPs"))
.statusCode(List.of("statusCode"))
.userAgent(List.of("userAgent"))
.verb(List.of("verb"))
.build())
.networkConnectionAction(NetworkConnectionAction.builder()
.blocked(List.of("blocked"))
.connectionDirection(List.of("connectionDirection"))
.localIpDetails(LocalIpDetails.builder()
.ipAddressV4(List.of("ipAddressV4"))
.build())
.localPortDetails(LocalPortDetails.builder()
.port(List.of("port"))
.portName(List.of("portName"))
.build())
.protocol(List.of("protocol"))
.remoteIpDetails(RemoteIpDetails3.builder()
.city(City3.builder()
.cityName(List.of("cityName"))
.build())
.country(Country3.builder()
.countryName(List.of("countryName"))
.build())
.geoLocation(GeoLocation.builder()
.lat(List.of("lat"))
.lon(List.of("lon"))
.build())
.ipAddressV4(List.of("ipAddressV4"))
.organization(Organization3.builder()
.asn(List.of("asn"))
.asnOrg(List.of("asnOrg"))
.isp(List.of("isp"))
.org(List.of("org"))
.build())
.build())
.remotePortDetails(RemotePortDetails.builder()
.port(List.of("port"))
.portName(List.of("portName"))
.build())
.build())
.portProbeAction(PortProbeAction.builder()
.blocked(List.of("blocked"))
.portProbeDetails(List.of(PortProbeActionItem.builder()
.localIpDetails(LocalIpDetails1.builder()
.ipAddressV4(List.of("ipAddressV4"))
.build())
.localPortDetails(LocalPortDetails1.builder()
.port(List.of("port"))
.portName(List.of("portName"))
.build())
.remoteIpDetails(RemoteIpDetails4.builder()
.city(City4.builder()
.cityName(List.of("cityName"))
.build())
.country(Country4.builder()
.countryName(List.of("countryName"))
.build())
.geoLocation(GeoLocation1.builder()
.lat(List.of("lat"))
.lon(List.of("lon"))
.build())
.ipAddressV4(List.of("ipAddressV4"))
.organization(Organization4.builder()
.asn(List.of("asn"))
.asnOrg(List.of("asnOrg"))
.isp(List.of("isp"))
.org(List.of("org"))
.build())
.build())
.build()))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDetectorEvents.GuardDutyFinding.Actionstatic final classAn implementation forDetectorEvents.GuardDutyFinding.Action -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) actionType property.(experimental) awsApiCallAction property.(experimental) dnsRequestAction property.(experimental) kubernetesApiCallAction property.(experimental) networkConnectionAction property.(experimental) portProbeAction property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionType
(experimental) actionType property.Specify an array of string values to match this event if the actual value of actionType is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getAwsApiCallAction
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.AwsApiCallAction1 getAwsApiCallAction()(experimental) awsApiCallAction property.Specify an array of string values to match this event if the actual value of awsApiCallAction is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getDnsRequestAction
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.DnsRequestAction getDnsRequestAction()(experimental) dnsRequestAction property.Specify an array of string values to match this event if the actual value of dnsRequestAction is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getKubernetesApiCallAction
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.KubernetesApiCallAction getKubernetesApiCallAction()(experimental) kubernetesApiCallAction property.Specify an array of string values to match this event if the actual value of kubernetesApiCallAction is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getNetworkConnectionAction
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.NetworkConnectionAction getNetworkConnectionAction()(experimental) networkConnectionAction property.Specify an array of string values to match this event if the actual value of networkConnectionAction is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getPortProbeAction
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.PortProbeAction getPortProbeAction()(experimental) portProbeAction property.Specify an array of string values to match this event if the actual value of portProbeAction is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-