CfnMasterProps

class aws_cdk.aws_guardduty.CfnMasterProps(*, detector_id, master_id, invitation_id=None)

Bases: object

Properties for defining a CfnMaster.

Parameters:
  • detector_id (str) – The unique ID of the detector of the GuardDuty member account.

  • master_id (str) – The AWS account ID of the account designated as the GuardDuty administrator account.

  • invitation_id (Optional[str]) – The ID of the invitation that is sent to the account designated as a member account. You can find the invitation ID by using the ListInvitation action of the GuardDuty API.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_master_props = guardduty.CfnMasterProps(
    detector_id="detectorId",
    master_id="masterId",

    # the properties below are optional
    invitation_id="invitationId"
)

Attributes

detector_id

The unique ID of the detector of the GuardDuty member account.

See:

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

invitation_id

The ID of the invitation that is sent to the account designated as a member account.

You can find the invitation ID by using the ListInvitation action of the GuardDuty API.

See:

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

master_id

The AWS account ID of the account designated as the GuardDuty administrator account.

See:

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