Class CfnIPSetProps
Properties for defining a CfnIPSet
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPSetProps : Object, ICfnIPSetProps
Syntax (vb)
Public Class CfnIPSetProps
Inherits Object
Implements ICfnIPSetProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GuardDuty;
var cfnIPSetProps = new CfnIPSetProps {
Format = "format",
Location = "location",
// the properties below are optional
Activate = false,
DetectorId = "detectorId",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
Cfn |
Properties
Activate | Indicates whether or not GuardDuty uses the |
Detector |
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet. |
Format | The format of the file that contains the IPSet. |
Location | The URI of the file that contains the IPSet. |
Name | The user-friendly name to identify the IPSet. |
Tags | The tags to be added to a new IP set resource. |
Constructors
CfnIPSetProps()
public CfnIPSetProps()
Properties
Activate
Indicates whether or not GuardDuty uses the IPSet
.
public object Activate { get; set; }
Property Value
System.
Remarks
DetectorId
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
public string DetectorId { get; set; }
Property Value
System.
Remarks
To find the detectorId
in the current Region, see the
Settings page in the GuardDuty console, or run the ListDetectors API.
Format
The format of the file that contains the IPSet.
public string Format { get; set; }
Property Value
System.
Remarks
Location
The URI of the file that contains the IPSet.
public string Location { get; set; }
Property Value
System.
Remarks
Name
The user-friendly name to identify the IPSet.
public string Name { get; set; }
Property Value
System.
Remarks
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
Tags
The tags to be added to a new IP set resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfn
Remarks
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .