interface CfnIPSetProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GuardDuty.CfnIPSetProps |
Java | software.amazon.awscdk.services.guardduty.CfnIPSetProps |
Python | aws_cdk.aws_guardduty.CfnIPSetProps |
TypeScript | @aws-cdk/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 * as guardduty from '@aws-cdk/aws-guardduty';
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
Name | Type | Description |
---|---|---|
activate | boolean | IResolvable | Indicates whether or not GuardDuty uses the IPSet . |
detector | string | The unique ID of the detector of the GuardDuty account that you want to create an IPSet for. |
format | string | The format of the file that contains the IPSet. |
location | string | The URI of the file that contains the IPSet. |
name? | string | The user-friendly name to identify the IPSet. |
tags? | Cfn [] | 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:
Cfn
[]
(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 .