interface LinkConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Oam.CfnLink.LinkConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsoam#CfnLink_LinkConfigurationProperty |
Java | software.amazon.awscdk.services.oam.CfnLink.LinkConfigurationProperty |
Python | aws_cdk.aws_oam.CfnLink.LinkConfigurationProperty |
TypeScript | aws-cdk-lib » aws_oam » CfnLink » LinkConfigurationProperty |
Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_oam as oam } from 'aws-cdk-lib';
const linkConfigurationProperty: oam.CfnLink.LinkConfigurationProperty = {
logGroupConfiguration: {
filter: 'filter',
},
metricConfiguration: {
filter: 'filter',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| log | IResolvable | Link | Use this structure to filter which log groups are to share log events from this source account to the monitoring account. |
| metric | IResolvable | Link | Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account. |
logGroupConfiguration?
Type:
IResolvable | Link
(optional)
Use this structure to filter which log groups are to share log events from this source account to the monitoring account.
metricConfiguration?
Type:
IResolvable | Link
(optional)
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.

.NET
Go
Java
Python
TypeScript