CfnMemberPropsMixin
- class aws_cdk.mixins_preview.aws_guardduty.mixins.CfnMemberPropsMixin(props, *, strategy=None)
Bases:
MixinYou can use the
AWS::GuardDuty::Memberresource to add an AWS account as a GuardDuty member account to the current GuardDuty administrator account.If the value of the
Statusproperty is not provided or is set toCreated, a member account is created but not invited. If the value of theStatusproperty is set toInvited, a member account is created and invited. AnAWS::GuardDuty::Memberresource must be created with theStatusproperty set toInvitedbefore theAWS::GuardDuty::Masterresource can be created in a GuardDuty member account.- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html
- CloudformationResource:
AWS::GuardDuty::Member
- Mixin:
true
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_guardduty import mixins as guardduty_mixins cfn_member_props_mixin = guardduty_mixins.CfnMemberPropsMixin(guardduty_mixins.CfnMemberMixinProps( detector_id="detectorId", disable_email_notification=False, email="email", member_id="memberId", message="message", status="status" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::GuardDuty::Member.- Parameters:
props (
Union[CfnMemberMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['detectorId', 'disableEmailNotification', 'email', 'memberId', 'message', 'status']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental