Interface CfnLinkProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLinkProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:10.216Z") @Stability(Stable) public interface CfnLinkProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnLink.

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.*;
 CfnLinkProps cfnLinkProps = CfnLinkProps.builder()
         .resourceTypes(List.of("resourceTypes"))
         .sinkIdentifier("sinkIdentifier")
         // the properties below are optional
         .labelTemplate("labelTemplate")
         .linkConfiguration(LinkConfigurationProperty.builder()
                 .logGroupConfiguration(LinkFilterProperty.builder()
                         .filter("filter")
                         .build())
                 .metricConfiguration(LinkFilterProperty.builder()
                         .filter("filter")
                         .build())
                 .build())
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnLinkProps
    static final class 
    An implementation for CfnLinkProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default String
    Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
    default Object
    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.
    An array of strings that define which types of data that the source account shares with the monitoring account.
    The ARN of the sink in the monitoring account that you want to link to.
    default Map<String,String>
    An array of key-value pairs to apply to the link.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson