We recommend new projects start with resources from the AWS provider.
aws-native.oam.Link
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Oam::Link Resource Type
Create Link Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Link(name: string, args: LinkArgs, opts?: CustomResourceOptions);
@overload
def Link(resource_name: str,
args: LinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Link(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_types: Optional[Sequence[LinkResourceType]] = None,
sink_identifier: Optional[str] = None,
label_template: Optional[str] = None,
link_configuration: Optional[LinkConfigurationArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewLink(ctx *Context, name string, args LinkArgs, opts ...ResourceOption) (*Link, error)
public Link(string name, LinkArgs args, CustomResourceOptions? opts = null)
type: aws-native:oam:Link
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Link Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Link resource accepts the following input properties:
- 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
. - Sink
Identifier string - The ARN of the sink in the monitoring account that you want to link to. You can use ListSinks to find the ARNs of sinks.
- Label
Template 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.
You can include the following variables in your template:
$AccountName
is the name of the account$AccountEmail
is a globally-unique email address, which includes the email domain, such asmariagarcia@example.com
$AccountEmailNoDomain
is an email address without the domain name, such asmariagarcia
- Link
Configuration Pulumi.Aws Native. Oam. Inputs. 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.
- Dictionary<string, string>
- Tags to apply to the link
- 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
. - Sink
Identifier string - The ARN of the sink in the monitoring account that you want to link to. You can use ListSinks to find the ARNs of sinks.
- Label
Template 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.
You can include the following variables in your template:
$AccountName
is the name of the account$AccountEmail
is a globally-unique email address, which includes the email domain, such asmariagarcia@example.com
$AccountEmailNoDomain
is an email address without the domain name, such asmariagarcia
- Link
Configuration LinkConfiguration Args - 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.
- map[string]string
- Tags to apply to the link
- 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
. - sink
Identifier String - The ARN of the sink in the monitoring account that you want to link to. You can use ListSinks to find the ARNs of sinks.
- label
Template 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.
You can include the following variables in your template:
$AccountName
is the name of the account$AccountEmail
is a globally-unique email address, which includes the email domain, such asmariagarcia@example.com
$AccountEmailNoDomain
is an email address without the domain name, such asmariagarcia
- 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.
- Map<String,String>
- Tags to apply to the link
- 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
. - sink
Identifier string - The ARN of the sink in the monitoring account that you want to link to. You can use ListSinks to find the ARNs of sinks.
- label
Template 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.
You can include the following variables in your template:
$AccountName
is the name of the account$AccountEmail
is a globally-unique email address, which includes the email domain, such asmariagarcia@example.com
$AccountEmailNoDomain
is an email address without the domain name, such asmariagarcia
- 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.
- {[key: string]: string}
- Tags to apply to the link
- 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
. - sink_
identifier str - The ARN of the sink in the monitoring account that you want to link to. You can use ListSinks to find the ARNs of sinks.
- label_
template str Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
You can include the following variables in your template:
$AccountName
is the name of the account$AccountEmail
is a globally-unique email address, which includes the email domain, such asmariagarcia@example.com
$AccountEmailNoDomain
is an email address without the domain name, such asmariagarcia
- link_
configuration LinkConfiguration Args - 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.
- Mapping[str, str]
- Tags to apply to the link
- 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
. - sink
Identifier String - The ARN of the sink in the monitoring account that you want to link to. You can use ListSinks to find the ARNs of sinks.
- label
Template 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.
You can include the following variables in your template:
$AccountName
is the name of the account$AccountEmail
is a globally-unique email address, which includes the email domain, such asmariagarcia@example.com
$AccountEmailNoDomain
is an email address without the domain name, such asmariagarcia
- 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.
- Map<String>
- Tags to apply to the link
Outputs
All input properties are implicitly available as output properties. Additionally, the Link resource produces the following output properties:
- Arn string
- The ARN of the link. For example,
arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
.
- Arn string
- The ARN of the link. For example,
arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
.
- arn String
- The ARN of the link. For example,
arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
- id String
- The provider-assigned unique ID for this managed resource.
- 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
.
- arn string
- The ARN of the link. For example,
arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
- id string
- The provider-assigned unique ID for this managed resource.
- 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
.
- arn str
- The ARN of the link. For example,
arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
- id str
- The provider-assigned unique ID for this managed resource.
- 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
.
- arn String
- The ARN of the link. For example,
arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789
- id String
- The provider-assigned unique ID for this managed resource.
- 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
.
Supporting Types
LinkConfiguration, LinkConfigurationArgs
- 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, LinkFilterArgs
- Filter string
- Filter string
- filter String
- filter string
- filter str
- filter String
LinkResourceType, LinkResourceTypeArgs
- Aws
Cloud Watch Metric - AWS::CloudWatch::Metric
- Aws
Logs Log Group - AWS::Logs::LogGroup
- Awsx
Ray Trace - AWS::XRay::Trace
- Aws
Application Insights Application - AWS::ApplicationInsights::Application
- Aws
Internet Monitor Monitor - AWS::InternetMonitor::Monitor
- Aws
Application Signals Service - AWS::ApplicationSignals::Service
- Aws
Application Signals Service Level Objective - AWS::ApplicationSignals::ServiceLevelObjective
- Link
Resource Type Aws Cloud Watch Metric - AWS::CloudWatch::Metric
- Link
Resource Type Aws Logs Log Group - AWS::Logs::LogGroup
- Link
Resource Type Awsx Ray Trace - AWS::XRay::Trace
- Link
Resource Type Aws Application Insights Application - AWS::ApplicationInsights::Application
- Link
Resource Type Aws Internet Monitor Monitor - AWS::InternetMonitor::Monitor
- Link
Resource Type Aws Application Signals Service - AWS::ApplicationSignals::Service
- Link
Resource Type Aws Application Signals Service Level Objective - AWS::ApplicationSignals::ServiceLevelObjective
- Aws
Cloud Watch Metric - AWS::CloudWatch::Metric
- Aws
Logs Log Group - AWS::Logs::LogGroup
- Awsx
Ray Trace - AWS::XRay::Trace
- Aws
Application Insights Application - AWS::ApplicationInsights::Application
- Aws
Internet Monitor Monitor - AWS::InternetMonitor::Monitor
- Aws
Application Signals Service - AWS::ApplicationSignals::Service
- Aws
Application Signals Service Level Objective - AWS::ApplicationSignals::ServiceLevelObjective
- Aws
Cloud Watch Metric - AWS::CloudWatch::Metric
- Aws
Logs Log Group - AWS::Logs::LogGroup
- Awsx
Ray Trace - AWS::XRay::Trace
- Aws
Application Insights Application - AWS::ApplicationInsights::Application
- Aws
Internet Monitor Monitor - AWS::InternetMonitor::Monitor
- Aws
Application Signals Service - AWS::ApplicationSignals::Service
- Aws
Application Signals Service Level Objective - AWS::ApplicationSignals::ServiceLevelObjective
- AWS_CLOUD_WATCH_METRIC
- AWS::CloudWatch::Metric
- AWS_LOGS_LOG_GROUP
- AWS::Logs::LogGroup
- AWSX_RAY_TRACE
- AWS::XRay::Trace
- AWS_APPLICATION_INSIGHTS_APPLICATION
- AWS::ApplicationInsights::Application
- AWS_INTERNET_MONITOR_MONITOR
- AWS::InternetMonitor::Monitor
- AWS_APPLICATION_SIGNALS_SERVICE
- AWS::ApplicationSignals::Service
- AWS_APPLICATION_SIGNALS_SERVICE_LEVEL_OBJECTIVE
- AWS::ApplicationSignals::ServiceLevelObjective
- "AWS::Cloud
Watch::Metric" - AWS::CloudWatch::Metric
- "AWS::Logs::Log
Group" - AWS::Logs::LogGroup
- "AWS::XRay::Trace"
- AWS::XRay::Trace
- "AWS::Application
Insights::Application" - AWS::ApplicationInsights::Application
- "AWS::Internet
Monitor::Monitor" - AWS::InternetMonitor::Monitor
- "AWS::Application
Signals::Service" - AWS::ApplicationSignals::Service
- "AWS::Application
Signals::Service Level Objective" - AWS::ApplicationSignals::ServiceLevelObjective
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.