1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. oam
  5. getLink

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.oam.getLink

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

    Definition of AWS::Oam::Link Resource Type

    Using getLink

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLink(args: GetLinkArgs, opts?: InvokeOptions): Promise<GetLinkResult>
    function getLinkOutput(args: GetLinkOutputArgs, opts?: InvokeOptions): Output<GetLinkResult>
    def get_link(arn: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetLinkResult
    def get_link_output(arn: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetLinkResult]
    func LookupLink(ctx *Context, args *LookupLinkArgs, opts ...InvokeOption) (*LookupLinkResult, error)
    func LookupLinkOutput(ctx *Context, args *LookupLinkOutputArgs, opts ...InvokeOption) LookupLinkResultOutput

    > Note: This function is named LookupLink in the Go SDK.

    public static class GetLink 
    {
        public static Task<GetLinkResult> InvokeAsync(GetLinkArgs args, InvokeOptions? opts = null)
        public static Output<GetLinkResult> Invoke(GetLinkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLinkResult> getLink(GetLinkArgs args, InvokeOptions options)
    public static Output<GetLinkResult> getLink(GetLinkArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:oam:getLink
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    Arn string
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    arn String
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    arn string
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    arn str
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    arn String
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789

    getLink Result

    The following output properties are available:

    Arn string
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    Label string
    The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, my-account1 .
    LinkConfiguration Pulumi.AwsNative.Oam.Outputs.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 List<Pulumi.AwsNative.Oam.LinkResourceType>
    An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective .
    Tags Dictionary<string, string>
    Tags to apply to the link
    Arn string
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    Label string
    The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, my-account1 .
    LinkConfiguration 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 []LinkResourceType
    An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective .
    Tags map[string]string
    Tags to apply to the link
    arn String
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    label String
    The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, my-account1 .
    linkConfiguration 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 List<LinkResourceType>
    An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective .
    tags Map<String,String>
    Tags to apply to the link
    arn string
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    label string
    The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, my-account1 .
    linkConfiguration 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 LinkResourceType[]
    An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective .
    tags {[key: string]: string}
    Tags to apply to the link
    arn str
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    label str
    The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, my-account1 .
    link_configuration 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.
    resource_types Sequence[LinkResourceType]
    An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective .
    tags Mapping[str, str]
    Tags to apply to the link
    arn String
    The ARN of the link. For example, arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
    label String
    The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, my-account1 .
    linkConfiguration Property Map
    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 List<"AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor" | "AWS::ApplicationSignals::Service" | "AWS::ApplicationSignals::ServiceLevelObjective">
    An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective .
    tags Map<String>
    Tags to apply to the link

    Supporting Types

    LinkConfiguration

    LogGroupConfiguration Pulumi.AwsNative.Oam.Inputs.LinkFilter
    Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
    MetricConfiguration Pulumi.AwsNative.Oam.Inputs.LinkFilter
    Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
    LogGroupConfiguration LinkFilter
    Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
    MetricConfiguration LinkFilter
    Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
    logGroupConfiguration LinkFilter
    Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
    metricConfiguration LinkFilter
    Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
    logGroupConfiguration LinkFilter
    Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
    metricConfiguration LinkFilter
    Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
    log_group_configuration LinkFilter
    Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
    metric_configuration LinkFilter
    Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
    logGroupConfiguration Property Map
    Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
    metricConfiguration Property Map
    Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.

    LinkFilter

    Filter string
    Filter string
    filter String
    filter string
    filter str
    filter String

    LinkResourceType

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi