Show / Hide Table of Contents

Class CfnLinkMixinProps

Properties for CfnLinkPropsMixin.

Inheritance
object
CfnLinkMixinProps
Implements
ICfnLinkMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Oam.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnLinkMixinProps : ICfnLinkMixinProps
Syntax (vb)
Public Class CfnLinkMixinProps Implements ICfnLinkMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Oam.Mixins;

             var cfnLinkMixinProps = new CfnLinkMixinProps {
                 LabelTemplate = "labelTemplate",
                 LinkConfiguration = new LinkConfigurationProperty {
                     LogGroupConfiguration = new LinkFilterProperty {
                         Filter = "filter"
                     },
                     MetricConfiguration = new LinkFilterProperty {
                         Filter = "filter"
                     }
                 },
                 ResourceTypes = new [] { "resourceTypes" },
                 SinkIdentifier = "sinkIdentifier",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             };

Synopsis

Constructors

CfnLinkMixinProps()

Properties for CfnLinkPropsMixin.

Properties

LabelTemplate

Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.

LinkConfiguration

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.

ResourceTypes

An array of strings that define which types of data that the source account shares with the monitoring account.

SinkIdentifier

The ARN of the sink in the monitoring account that you want to link to.

Tags

An array of key-value pairs to apply to the link.

Constructors

CfnLinkMixinProps()

Properties for CfnLinkPropsMixin.

public CfnLinkMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Oam.Mixins;

             var cfnLinkMixinProps = new CfnLinkMixinProps {
                 LabelTemplate = "labelTemplate",
                 LinkConfiguration = new LinkConfigurationProperty {
                     LogGroupConfiguration = new LinkFilterProperty {
                         Filter = "filter"
                     },
                     MetricConfiguration = new LinkFilterProperty {
                         Filter = "filter"
                     }
                 },
                 ResourceTypes = new [] { "resourceTypes" },
                 SinkIdentifier = "sinkIdentifier",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             };

Properties

LabelTemplate

Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.

public string? LabelTemplate { get; set; }
Property Value

string

Remarks

You can include the following variables in your template:

    In the  and  Regions, the only supported option is to use custom labels, and the <code>$AccountName</code> , <code>$AccountEmail</code> , and <code>$AccountEmailNoDomain</code> variables all resolve as <em>account-id</em> instead of the specified variable.
    

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-labeltemplate

    LinkConfiguration

    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.

    public object? LinkConfiguration { get; set; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration

    Type union: either IResolvable or CfnLinkPropsMixin.ILinkConfigurationProperty

    ResourceTypes

    An array of strings that define which types of data that the source account shares with the monitoring account.

    public string[]? ResourceTypes { get; set; }
    Property Value

    string[]

    Remarks

    Valid values are AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-resourcetypes

    SinkIdentifier

    The ARN of the sink in the monitoring account that you want to link to.

    public string? SinkIdentifier { get; set; }
    Property Value

    string

    Remarks

    You can use ListSinks to find the ARNs of sinks.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-sinkidentifier

    Tags

    An array of key-value pairs to apply to the link.

    public IDictionary<string, string>? Tags { get; set; }
    Property Value

    IDictionary<string, string>

    Remarks

    For more information, see Tag .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-tags

    Implements

    ICfnLinkMixinProps
    Back to top Generated by DocFX