CfnIPSetProps

class aws_cdk.aws_guardduty.CfnIPSetProps(*, activate, detector_id, format, location, name=None, tags=None)

Bases: object

Properties for defining a CfnIPSet.

Parameters:
  • activate (Union[bool, IResolvable]) – Indicates whether or not GuardDuty uses the IPSet .

  • detector_id (str) – The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.

  • format (str) – The format of the file that contains the IPSet.

  • location (str) – The URI of the file that contains the IPSet.

  • name (Optional[str]) – The user-friendly name to identify the IPSet. Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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 .

Link:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_guardduty as guardduty

cfn_iPSet_props = guardduty.CfnIPSetProps(
    activate=False,
    detector_id="detectorId",
    format="format",
    location="location",

    # the properties below are optional
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

activate

Indicates whether or not GuardDuty uses the IPSet .

Link:

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

detector_id

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

Link:

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

format

The format of the file that contains the IPSet.

Link:

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.

Link:

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.

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

Link:

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.

Each tag consists of a key and an optional value, both of which you define.

For more information, see Tag .

Link:

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