aws-cdk-lib.aws_guardduty.CfnMasterProps

interface CfnMasterProps

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

Properties for defining a CfnMaster.

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 cfnMasterProps: guardduty.CfnMasterProps = {
  detectorId: 'detectorId',
  masterId: 'masterId',

  // the properties below are optional
  invitationId: 'invitationId',
};

Properties

NameTypeDescription
detectorIdstringThe unique ID of the detector of the GuardDuty member account.
masterIdstringThe AWS account ID of the account designated as the GuardDuty administrator account.
invitationId?stringThe ID of the invitation that is sent to the account designated as a member account.

detectorId

Type: string

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


masterId

Type: string

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


invitationId?

Type: string (optional)

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.