We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.cloudwatch.getMetricStream
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
Resource Type definition for Metric Stream
Using getMetricStream
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 getMetricStream(args: GetMetricStreamArgs, opts?: InvokeOptions): Promise<GetMetricStreamResult>
function getMetricStreamOutput(args: GetMetricStreamOutputArgs, opts?: InvokeOptions): Output<GetMetricStreamResult>
def get_metric_stream(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMetricStreamResult
def get_metric_stream_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMetricStreamResult]
func LookupMetricStream(ctx *Context, args *LookupMetricStreamArgs, opts ...InvokeOption) (*LookupMetricStreamResult, error)
func LookupMetricStreamOutput(ctx *Context, args *LookupMetricStreamOutputArgs, opts ...InvokeOption) LookupMetricStreamResultOutput
> Note: This function is named LookupMetricStream
in the Go SDK.
public static class GetMetricStream
{
public static Task<GetMetricStreamResult> InvokeAsync(GetMetricStreamArgs args, InvokeOptions? opts = null)
public static Output<GetMetricStreamResult> Invoke(GetMetricStreamInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMetricStreamResult> getMetricStream(GetMetricStreamArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudwatch:getMetricStream
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the metric stream.
- Name string
- Name of the metric stream.
- name String
- Name of the metric stream.
- name string
- Name of the metric stream.
- name str
- Name of the metric stream.
- name String
- Name of the metric stream.
getMetricStream Result
The following output properties are available:
- Arn string
- Amazon Resource Name of the metric stream.
- Creation
Date string - The date of creation of the metric stream.
- Exclude
Filters List<Pulumi.Aws Native. Cloud Watch. Outputs. Metric Stream Filter> - Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- Firehose
Arn string - The ARN of the Kinesis Firehose where to stream the data.
- Include
Filters List<Pulumi.Aws Native. Cloud Watch. Outputs. Metric Stream Filter> - Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- Include
Linked boolAccounts Metrics - If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false.
- Last
Update stringDate - The date of the last update of the metric stream.
- Output
Format string - The output format of the data streamed to the Kinesis Firehose.
- Role
Arn string - The ARN of the role that provides access to the Kinesis Firehose.
- State string
- Displays the state of the Metric Stream.
- Statistics
Configurations List<Pulumi.Aws Native. Cloud Watch. Outputs. Metric Stream Statistics Configuration> - By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.
- Arn string
- Amazon Resource Name of the metric stream.
- Creation
Date string - The date of creation of the metric stream.
- Exclude
Filters []MetricStream Filter - Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- Firehose
Arn string - The ARN of the Kinesis Firehose where to stream the data.
- Include
Filters []MetricStream Filter - Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- Include
Linked boolAccounts Metrics - If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false.
- Last
Update stringDate - The date of the last update of the metric stream.
- Output
Format string - The output format of the data streamed to the Kinesis Firehose.
- Role
Arn string - The ARN of the role that provides access to the Kinesis Firehose.
- State string
- Displays the state of the Metric Stream.
- Statistics
Configurations []MetricStream Statistics Configuration - By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.
- arn String
- Amazon Resource Name of the metric stream.
- creation
Date String - The date of creation of the metric stream.
- exclude
Filters List<MetricStream Filter> - Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- firehose
Arn String - The ARN of the Kinesis Firehose where to stream the data.
- include
Filters List<MetricStream Filter> - Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- include
Linked BooleanAccounts Metrics - If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false.
- last
Update StringDate - The date of the last update of the metric stream.
- output
Format String - The output format of the data streamed to the Kinesis Firehose.
- role
Arn String - The ARN of the role that provides access to the Kinesis Firehose.
- state String
- Displays the state of the Metric Stream.
- statistics
Configurations List<MetricStream Statistics Configuration> - By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.
- arn string
- Amazon Resource Name of the metric stream.
- creation
Date string - The date of creation of the metric stream.
- exclude
Filters MetricStream Filter[] - Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- firehose
Arn string - The ARN of the Kinesis Firehose where to stream the data.
- include
Filters MetricStream Filter[] - Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- include
Linked booleanAccounts Metrics - If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false.
- last
Update stringDate - The date of the last update of the metric stream.
- output
Format string - The output format of the data streamed to the Kinesis Firehose.
- role
Arn string - The ARN of the role that provides access to the Kinesis Firehose.
- state string
- Displays the state of the Metric Stream.
- statistics
Configurations MetricStream Statistics Configuration[] - By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.
- arn str
- Amazon Resource Name of the metric stream.
- creation_
date str - The date of creation of the metric stream.
- exclude_
filters Sequence[MetricStream Filter] - Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- firehose_
arn str - The ARN of the Kinesis Firehose where to stream the data.
- include_
filters Sequence[MetricStream Filter] - Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- include_
linked_ boolaccounts_ metrics - If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false.
- last_
update_ strdate - The date of the last update of the metric stream.
- output_
format str - The output format of the data streamed to the Kinesis Firehose.
- role_
arn str - The ARN of the role that provides access to the Kinesis Firehose.
- state str
- Displays the state of the Metric Stream.
- statistics_
configurations Sequence[MetricStream Statistics Configuration] - By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.
- arn String
- Amazon Resource Name of the metric stream.
- creation
Date String - The date of creation of the metric stream.
- exclude
Filters List<Property Map> - Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- firehose
Arn String - The ARN of the Kinesis Firehose where to stream the data.
- include
Filters List<Property Map> - Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null.
- include
Linked BooleanAccounts Metrics - If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false.
- last
Update StringDate - The date of the last update of the metric stream.
- output
Format String - The output format of the data streamed to the Kinesis Firehose.
- role
Arn String - The ARN of the role that provides access to the Kinesis Firehose.
- state String
- Displays the state of the Metric Stream.
- statistics
Configurations List<Property Map> - By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.
Supporting Types
MetricStreamFilter
- Namespace string
- Only metrics with Namespace matching this value will be streamed.
- Metric
Names List<string> - Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.
- Namespace string
- Only metrics with Namespace matching this value will be streamed.
- Metric
Names []string - Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.
- namespace String
- Only metrics with Namespace matching this value will be streamed.
- metric
Names List<String> - Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.
- namespace string
- Only metrics with Namespace matching this value will be streamed.
- metric
Names string[] - Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.
- namespace str
- Only metrics with Namespace matching this value will be streamed.
- metric_
names Sequence[str] - Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.
- namespace String
- Only metrics with Namespace matching this value will be streamed.
- metric
Names List<String> - Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.
MetricStreamStatisticsConfiguration
- Additional
Statistics List<string> - The additional statistics to stream for the metrics listed in IncludeMetrics.
- Include
Metrics List<Pulumi.Aws Native. Cloud Watch. Inputs. Metric Stream Statistics Metric> - An array that defines the metrics that are to have additional statistics streamed.
- Additional
Statistics []string - The additional statistics to stream for the metrics listed in IncludeMetrics.
- Include
Metrics []MetricStream Statistics Metric - An array that defines the metrics that are to have additional statistics streamed.
- additional
Statistics List<String> - The additional statistics to stream for the metrics listed in IncludeMetrics.
- include
Metrics List<MetricStream Statistics Metric> - An array that defines the metrics that are to have additional statistics streamed.
- additional
Statistics string[] - The additional statistics to stream for the metrics listed in IncludeMetrics.
- include
Metrics MetricStream Statistics Metric[] - An array that defines the metrics that are to have additional statistics streamed.
- additional_
statistics Sequence[str] - The additional statistics to stream for the metrics listed in IncludeMetrics.
- include_
metrics Sequence[MetricStream Statistics Metric] - An array that defines the metrics that are to have additional statistics streamed.
- additional
Statistics List<String> - The additional statistics to stream for the metrics listed in IncludeMetrics.
- include
Metrics List<Property Map> - An array that defines the metrics that are to have additional statistics streamed.
MetricStreamStatisticsMetric
- Metric
Name string - The name of the metric.
- Namespace string
- The namespace of the metric.
- Metric
Name string - The name of the metric.
- Namespace string
- The namespace of the metric.
- metric
Name String - The name of the metric.
- namespace String
- The namespace of the metric.
- metric
Name string - The name of the metric.
- namespace string
- The namespace of the metric.
- metric_
name str - The name of the metric.
- namespace str
- The namespace of the metric.
- metric
Name String - The name of the metric.
- namespace String
- The namespace of the metric.
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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi