aws-cdk-lib.aws_guardduty.CfnIPSetProps

interface CfnIPSetProps

LanguageType name
.NETAmazon.CDK.AWS.GuardDuty.CfnIPSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsguardduty#CfnIPSetProps
Javasoftware.amazon.awscdk.services.guardduty.CfnIPSetProps
Pythonaws_cdk.aws_guardduty.CfnIPSetProps
TypeScript aws-cdk-lib » aws_guardduty » CfnIPSetProps

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 { aws_guardduty as guardduty } from 'aws-cdk-lib';
const cfnIPSetProps: guardduty.CfnIPSetProps = {
  activate: false,
  detectorId: 'detectorId',
  format: 'format',
  location: 'location',

  // the properties below are optional
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
activateboolean | IResolvableIndicates whether or not GuardDuty uses the IPSet .
detectorIdstringThe unique ID of the detector of the GuardDuty account that you want to create an IPSet for.
formatstringThe format of the file that contains the IPSet.
locationstringThe URI of the file that contains the IPSet.
name?stringThe user-friendly name to identify the IPSet.
tags?CfnTag[]The tags to be added to a new IP set resource.

activate

Type: boolean | IResolvable

Indicates whether or not GuardDuty uses the IPSet .


detectorId

Type: string

The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.


format

Type: string

The format of the file that contains the IPSet.


location

Type: string

The URI of the file that contains the IPSet.


name?

Type: string (optional)

The user-friendly name to identify the IPSet.

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


tags?

Type: CfnTag[] (optional)

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 .