Interface CfnIPSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIPSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:20.002Z")
@Stability(Stable)
public interface CfnIPSetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnIPSet
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.guardduty.*; CfnIPSetProps cfnIPSetProps = CfnIPSetProps.builder() .format("format") .location("location") // the properties below are optional .activate(false) .detectorId("detectorId") .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnIPSetProps
static final class
An implementation forCfnIPSetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnIPSetProps.Builder
builder()
default Object
Indicates whether or not GuardDuty uses theIPSet
.default String
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.The format of the file that contains the IPSet.The URI of the file that contains the IPSet.default String
getName()
The user-friendly name to identify the IPSet.getTags()
The tags to be added to a new IP set resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFormat
The format of the file that contains the IPSet.- See Also:
-
getLocation
The URI of the file that contains the IPSet.- See Also:
-
getActivate
Indicates whether or not GuardDuty uses theIPSet
.- See Also:
-
getDetectorId
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- See Also:
-
getName
The user-friendly name to identify the IPSet.Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- See Also:
-
getTags
The tags to be added to a new IP set resource.Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnIPSetProps.Builder
ofCfnIPSetProps
-