Show / Hide Table of Contents

Class CfnIPSetProps

Properties for defining a CfnIPSet.

Inheritance
object
CfnIPSetProps
Implements
ICfnIPSetProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnIPSet.

Properties

Activate

Indicates whether or not GuardDuty uses the IPSet .

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-activate

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

string

Remarks

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-detectorid

ExpectedBucketOwner

The AWS account ID that owns the Amazon S3 bucket specified in the Location field.

public string? ExpectedBucketOwner { get; set; }
Property Value

string

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-expectedbucketowner

Format

The format of the file that contains the IPSet.

public string Format { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-format

Location

The URI of the file that contains the IPSet.

public string Location { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-location

Name

The user-friendly name to identify the IPSet.

public string? Name { get; set; }
Property Value

string

Remarks

Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-name

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-tags

Implements

ICfnIPSetProps
Back to top Generated by DocFX