1. Packages
  2. AWS Native
  3. API Docs
  4. cloudfront
  5. getMonitoringSubscription

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.cloudfront.getMonitoringSubscription

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Resource Type definition for AWS::CloudFront::MonitoringSubscription

    Using getMonitoringSubscription

    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 getMonitoringSubscription(args: GetMonitoringSubscriptionArgs, opts?: InvokeOptions): Promise<GetMonitoringSubscriptionResult>
    function getMonitoringSubscriptionOutput(args: GetMonitoringSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetMonitoringSubscriptionResult>
    def get_monitoring_subscription(distribution_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMonitoringSubscriptionResult
    def get_monitoring_subscription_output(distribution_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetMonitoringSubscriptionResult]
    func LookupMonitoringSubscription(ctx *Context, args *LookupMonitoringSubscriptionArgs, opts ...InvokeOption) (*LookupMonitoringSubscriptionResult, error)
    func LookupMonitoringSubscriptionOutput(ctx *Context, args *LookupMonitoringSubscriptionOutputArgs, opts ...InvokeOption) LookupMonitoringSubscriptionResultOutput

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

    public static class GetMonitoringSubscription 
    {
        public static Task<GetMonitoringSubscriptionResult> InvokeAsync(GetMonitoringSubscriptionArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitoringSubscriptionResult> Invoke(GetMonitoringSubscriptionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitoringSubscriptionResult> getMonitoringSubscription(GetMonitoringSubscriptionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:cloudfront:getMonitoringSubscription
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DistributionId string
    The ID of the distribution that you are enabling metrics for.
    DistributionId string
    The ID of the distribution that you are enabling metrics for.
    distributionId String
    The ID of the distribution that you are enabling metrics for.
    distributionId string
    The ID of the distribution that you are enabling metrics for.
    distribution_id str
    The ID of the distribution that you are enabling metrics for.
    distributionId String
    The ID of the distribution that you are enabling metrics for.

    getMonitoringSubscription Result

    The following output properties are available:

    MonitoringSubscriptionValue Pulumi.AwsNative.CloudFront.Outputs.MonitoringSubscription
    A subscription configuration for additional CloudWatch metrics.
    MonitoringSubscription MonitoringSubscriptionType
    A subscription configuration for additional CloudWatch metrics.
    monitoringSubscription MonitoringSubscription
    A subscription configuration for additional CloudWatch metrics.
    monitoringSubscription MonitoringSubscription
    A subscription configuration for additional CloudWatch metrics.
    monitoring_subscription MonitoringSubscription
    A subscription configuration for additional CloudWatch metrics.
    monitoringSubscription Property Map
    A subscription configuration for additional CloudWatch metrics.

    Supporting Types

    MonitoringSubscription

    RealtimeMetricsSubscriptionConfig MonitoringSubscriptionRealtimeMetricsSubscriptionConfig
    A subscription configuration for additional CloudWatch metrics.
    realtimeMetricsSubscriptionConfig MonitoringSubscriptionRealtimeMetricsSubscriptionConfig
    A subscription configuration for additional CloudWatch metrics.
    realtimeMetricsSubscriptionConfig MonitoringSubscriptionRealtimeMetricsSubscriptionConfig
    A subscription configuration for additional CloudWatch metrics.
    realtime_metrics_subscription_config MonitoringSubscriptionRealtimeMetricsSubscriptionConfig
    A subscription configuration for additional CloudWatch metrics.
    realtimeMetricsSubscriptionConfig Property Map
    A subscription configuration for additional CloudWatch metrics.

    MonitoringSubscriptionRealtimeMetricsSubscriptionConfig

    RealtimeMetricsSubscriptionStatus Pulumi.AwsNative.CloudFront.MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus
    A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
    RealtimeMetricsSubscriptionStatus MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus
    A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
    realtimeMetricsSubscriptionStatus MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus
    A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
    realtimeMetricsSubscriptionStatus MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus
    A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
    realtime_metrics_subscription_status MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus
    A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
    realtimeMetricsSubscriptionStatus "Enabled" | "Disabled"
    A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

    MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi