Class CfnIPSetProps
Properties for defining a CfnIPSet
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPSetProps : ICfnIPSetProps
Syntax (vb)
Public Class CfnIPSetProps 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",
ExpectedBucketOwner = "expectedBucketOwner",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnIPSetProps() | Properties for defining a |
Properties
Activate | Indicates whether or not GuardDuty uses the |
DetectorId | The unique ID of the detector of the GuardDuty account for which you want to create an IPSet. |
ExpectedBucketOwner | The AWS account ID that owns the Amazon S3 bucket specified in the Location field. |
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()
Properties for defining a CfnIPSet
.
public CfnIPSetProps()
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",
ExpectedBucketOwner = "expectedBucketOwner",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
Activate
Indicates whether or not GuardDuty uses the IPSet
.
public object? Activate { get; set; }
Property Value
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
Remarks
To find the detectorId
in the current Region, see the
Settings page in the GuardDuty console, or run the ListDetectors API.
ExpectedBucketOwner
The AWS account ID that owns the Amazon S3 bucket specified in the Location field.
public string? ExpectedBucketOwner { get; set; }
Property Value
Remarks
When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
Format
The format of the file that contains the IPSet.
public string Format { get; set; }
Property Value
Remarks
Location
The URI of the file that contains the IPSet.
public string Location { get; set; }
Property Value
Remarks
Name
The user-friendly name to identify the IPSet.
public string? Name { get; set; }
Property Value
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
ICfnTag[]
Remarks
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .