Documentation ¶
Index ¶
- Constants
- type Link
- type LinkArgs
- type LinkConfiguration
- type LinkConfigurationArgs
- func (LinkConfigurationArgs) ElementType() reflect.Type
- func (i LinkConfigurationArgs) ToLinkConfigurationOutput() LinkConfigurationOutput
- func (i LinkConfigurationArgs) ToLinkConfigurationOutputWithContext(ctx context.Context) LinkConfigurationOutput
- func (i LinkConfigurationArgs) ToLinkConfigurationPtrOutput() LinkConfigurationPtrOutput
- func (i LinkConfigurationArgs) ToLinkConfigurationPtrOutputWithContext(ctx context.Context) LinkConfigurationPtrOutput
- type LinkConfigurationInput
- type LinkConfigurationOutput
- func (LinkConfigurationOutput) ElementType() reflect.Type
- func (o LinkConfigurationOutput) LogGroupConfiguration() LinkFilterPtrOutput
- func (o LinkConfigurationOutput) MetricConfiguration() LinkFilterPtrOutput
- func (o LinkConfigurationOutput) ToLinkConfigurationOutput() LinkConfigurationOutput
- func (o LinkConfigurationOutput) ToLinkConfigurationOutputWithContext(ctx context.Context) LinkConfigurationOutput
- func (o LinkConfigurationOutput) ToLinkConfigurationPtrOutput() LinkConfigurationPtrOutput
- func (o LinkConfigurationOutput) ToLinkConfigurationPtrOutputWithContext(ctx context.Context) LinkConfigurationPtrOutput
- type LinkConfigurationPtrInput
- type LinkConfigurationPtrOutput
- func (o LinkConfigurationPtrOutput) Elem() LinkConfigurationOutput
- func (LinkConfigurationPtrOutput) ElementType() reflect.Type
- func (o LinkConfigurationPtrOutput) LogGroupConfiguration() LinkFilterPtrOutput
- func (o LinkConfigurationPtrOutput) MetricConfiguration() LinkFilterPtrOutput
- func (o LinkConfigurationPtrOutput) ToLinkConfigurationPtrOutput() LinkConfigurationPtrOutput
- func (o LinkConfigurationPtrOutput) ToLinkConfigurationPtrOutputWithContext(ctx context.Context) LinkConfigurationPtrOutput
- type LinkFilter
- type LinkFilterArgs
- func (LinkFilterArgs) ElementType() reflect.Type
- func (i LinkFilterArgs) ToLinkFilterOutput() LinkFilterOutput
- func (i LinkFilterArgs) ToLinkFilterOutputWithContext(ctx context.Context) LinkFilterOutput
- func (i LinkFilterArgs) ToLinkFilterPtrOutput() LinkFilterPtrOutput
- func (i LinkFilterArgs) ToLinkFilterPtrOutputWithContext(ctx context.Context) LinkFilterPtrOutput
- type LinkFilterInput
- type LinkFilterOutput
- func (LinkFilterOutput) ElementType() reflect.Type
- func (o LinkFilterOutput) Filter() pulumi.StringOutput
- func (o LinkFilterOutput) ToLinkFilterOutput() LinkFilterOutput
- func (o LinkFilterOutput) ToLinkFilterOutputWithContext(ctx context.Context) LinkFilterOutput
- func (o LinkFilterOutput) ToLinkFilterPtrOutput() LinkFilterPtrOutput
- func (o LinkFilterOutput) ToLinkFilterPtrOutputWithContext(ctx context.Context) LinkFilterPtrOutput
- type LinkFilterPtrInput
- type LinkFilterPtrOutput
- func (o LinkFilterPtrOutput) Elem() LinkFilterOutput
- func (LinkFilterPtrOutput) ElementType() reflect.Type
- func (o LinkFilterPtrOutput) Filter() pulumi.StringPtrOutput
- func (o LinkFilterPtrOutput) ToLinkFilterPtrOutput() LinkFilterPtrOutput
- func (o LinkFilterPtrOutput) ToLinkFilterPtrOutputWithContext(ctx context.Context) LinkFilterPtrOutput
- type LinkInput
- type LinkOutput
- func (o LinkOutput) Arn() pulumi.StringOutput
- func (LinkOutput) ElementType() reflect.Type
- func (o LinkOutput) Label() pulumi.StringOutput
- func (o LinkOutput) LabelTemplate() pulumi.StringPtrOutput
- func (o LinkOutput) LinkConfiguration() LinkConfigurationPtrOutput
- func (o LinkOutput) ResourceTypes() LinkResourceTypeArrayOutput
- func (o LinkOutput) SinkIdentifier() pulumi.StringOutput
- func (o LinkOutput) Tags() pulumi.StringMapOutput
- func (o LinkOutput) ToLinkOutput() LinkOutput
- func (o LinkOutput) ToLinkOutputWithContext(ctx context.Context) LinkOutput
- type LinkResourceType
- func (LinkResourceType) ElementType() reflect.Type
- func (e LinkResourceType) ToLinkResourceTypeOutput() LinkResourceTypeOutput
- func (e LinkResourceType) ToLinkResourceTypeOutputWithContext(ctx context.Context) LinkResourceTypeOutput
- func (e LinkResourceType) ToLinkResourceTypePtrOutput() LinkResourceTypePtrOutput
- func (e LinkResourceType) ToLinkResourceTypePtrOutputWithContext(ctx context.Context) LinkResourceTypePtrOutput
- func (e LinkResourceType) ToStringOutput() pulumi.StringOutput
- func (e LinkResourceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e LinkResourceType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e LinkResourceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LinkResourceTypeArray
- type LinkResourceTypeArrayInput
- type LinkResourceTypeArrayOutput
- func (LinkResourceTypeArrayOutput) ElementType() reflect.Type
- func (o LinkResourceTypeArrayOutput) Index(i pulumi.IntInput) LinkResourceTypeOutput
- func (o LinkResourceTypeArrayOutput) ToLinkResourceTypeArrayOutput() LinkResourceTypeArrayOutput
- func (o LinkResourceTypeArrayOutput) ToLinkResourceTypeArrayOutputWithContext(ctx context.Context) LinkResourceTypeArrayOutput
- type LinkResourceTypeInput
- type LinkResourceTypeOutput
- func (LinkResourceTypeOutput) ElementType() reflect.Type
- func (o LinkResourceTypeOutput) ToLinkResourceTypeOutput() LinkResourceTypeOutput
- func (o LinkResourceTypeOutput) ToLinkResourceTypeOutputWithContext(ctx context.Context) LinkResourceTypeOutput
- func (o LinkResourceTypeOutput) ToLinkResourceTypePtrOutput() LinkResourceTypePtrOutput
- func (o LinkResourceTypeOutput) ToLinkResourceTypePtrOutputWithContext(ctx context.Context) LinkResourceTypePtrOutput
- func (o LinkResourceTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o LinkResourceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o LinkResourceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o LinkResourceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LinkResourceTypePtrInput
- type LinkResourceTypePtrOutput
- func (o LinkResourceTypePtrOutput) Elem() LinkResourceTypeOutput
- func (LinkResourceTypePtrOutput) ElementType() reflect.Type
- func (o LinkResourceTypePtrOutput) ToLinkResourceTypePtrOutput() LinkResourceTypePtrOutput
- func (o LinkResourceTypePtrOutput) ToLinkResourceTypePtrOutputWithContext(ctx context.Context) LinkResourceTypePtrOutput
- func (o LinkResourceTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o LinkResourceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LinkState
- type LookupLinkArgs
- type LookupLinkOutputArgs
- type LookupLinkResult
- type LookupLinkResultOutput
- func (o LookupLinkResultOutput) Arn() pulumi.StringPtrOutput
- func (LookupLinkResultOutput) ElementType() reflect.Type
- func (o LookupLinkResultOutput) Label() pulumi.StringPtrOutput
- func (o LookupLinkResultOutput) LinkConfiguration() LinkConfigurationPtrOutput
- func (o LookupLinkResultOutput) ResourceTypes() LinkResourceTypeArrayOutput
- func (o LookupLinkResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupLinkResultOutput) ToLookupLinkResultOutput() LookupLinkResultOutput
- func (o LookupLinkResultOutput) ToLookupLinkResultOutputWithContext(ctx context.Context) LookupLinkResultOutput
- type LookupSinkArgs
- type LookupSinkOutputArgs
- type LookupSinkResult
- type LookupSinkResultOutput
- func (o LookupSinkResultOutput) Arn() pulumi.StringPtrOutput
- func (LookupSinkResultOutput) ElementType() reflect.Type
- func (o LookupSinkResultOutput) Policy() pulumi.AnyOutput
- func (o LookupSinkResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSinkResultOutput) ToLookupSinkResultOutput() LookupSinkResultOutput
- func (o LookupSinkResultOutput) ToLookupSinkResultOutputWithContext(ctx context.Context) LookupSinkResultOutput
- type Sink
- type SinkArgs
- type SinkInput
- type SinkOutput
- func (o SinkOutput) Arn() pulumi.StringOutput
- func (SinkOutput) ElementType() reflect.Type
- func (o SinkOutput) Name() pulumi.StringOutput
- func (o SinkOutput) Policy() pulumi.AnyOutput
- func (o SinkOutput) Tags() pulumi.StringMapOutput
- func (o SinkOutput) ToSinkOutput() SinkOutput
- func (o SinkOutput) ToSinkOutputWithContext(ctx context.Context) SinkOutput
- type SinkState
Constants ¶
const ( LinkResourceTypeAwsCloudWatchMetric = LinkResourceType("AWS::CloudWatch::Metric") LinkResourceTypeAwsLogsLogGroup = LinkResourceType("AWS::Logs::LogGroup") LinkResourceTypeAwsxRayTrace = LinkResourceType("AWS::XRay::Trace") LinkResourceTypeAwsApplicationInsightsApplication = LinkResourceType("AWS::ApplicationInsights::Application") LinkResourceTypeAwsInternetMonitorMonitor = LinkResourceType("AWS::InternetMonitor::Monitor") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct { pulumi.CustomResourceState // The ARN of the link. For example, `arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789` Arn pulumi.StringOutput `pulumi:"arn"` // The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, `my-account1` . Label pulumi.StringOutput `pulumi:"label"` // 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 as `mariagarcia@example.com` // - `$AccountEmailNoDomain` is an email address without the domain name, such as `mariagarcia` LabelTemplate pulumi.StringPtrOutput `pulumi:"labelTemplate"` // 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. LinkConfiguration LinkConfigurationPtrOutput `pulumi:"linkConfiguration"` // 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` . ResourceTypes LinkResourceTypeArrayOutput `pulumi:"resourceTypes"` // The ARN of the sink in the monitoring account that you want to link to. You can use [ListSinks](https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html) to find the ARNs of sinks. SinkIdentifier pulumi.StringOutput `pulumi:"sinkIdentifier"` // Tags to apply to the link Tags pulumi.StringMapOutput `pulumi:"tags"` }
Definition of AWS::Oam::Link Resource Type
func GetLink ¶
func GetLink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LinkState, opts ...pulumi.ResourceOption) (*Link, error)
GetLink gets an existing Link resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLink ¶
func NewLink(ctx *pulumi.Context, name string, args *LinkArgs, opts ...pulumi.ResourceOption) (*Link, error)
NewLink registers a new resource with the given unique name, arguments, and options.
func (*Link) ElementType ¶
func (*Link) ToLinkOutput ¶
func (i *Link) ToLinkOutput() LinkOutput
func (*Link) ToLinkOutputWithContext ¶
func (i *Link) ToLinkOutputWithContext(ctx context.Context) LinkOutput
type LinkArgs ¶
type LinkArgs struct { // 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 as `mariagarcia@example.com` // - `$AccountEmailNoDomain` is an email address without the domain name, such as `mariagarcia` LabelTemplate pulumi.StringPtrInput // 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. LinkConfiguration LinkConfigurationPtrInput // 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` . ResourceTypes LinkResourceTypeArrayInput // The ARN of the sink in the monitoring account that you want to link to. You can use [ListSinks](https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html) to find the ARNs of sinks. SinkIdentifier pulumi.StringInput // Tags to apply to the link Tags pulumi.StringMapInput }
The set of arguments for constructing a Link resource.
func (LinkArgs) ElementType ¶
type LinkConfiguration ¶ added in v0.103.0
type LinkConfiguration struct { // Use this structure to filter which log groups are to share log events from this source account to the monitoring account. LogGroupConfiguration *LinkFilter `pulumi:"logGroupConfiguration"` // Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account. MetricConfiguration *LinkFilter `pulumi:"metricConfiguration"` }
type LinkConfigurationArgs ¶ added in v0.103.0
type LinkConfigurationArgs struct { // Use this structure to filter which log groups are to share log events from this source account to the monitoring account. LogGroupConfiguration LinkFilterPtrInput `pulumi:"logGroupConfiguration"` // Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account. MetricConfiguration LinkFilterPtrInput `pulumi:"metricConfiguration"` }
func (LinkConfigurationArgs) ElementType ¶ added in v0.103.0
func (LinkConfigurationArgs) ElementType() reflect.Type
func (LinkConfigurationArgs) ToLinkConfigurationOutput ¶ added in v0.103.0
func (i LinkConfigurationArgs) ToLinkConfigurationOutput() LinkConfigurationOutput
func (LinkConfigurationArgs) ToLinkConfigurationOutputWithContext ¶ added in v0.103.0
func (i LinkConfigurationArgs) ToLinkConfigurationOutputWithContext(ctx context.Context) LinkConfigurationOutput
func (LinkConfigurationArgs) ToLinkConfigurationPtrOutput ¶ added in v0.103.0
func (i LinkConfigurationArgs) ToLinkConfigurationPtrOutput() LinkConfigurationPtrOutput
func (LinkConfigurationArgs) ToLinkConfigurationPtrOutputWithContext ¶ added in v0.103.0
func (i LinkConfigurationArgs) ToLinkConfigurationPtrOutputWithContext(ctx context.Context) LinkConfigurationPtrOutput
type LinkConfigurationInput ¶ added in v0.103.0
type LinkConfigurationInput interface { pulumi.Input ToLinkConfigurationOutput() LinkConfigurationOutput ToLinkConfigurationOutputWithContext(context.Context) LinkConfigurationOutput }
LinkConfigurationInput is an input type that accepts LinkConfigurationArgs and LinkConfigurationOutput values. You can construct a concrete instance of `LinkConfigurationInput` via:
LinkConfigurationArgs{...}
type LinkConfigurationOutput ¶ added in v0.103.0
type LinkConfigurationOutput struct{ *pulumi.OutputState }
func (LinkConfigurationOutput) ElementType ¶ added in v0.103.0
func (LinkConfigurationOutput) ElementType() reflect.Type
func (LinkConfigurationOutput) LogGroupConfiguration ¶ added in v0.103.0
func (o LinkConfigurationOutput) LogGroupConfiguration() LinkFilterPtrOutput
Use this structure to filter which log groups are to share log events from this source account to the monitoring account.
func (LinkConfigurationOutput) MetricConfiguration ¶ added in v0.103.0
func (o LinkConfigurationOutput) MetricConfiguration() LinkFilterPtrOutput
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
func (LinkConfigurationOutput) ToLinkConfigurationOutput ¶ added in v0.103.0
func (o LinkConfigurationOutput) ToLinkConfigurationOutput() LinkConfigurationOutput
func (LinkConfigurationOutput) ToLinkConfigurationOutputWithContext ¶ added in v0.103.0
func (o LinkConfigurationOutput) ToLinkConfigurationOutputWithContext(ctx context.Context) LinkConfigurationOutput
func (LinkConfigurationOutput) ToLinkConfigurationPtrOutput ¶ added in v0.103.0
func (o LinkConfigurationOutput) ToLinkConfigurationPtrOutput() LinkConfigurationPtrOutput
func (LinkConfigurationOutput) ToLinkConfigurationPtrOutputWithContext ¶ added in v0.103.0
func (o LinkConfigurationOutput) ToLinkConfigurationPtrOutputWithContext(ctx context.Context) LinkConfigurationPtrOutput
type LinkConfigurationPtrInput ¶ added in v0.103.0
type LinkConfigurationPtrInput interface { pulumi.Input ToLinkConfigurationPtrOutput() LinkConfigurationPtrOutput ToLinkConfigurationPtrOutputWithContext(context.Context) LinkConfigurationPtrOutput }
LinkConfigurationPtrInput is an input type that accepts LinkConfigurationArgs, LinkConfigurationPtr and LinkConfigurationPtrOutput values. You can construct a concrete instance of `LinkConfigurationPtrInput` via:
LinkConfigurationArgs{...} or: nil
func LinkConfigurationPtr ¶ added in v0.103.0
func LinkConfigurationPtr(v *LinkConfigurationArgs) LinkConfigurationPtrInput
type LinkConfigurationPtrOutput ¶ added in v0.103.0
type LinkConfigurationPtrOutput struct{ *pulumi.OutputState }
func (LinkConfigurationPtrOutput) Elem ¶ added in v0.103.0
func (o LinkConfigurationPtrOutput) Elem() LinkConfigurationOutput
func (LinkConfigurationPtrOutput) ElementType ¶ added in v0.103.0
func (LinkConfigurationPtrOutput) ElementType() reflect.Type
func (LinkConfigurationPtrOutput) LogGroupConfiguration ¶ added in v0.103.0
func (o LinkConfigurationPtrOutput) LogGroupConfiguration() LinkFilterPtrOutput
Use this structure to filter which log groups are to share log events from this source account to the monitoring account.
func (LinkConfigurationPtrOutput) MetricConfiguration ¶ added in v0.103.0
func (o LinkConfigurationPtrOutput) MetricConfiguration() LinkFilterPtrOutput
Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
func (LinkConfigurationPtrOutput) ToLinkConfigurationPtrOutput ¶ added in v0.103.0
func (o LinkConfigurationPtrOutput) ToLinkConfigurationPtrOutput() LinkConfigurationPtrOutput
func (LinkConfigurationPtrOutput) ToLinkConfigurationPtrOutputWithContext ¶ added in v0.103.0
func (o LinkConfigurationPtrOutput) ToLinkConfigurationPtrOutputWithContext(ctx context.Context) LinkConfigurationPtrOutput
type LinkFilter ¶ added in v0.103.0
type LinkFilter struct { // When used in `MetricConfiguration` this field specifies which metric namespaces are to be shared with the monitoring account // // When used in `LogGroupConfiguration` this field specifies which log groups are to share their log events with the monitoring account. Use the term `LogGroupName` and one or more of the following operands. // // Use single quotation marks (') around log group names and metric namespaces. // // The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are `AND` and `OR` . // // - `=` and `!=` // - `AND` // - `OR` // - `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the end of the string that you want to search for and include. // - `IN` and `NOT IN` , using parentheses `( )` // // Examples: // // - `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such as custom namespaces. // - `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces. // - `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and your custom namespaces. // - `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with names `This-Log-Group` and `Other-Log-Group` . // - `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . // - `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log groups that have names that start with `aws/lambda/` or `AWSLogs` . // // > If you are updating a link that uses filters, you can specify `*` as the only value for the `filter` parameter to delete the filter and share all log groups with the monitoring account. Filter string `pulumi:"filter"` }
type LinkFilterArgs ¶ added in v0.103.0
type LinkFilterArgs struct { // When used in `MetricConfiguration` this field specifies which metric namespaces are to be shared with the monitoring account // // When used in `LogGroupConfiguration` this field specifies which log groups are to share their log events with the monitoring account. Use the term `LogGroupName` and one or more of the following operands. // // Use single quotation marks (') around log group names and metric namespaces. // // The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are `AND` and `OR` . // // - `=` and `!=` // - `AND` // - `OR` // - `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the end of the string that you want to search for and include. // - `IN` and `NOT IN` , using parentheses `( )` // // Examples: // // - `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such as custom namespaces. // - `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces. // - `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and your custom namespaces. // - `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with names `This-Log-Group` and `Other-Log-Group` . // - `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . // - `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log groups that have names that start with `aws/lambda/` or `AWSLogs` . // // > If you are updating a link that uses filters, you can specify `*` as the only value for the `filter` parameter to delete the filter and share all log groups with the monitoring account. Filter pulumi.StringInput `pulumi:"filter"` }
func (LinkFilterArgs) ElementType ¶ added in v0.103.0
func (LinkFilterArgs) ElementType() reflect.Type
func (LinkFilterArgs) ToLinkFilterOutput ¶ added in v0.103.0
func (i LinkFilterArgs) ToLinkFilterOutput() LinkFilterOutput
func (LinkFilterArgs) ToLinkFilterOutputWithContext ¶ added in v0.103.0
func (i LinkFilterArgs) ToLinkFilterOutputWithContext(ctx context.Context) LinkFilterOutput
func (LinkFilterArgs) ToLinkFilterPtrOutput ¶ added in v0.103.0
func (i LinkFilterArgs) ToLinkFilterPtrOutput() LinkFilterPtrOutput
func (LinkFilterArgs) ToLinkFilterPtrOutputWithContext ¶ added in v0.103.0
func (i LinkFilterArgs) ToLinkFilterPtrOutputWithContext(ctx context.Context) LinkFilterPtrOutput
type LinkFilterInput ¶ added in v0.103.0
type LinkFilterInput interface { pulumi.Input ToLinkFilterOutput() LinkFilterOutput ToLinkFilterOutputWithContext(context.Context) LinkFilterOutput }
LinkFilterInput is an input type that accepts LinkFilterArgs and LinkFilterOutput values. You can construct a concrete instance of `LinkFilterInput` via:
LinkFilterArgs{...}
type LinkFilterOutput ¶ added in v0.103.0
type LinkFilterOutput struct{ *pulumi.OutputState }
func (LinkFilterOutput) ElementType ¶ added in v0.103.0
func (LinkFilterOutput) ElementType() reflect.Type
func (LinkFilterOutput) Filter ¶ added in v0.103.0
func (o LinkFilterOutput) Filter() pulumi.StringOutput
When used in `MetricConfiguration` this field specifies which metric namespaces are to be shared with the monitoring account
When used in `LogGroupConfiguration` this field specifies which log groups are to share their log events with the monitoring account. Use the term `LogGroupName` and one or more of the following operands.
Use single quotation marks (') around log group names and metric namespaces.
The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are `AND` and `OR` .
- `=` and `!=` - `AND` - `OR` - `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the end of the string that you want to search for and include. - `IN` and `NOT IN` , using parentheses `( )`
Examples:
- `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such as custom namespaces. - `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces. - `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and your custom namespaces. - `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with names `This-Log-Group` and `Other-Log-Group` . - `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . - `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log groups that have names that start with `aws/lambda/` or `AWSLogs` .
> If you are updating a link that uses filters, you can specify `*` as the only value for the `filter` parameter to delete the filter and share all log groups with the monitoring account.
func (LinkFilterOutput) ToLinkFilterOutput ¶ added in v0.103.0
func (o LinkFilterOutput) ToLinkFilterOutput() LinkFilterOutput
func (LinkFilterOutput) ToLinkFilterOutputWithContext ¶ added in v0.103.0
func (o LinkFilterOutput) ToLinkFilterOutputWithContext(ctx context.Context) LinkFilterOutput
func (LinkFilterOutput) ToLinkFilterPtrOutput ¶ added in v0.103.0
func (o LinkFilterOutput) ToLinkFilterPtrOutput() LinkFilterPtrOutput
func (LinkFilterOutput) ToLinkFilterPtrOutputWithContext ¶ added in v0.103.0
func (o LinkFilterOutput) ToLinkFilterPtrOutputWithContext(ctx context.Context) LinkFilterPtrOutput
type LinkFilterPtrInput ¶ added in v0.103.0
type LinkFilterPtrInput interface { pulumi.Input ToLinkFilterPtrOutput() LinkFilterPtrOutput ToLinkFilterPtrOutputWithContext(context.Context) LinkFilterPtrOutput }
LinkFilterPtrInput is an input type that accepts LinkFilterArgs, LinkFilterPtr and LinkFilterPtrOutput values. You can construct a concrete instance of `LinkFilterPtrInput` via:
LinkFilterArgs{...} or: nil
func LinkFilterPtr ¶ added in v0.103.0
func LinkFilterPtr(v *LinkFilterArgs) LinkFilterPtrInput
type LinkFilterPtrOutput ¶ added in v0.103.0
type LinkFilterPtrOutput struct{ *pulumi.OutputState }
func (LinkFilterPtrOutput) Elem ¶ added in v0.103.0
func (o LinkFilterPtrOutput) Elem() LinkFilterOutput
func (LinkFilterPtrOutput) ElementType ¶ added in v0.103.0
func (LinkFilterPtrOutput) ElementType() reflect.Type
func (LinkFilterPtrOutput) Filter ¶ added in v0.103.0
func (o LinkFilterPtrOutput) Filter() pulumi.StringPtrOutput
When used in `MetricConfiguration` this field specifies which metric namespaces are to be shared with the monitoring account
When used in `LogGroupConfiguration` this field specifies which log groups are to share their log events with the monitoring account. Use the term `LogGroupName` and one or more of the following operands.
Use single quotation marks (') around log group names and metric namespaces.
The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are `AND` and `OR` .
- `=` and `!=` - `AND` - `OR` - `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the end of the string that you want to search for and include. - `IN` and `NOT IN` , using parentheses `( )`
Examples:
- `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such as custom namespaces. - `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces. - `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and your custom namespaces. - `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with names `This-Log-Group` and `Other-Log-Group` . - `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . - `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log groups that have names that start with `aws/lambda/` or `AWSLogs` .
> If you are updating a link that uses filters, you can specify `*` as the only value for the `filter` parameter to delete the filter and share all log groups with the monitoring account.
func (LinkFilterPtrOutput) ToLinkFilterPtrOutput ¶ added in v0.103.0
func (o LinkFilterPtrOutput) ToLinkFilterPtrOutput() LinkFilterPtrOutput
func (LinkFilterPtrOutput) ToLinkFilterPtrOutputWithContext ¶ added in v0.103.0
func (o LinkFilterPtrOutput) ToLinkFilterPtrOutputWithContext(ctx context.Context) LinkFilterPtrOutput
type LinkInput ¶
type LinkInput interface { pulumi.Input ToLinkOutput() LinkOutput ToLinkOutputWithContext(ctx context.Context) LinkOutput }
type LinkOutput ¶
type LinkOutput struct{ *pulumi.OutputState }
func (LinkOutput) Arn ¶
func (o LinkOutput) Arn() pulumi.StringOutput
The ARN of the link. For example, `arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789`
func (LinkOutput) ElementType ¶
func (LinkOutput) ElementType() reflect.Type
func (LinkOutput) Label ¶
func (o LinkOutput) Label() pulumi.StringOutput
The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, `my-account1` .
func (LinkOutput) LabelTemplate ¶
func (o LinkOutput) LabelTemplate() pulumi.StringPtrOutput
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 as `mariagarcia@example.com` - `$AccountEmailNoDomain` is an email address without the domain name, such as `mariagarcia`
func (LinkOutput) LinkConfiguration ¶ added in v0.103.0
func (o LinkOutput) LinkConfiguration() LinkConfigurationPtrOutput
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.
func (LinkOutput) ResourceTypes ¶
func (o LinkOutput) ResourceTypes() LinkResourceTypeArrayOutput
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` .
func (LinkOutput) SinkIdentifier ¶
func (o LinkOutput) SinkIdentifier() pulumi.StringOutput
The ARN of the sink in the monitoring account that you want to link to. You can use [ListSinks](https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html) to find the ARNs of sinks.
func (LinkOutput) Tags ¶
func (o LinkOutput) Tags() pulumi.StringMapOutput
Tags to apply to the link
func (LinkOutput) ToLinkOutput ¶
func (o LinkOutput) ToLinkOutput() LinkOutput
func (LinkOutput) ToLinkOutputWithContext ¶
func (o LinkOutput) ToLinkOutputWithContext(ctx context.Context) LinkOutput
type LinkResourceType ¶
type LinkResourceType string
func (LinkResourceType) ElementType ¶
func (LinkResourceType) ElementType() reflect.Type
func (LinkResourceType) ToLinkResourceTypeOutput ¶
func (e LinkResourceType) ToLinkResourceTypeOutput() LinkResourceTypeOutput
func (LinkResourceType) ToLinkResourceTypeOutputWithContext ¶
func (e LinkResourceType) ToLinkResourceTypeOutputWithContext(ctx context.Context) LinkResourceTypeOutput
func (LinkResourceType) ToLinkResourceTypePtrOutput ¶
func (e LinkResourceType) ToLinkResourceTypePtrOutput() LinkResourceTypePtrOutput
func (LinkResourceType) ToLinkResourceTypePtrOutputWithContext ¶
func (e LinkResourceType) ToLinkResourceTypePtrOutputWithContext(ctx context.Context) LinkResourceTypePtrOutput
func (LinkResourceType) ToStringOutput ¶
func (e LinkResourceType) ToStringOutput() pulumi.StringOutput
func (LinkResourceType) ToStringOutputWithContext ¶
func (e LinkResourceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (LinkResourceType) ToStringPtrOutput ¶
func (e LinkResourceType) ToStringPtrOutput() pulumi.StringPtrOutput
func (LinkResourceType) ToStringPtrOutputWithContext ¶
func (e LinkResourceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LinkResourceTypeArray ¶
type LinkResourceTypeArray []LinkResourceType
func (LinkResourceTypeArray) ElementType ¶
func (LinkResourceTypeArray) ElementType() reflect.Type
func (LinkResourceTypeArray) ToLinkResourceTypeArrayOutput ¶
func (i LinkResourceTypeArray) ToLinkResourceTypeArrayOutput() LinkResourceTypeArrayOutput
func (LinkResourceTypeArray) ToLinkResourceTypeArrayOutputWithContext ¶
func (i LinkResourceTypeArray) ToLinkResourceTypeArrayOutputWithContext(ctx context.Context) LinkResourceTypeArrayOutput
type LinkResourceTypeArrayInput ¶
type LinkResourceTypeArrayInput interface { pulumi.Input ToLinkResourceTypeArrayOutput() LinkResourceTypeArrayOutput ToLinkResourceTypeArrayOutputWithContext(context.Context) LinkResourceTypeArrayOutput }
LinkResourceTypeArrayInput is an input type that accepts LinkResourceTypeArray and LinkResourceTypeArrayOutput values. You can construct a concrete instance of `LinkResourceTypeArrayInput` via:
LinkResourceTypeArray{ LinkResourceTypeArgs{...} }
type LinkResourceTypeArrayOutput ¶
type LinkResourceTypeArrayOutput struct{ *pulumi.OutputState }
func (LinkResourceTypeArrayOutput) ElementType ¶
func (LinkResourceTypeArrayOutput) ElementType() reflect.Type
func (LinkResourceTypeArrayOutput) Index ¶
func (o LinkResourceTypeArrayOutput) Index(i pulumi.IntInput) LinkResourceTypeOutput
func (LinkResourceTypeArrayOutput) ToLinkResourceTypeArrayOutput ¶
func (o LinkResourceTypeArrayOutput) ToLinkResourceTypeArrayOutput() LinkResourceTypeArrayOutput
func (LinkResourceTypeArrayOutput) ToLinkResourceTypeArrayOutputWithContext ¶
func (o LinkResourceTypeArrayOutput) ToLinkResourceTypeArrayOutputWithContext(ctx context.Context) LinkResourceTypeArrayOutput
type LinkResourceTypeInput ¶
type LinkResourceTypeInput interface { pulumi.Input ToLinkResourceTypeOutput() LinkResourceTypeOutput ToLinkResourceTypeOutputWithContext(context.Context) LinkResourceTypeOutput }
LinkResourceTypeInput is an input type that accepts values of the LinkResourceType enum A concrete instance of `LinkResourceTypeInput` can be one of the following:
LinkResourceTypeAwsCloudWatchMetric LinkResourceTypeAwsLogsLogGroup LinkResourceTypeAwsxRayTrace LinkResourceTypeAwsApplicationInsightsApplication LinkResourceTypeAwsInternetMonitorMonitor
type LinkResourceTypeOutput ¶
type LinkResourceTypeOutput struct{ *pulumi.OutputState }
func (LinkResourceTypeOutput) ElementType ¶
func (LinkResourceTypeOutput) ElementType() reflect.Type
func (LinkResourceTypeOutput) ToLinkResourceTypeOutput ¶
func (o LinkResourceTypeOutput) ToLinkResourceTypeOutput() LinkResourceTypeOutput
func (LinkResourceTypeOutput) ToLinkResourceTypeOutputWithContext ¶
func (o LinkResourceTypeOutput) ToLinkResourceTypeOutputWithContext(ctx context.Context) LinkResourceTypeOutput
func (LinkResourceTypeOutput) ToLinkResourceTypePtrOutput ¶
func (o LinkResourceTypeOutput) ToLinkResourceTypePtrOutput() LinkResourceTypePtrOutput
func (LinkResourceTypeOutput) ToLinkResourceTypePtrOutputWithContext ¶
func (o LinkResourceTypeOutput) ToLinkResourceTypePtrOutputWithContext(ctx context.Context) LinkResourceTypePtrOutput
func (LinkResourceTypeOutput) ToStringOutput ¶
func (o LinkResourceTypeOutput) ToStringOutput() pulumi.StringOutput
func (LinkResourceTypeOutput) ToStringOutputWithContext ¶
func (o LinkResourceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (LinkResourceTypeOutput) ToStringPtrOutput ¶
func (o LinkResourceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (LinkResourceTypeOutput) ToStringPtrOutputWithContext ¶
func (o LinkResourceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LinkResourceTypePtrInput ¶
type LinkResourceTypePtrInput interface { pulumi.Input ToLinkResourceTypePtrOutput() LinkResourceTypePtrOutput ToLinkResourceTypePtrOutputWithContext(context.Context) LinkResourceTypePtrOutput }
func LinkResourceTypePtr ¶
func LinkResourceTypePtr(v string) LinkResourceTypePtrInput
type LinkResourceTypePtrOutput ¶
type LinkResourceTypePtrOutput struct{ *pulumi.OutputState }
func (LinkResourceTypePtrOutput) Elem ¶
func (o LinkResourceTypePtrOutput) Elem() LinkResourceTypeOutput
func (LinkResourceTypePtrOutput) ElementType ¶
func (LinkResourceTypePtrOutput) ElementType() reflect.Type
func (LinkResourceTypePtrOutput) ToLinkResourceTypePtrOutput ¶
func (o LinkResourceTypePtrOutput) ToLinkResourceTypePtrOutput() LinkResourceTypePtrOutput
func (LinkResourceTypePtrOutput) ToLinkResourceTypePtrOutputWithContext ¶
func (o LinkResourceTypePtrOutput) ToLinkResourceTypePtrOutputWithContext(ctx context.Context) LinkResourceTypePtrOutput
func (LinkResourceTypePtrOutput) ToStringPtrOutput ¶
func (o LinkResourceTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (LinkResourceTypePtrOutput) ToStringPtrOutputWithContext ¶
func (o LinkResourceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LookupLinkArgs ¶
type LookupLinkArgs struct { // The ARN of the link. For example, `arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789` Arn string `pulumi:"arn"` }
type LookupLinkOutputArgs ¶
type LookupLinkOutputArgs struct { // The ARN of the link. For example, `arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789` Arn pulumi.StringInput `pulumi:"arn"` }
func (LookupLinkOutputArgs) ElementType ¶
func (LookupLinkOutputArgs) ElementType() reflect.Type
type LookupLinkResult ¶
type LookupLinkResult struct { // The ARN of the link. For example, `arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789` Arn *string `pulumi:"arn"` // The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, `my-account1` . Label *string `pulumi:"label"` // 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. LinkConfiguration *LinkConfiguration `pulumi:"linkConfiguration"` // 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` . ResourceTypes []LinkResourceType `pulumi:"resourceTypes"` // Tags to apply to the link Tags map[string]string `pulumi:"tags"` }
func LookupLink ¶
func LookupLink(ctx *pulumi.Context, args *LookupLinkArgs, opts ...pulumi.InvokeOption) (*LookupLinkResult, error)
Definition of AWS::Oam::Link Resource Type
type LookupLinkResultOutput ¶
type LookupLinkResultOutput struct{ *pulumi.OutputState }
func LookupLinkOutput ¶
func LookupLinkOutput(ctx *pulumi.Context, args LookupLinkOutputArgs, opts ...pulumi.InvokeOption) LookupLinkResultOutput
func (LookupLinkResultOutput) Arn ¶
func (o LookupLinkResultOutput) Arn() pulumi.StringPtrOutput
The ARN of the link. For example, `arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789`
func (LookupLinkResultOutput) ElementType ¶
func (LookupLinkResultOutput) ElementType() reflect.Type
func (LookupLinkResultOutput) Label ¶
func (o LookupLinkResultOutput) Label() pulumi.StringPtrOutput
The friendly human-readable name used to identify this source account when it is viewed from the monitoring account. For example, `my-account1` .
func (LookupLinkResultOutput) LinkConfiguration ¶ added in v0.103.0
func (o LookupLinkResultOutput) LinkConfiguration() LinkConfigurationPtrOutput
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.
func (LookupLinkResultOutput) ResourceTypes ¶
func (o LookupLinkResultOutput) ResourceTypes() LinkResourceTypeArrayOutput
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` .
func (LookupLinkResultOutput) Tags ¶
func (o LookupLinkResultOutput) Tags() pulumi.StringMapOutput
Tags to apply to the link
func (LookupLinkResultOutput) ToLookupLinkResultOutput ¶
func (o LookupLinkResultOutput) ToLookupLinkResultOutput() LookupLinkResultOutput
func (LookupLinkResultOutput) ToLookupLinkResultOutputWithContext ¶
func (o LookupLinkResultOutput) ToLookupLinkResultOutputWithContext(ctx context.Context) LookupLinkResultOutput
type LookupSinkArgs ¶
type LookupSinkArgs struct { // The Amazon resource name (ARN) of the ObservabilityAccessManager Sink Arn string `pulumi:"arn"` }
type LookupSinkOutputArgs ¶
type LookupSinkOutputArgs struct { // The Amazon resource name (ARN) of the ObservabilityAccessManager Sink Arn pulumi.StringInput `pulumi:"arn"` }
func (LookupSinkOutputArgs) ElementType ¶
func (LookupSinkOutputArgs) ElementType() reflect.Type
type LookupSinkResult ¶
type LookupSinkResult struct { // The Amazon resource name (ARN) of the ObservabilityAccessManager Sink Arn *string `pulumi:"arn"` // The policy of this ObservabilityAccessManager Sink. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Oam::Sink` for more information about the expected schema for this property. Policy interface{} `pulumi:"policy"` // Tags to apply to the sink Tags map[string]string `pulumi:"tags"` }
func LookupSink ¶
func LookupSink(ctx *pulumi.Context, args *LookupSinkArgs, opts ...pulumi.InvokeOption) (*LookupSinkResult, error)
Resource Type definition for AWS::Oam::Sink
type LookupSinkResultOutput ¶
type LookupSinkResultOutput struct{ *pulumi.OutputState }
func LookupSinkOutput ¶
func LookupSinkOutput(ctx *pulumi.Context, args LookupSinkOutputArgs, opts ...pulumi.InvokeOption) LookupSinkResultOutput
func (LookupSinkResultOutput) Arn ¶
func (o LookupSinkResultOutput) Arn() pulumi.StringPtrOutput
The Amazon resource name (ARN) of the ObservabilityAccessManager Sink
func (LookupSinkResultOutput) ElementType ¶
func (LookupSinkResultOutput) ElementType() reflect.Type
func (LookupSinkResultOutput) Policy ¶
func (o LookupSinkResultOutput) Policy() pulumi.AnyOutput
The policy of this ObservabilityAccessManager Sink.
Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Oam::Sink` for more information about the expected schema for this property.
func (LookupSinkResultOutput) Tags ¶
func (o LookupSinkResultOutput) Tags() pulumi.StringMapOutput
Tags to apply to the sink
func (LookupSinkResultOutput) ToLookupSinkResultOutput ¶
func (o LookupSinkResultOutput) ToLookupSinkResultOutput() LookupSinkResultOutput
func (LookupSinkResultOutput) ToLookupSinkResultOutputWithContext ¶
func (o LookupSinkResultOutput) ToLookupSinkResultOutputWithContext(ctx context.Context) LookupSinkResultOutput
type Sink ¶
type Sink struct { pulumi.CustomResourceState // The Amazon resource name (ARN) of the ObservabilityAccessManager Sink Arn pulumi.StringOutput `pulumi:"arn"` // The name of the ObservabilityAccessManager Sink. Name pulumi.StringOutput `pulumi:"name"` // The policy of this ObservabilityAccessManager Sink. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Oam::Sink` for more information about the expected schema for this property. Policy pulumi.AnyOutput `pulumi:"policy"` // Tags to apply to the sink Tags pulumi.StringMapOutput `pulumi:"tags"` }
Resource Type definition for AWS::Oam::Sink
func GetSink ¶
func GetSink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SinkState, opts ...pulumi.ResourceOption) (*Sink, error)
GetSink gets an existing Sink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSink ¶
func NewSink(ctx *pulumi.Context, name string, args *SinkArgs, opts ...pulumi.ResourceOption) (*Sink, error)
NewSink registers a new resource with the given unique name, arguments, and options.
func (*Sink) ElementType ¶
func (*Sink) ToSinkOutput ¶
func (i *Sink) ToSinkOutput() SinkOutput
func (*Sink) ToSinkOutputWithContext ¶
func (i *Sink) ToSinkOutputWithContext(ctx context.Context) SinkOutput
type SinkArgs ¶
type SinkArgs struct { // The name of the ObservabilityAccessManager Sink. Name pulumi.StringPtrInput // The policy of this ObservabilityAccessManager Sink. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Oam::Sink` for more information about the expected schema for this property. Policy pulumi.Input // Tags to apply to the sink Tags pulumi.StringMapInput }
The set of arguments for constructing a Sink resource.
func (SinkArgs) ElementType ¶
type SinkInput ¶
type SinkInput interface { pulumi.Input ToSinkOutput() SinkOutput ToSinkOutputWithContext(ctx context.Context) SinkOutput }
type SinkOutput ¶
type SinkOutput struct{ *pulumi.OutputState }
func (SinkOutput) Arn ¶
func (o SinkOutput) Arn() pulumi.StringOutput
The Amazon resource name (ARN) of the ObservabilityAccessManager Sink
func (SinkOutput) ElementType ¶
func (SinkOutput) ElementType() reflect.Type
func (SinkOutput) Name ¶
func (o SinkOutput) Name() pulumi.StringOutput
The name of the ObservabilityAccessManager Sink.
func (SinkOutput) Policy ¶
func (o SinkOutput) Policy() pulumi.AnyOutput
The policy of this ObservabilityAccessManager Sink.
Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Oam::Sink` for more information about the expected schema for this property.
func (SinkOutput) Tags ¶
func (o SinkOutput) Tags() pulumi.StringMapOutput
Tags to apply to the sink
func (SinkOutput) ToSinkOutput ¶
func (o SinkOutput) ToSinkOutput() SinkOutput
func (SinkOutput) ToSinkOutputWithContext ¶
func (o SinkOutput) ToSinkOutputWithContext(ctx context.Context) SinkOutput