Interface CfnLink.LinkConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLink.LinkConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnLink
@Stability(Stable)
public static interface CfnLink.LinkConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.oam.*;
LinkConfigurationProperty linkConfigurationProperty = LinkConfigurationProperty.builder()
.logGroupConfiguration(LinkFilterProperty.builder()
.filter("filter")
.build())
.metricConfiguration(LinkFilterProperty.builder()
.filter("filter")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLink.LinkConfigurationPropertystatic final classAn implementation forCfnLink.LinkConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectUse this structure to filter which log groups are to share log events from this source account to the monitoring account.default ObjectUse this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogGroupConfiguration
Use this structure to filter which log groups are to share log events from this source account to the monitoring account.Returns union: either
IResolvableorCfnLink.LinkFilterProperty- See Also:
-
getMetricConfiguration
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.Returns union: either
IResolvableorCfnLink.LinkFilterProperty- See Also:
-
builder
-