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.cloudfront.getMonitoringSubscription
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 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:
- Distribution
Id string - The ID of the distribution that you are enabling metrics for.
- Distribution
Id string - The ID of the distribution that you are enabling metrics for.
- distribution
Id String - The ID of the distribution that you are enabling metrics for.
- distribution
Id 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.
- distribution
Id String - The ID of the distribution that you are enabling metrics for.
getMonitoringSubscription Result
The following output properties are available:
- Monitoring
Subscription Pulumi.Value Aws Native. Cloud Front. Outputs. Monitoring Subscription - A subscription configuration for additional CloudWatch metrics.
- Monitoring
Subscription MonitoringSubscription Type - A subscription configuration for additional CloudWatch metrics.
- monitoring
Subscription MonitoringSubscription - A subscription configuration for additional CloudWatch metrics.
- monitoring
Subscription MonitoringSubscription - A subscription configuration for additional CloudWatch metrics.
- monitoring_
subscription MonitoringSubscription - A subscription configuration for additional CloudWatch metrics.
- monitoring
Subscription Property Map - A subscription configuration for additional CloudWatch metrics.
Supporting Types
MonitoringSubscription
- Realtime
Metrics Pulumi.Subscription Config Aws Native. Cloud Front. Inputs. Monitoring Subscription Realtime Metrics Subscription Config - A subscription configuration for additional CloudWatch metrics.
- Realtime
Metrics MonitoringSubscription Config Subscription Realtime Metrics Subscription Config - A subscription configuration for additional CloudWatch metrics.
- realtime
Metrics MonitoringSubscription Config Subscription Realtime Metrics Subscription Config - A subscription configuration for additional CloudWatch metrics.
- realtime
Metrics MonitoringSubscription Config Subscription Realtime Metrics Subscription Config - A subscription configuration for additional CloudWatch metrics.
- realtime_
metrics_ Monitoringsubscription_ config Subscription Realtime Metrics Subscription Config - A subscription configuration for additional CloudWatch metrics.
- realtime
Metrics Property MapSubscription Config - A subscription configuration for additional CloudWatch metrics.
MonitoringSubscriptionRealtimeMetricsSubscriptionConfig
- Realtime
Metrics Pulumi.Subscription Status Aws Native. Cloud Front. Monitoring Subscription Realtime Metrics Subscription Config Realtime Metrics Subscription Status - A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
- Realtime
Metrics MonitoringSubscription Status Subscription Realtime Metrics Subscription Config Realtime Metrics Subscription Status - A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
- realtime
Metrics MonitoringSubscription Status Subscription Realtime Metrics Subscription Config Realtime Metrics Subscription Status - A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
- realtime
Metrics MonitoringSubscription Status Subscription Realtime Metrics Subscription Config Realtime Metrics Subscription Status - A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
- realtime_
metrics_ Monitoringsubscription_ status Subscription Realtime Metrics Subscription Config Realtime Metrics Subscription Status - A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
- realtime
Metrics "Enabled" | "Disabled"Subscription Status - 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
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi