Interface CfnIPSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIPSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:27.349Z")
@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")
.name("name")
// the properties below are optional
.activate(false)
.detectorId("detectorId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIPSetPropsstatic final classAn implementation forCfnIPSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnIPSetProps.Builderbuilder()default ObjectIndicates whether or not GuardDuty uses theIPSet.default StringThe unique ID of the detector of the GuardDuty account that you want to create an IPSet for.The format of the file that contains the IPSet.The URI of the file that contains the IPSet.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:
-
getName
The user-friendly name to identify the IPSet.Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- See Also:
-
getActivate
Indicates whether or not GuardDuty uses theIPSet.- See Also:
-
getDetectorId
The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.- 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.BuilderofCfnIPSetProps
-