Skip to content
v2.274.0

CfnMemberProps Struct ​

Properties for defining a CfnMember.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_macie as macie } from 'aws-cdk-lib';
const cfnMemberProps: macie.CfnMemberProps = {
  accountId: 'accountId',

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

Properties ​

accountIdstringaccount_idstraccountIdStringAccountIdstringAccountId*stringrequired#
The AWS account ID for the account to associate with the Amazon Macie administrator account.
emailstringemailstremailStringEmailstringEmail*string#
The email address for the account to associate with the Amazon Macie administrator account.

Required by the Amazon Macie CreateMember API at creation time; it is write-only because the service does not return it (it is null when the account is associated through AWS Organizations).

tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The tags to associate with the member account in Amazon Macie.