Skip to content
v2.273.0

CfnLinkPropsMixin Mixin ​

Creates a link between a source account and a sink that you have created in a monitoring account.

Before you create a link, you must create a sink in the monitoring account. The sink must have a sink policy that permits the source account to link to it. You can grant permission to source accounts by granting permission to an entire organization, an organizational unit, or to individual accounts.

For more information, see CreateSink and PutSinkPolicy .

Each monitoring account can be linked to as many as 100,000 source accounts.

Each source account can be linked to as many as five monitoring accounts.

Initializer ​

ts
new CfnLinkPropsMixin(props: CfnLinkMixinProps, options?: CfnPropertyMixinOptions)
python
CfnLinkPropsMixin(props: CfnLinkMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnLinkPropsMixin(CfnLinkMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnLinkPropsMixin(CfnLinkMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnLinkPropsMixin(Props CfnLinkMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.