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
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
. - Link
Configuration Pulumi.Aws Native. Oam. Outputs. Link Configuration - 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 List<Pulumi.Aws Native. Oam. Link Resource Type> - 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
. - 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
. - 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 []LinkResource Type - 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
. - 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
. - 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 List<LinkResource Type> - 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
. - 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
. - 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 LinkResource Type[] - 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
. - {[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[LinkResource Type] - 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
. - 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
. - link
Configuration 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.
- resource
Types List<"AWS::CloudWatch::Metric" | "AWS::Logs::Log Group" | "AWS::XRay::Trace" | "AWS::Application Insights::Application" | "AWS::Internet Monitor::Monitor" | "AWS::Application Signals::Service" | "AWS::Application Signals::Service Level Objective"> - 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
. - Map<String>
- Tags to apply to the link
Supporting Types
LinkConfiguration
- Log
Group Pulumi.Configuration Aws Native. Oam. Inputs. Link Filter - Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
- Metric
Configuration Pulumi.Aws Native. Oam. Inputs. Link Filter - Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
- Log
Group LinkConfiguration Filter - 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.
- log
Group LinkConfiguration Filter - 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.
- log
Group LinkConfiguration Filter - 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.
- log_
group_ Linkconfiguration Filter - 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.
- log
Group Property MapConfiguration - Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
- metric
Configuration 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
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