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

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

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.cloudfront.MonitoringSubscription

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

    Resource Type definition for AWS::CloudFront::MonitoringSubscription

    Create MonitoringSubscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MonitoringSubscription(name: string, args: MonitoringSubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def MonitoringSubscription(resource_name: str,
                               args: MonitoringSubscriptionInitArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitoringSubscription(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               distribution_id: Optional[str] = None,
                               monitoring_subscription: Optional[MonitoringSubscriptionArgs] = None)
    func NewMonitoringSubscription(ctx *Context, name string, args MonitoringSubscriptionArgs, opts ...ResourceOption) (*MonitoringSubscription, error)
    public MonitoringSubscription(string name, MonitoringSubscriptionArgs args, CustomResourceOptions? opts = null)
    public MonitoringSubscription(String name, MonitoringSubscriptionArgs args)
    public MonitoringSubscription(String name, MonitoringSubscriptionArgs args, CustomResourceOptions options)
    
    type: aws-native:cloudfront:MonitoringSubscription
    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 MonitoringSubscriptionArgs
    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 MonitoringSubscriptionInitArgs
    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 MonitoringSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitoringSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitoringSubscriptionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MonitoringSubscription Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MonitoringSubscription resource accepts the following input properties:

    DistributionId string
    The ID of the distribution that you are enabling metrics for.
    MonitoringSubscriptionValue Pulumi.AwsNative.CloudFront.Inputs.MonitoringSubscription
    A subscription configuration for additional CloudWatch metrics.
    DistributionId string
    The ID of the distribution that you are enabling metrics for.
    MonitoringSubscription MonitoringSubscriptionTypeArgs
    A subscription configuration for additional CloudWatch metrics.
    distributionId String
    The ID of the distribution that you are enabling metrics for.
    monitoringSubscription MonitoringSubscription
    A subscription configuration for additional CloudWatch metrics.
    distributionId string
    The ID of the distribution that you are enabling metrics for.
    monitoringSubscription MonitoringSubscription
    A subscription configuration for additional CloudWatch metrics.
    distribution_id str
    The ID of the distribution that you are enabling metrics for.
    monitoring_subscription MonitoringSubscriptionArgs
    A subscription configuration for additional CloudWatch metrics.
    distributionId String
    The ID of the distribution that you are enabling metrics for.
    monitoringSubscription Property Map
    A subscription configuration for additional CloudWatch metrics.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MonitoringSubscription resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    MonitoringSubscription, MonitoringSubscriptionArgs

    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, MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgs

    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, MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatusArgs

    Enabled
    Enabled
    Disabled
    Disabled
    MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatusEnabled
    Enabled
    MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatusDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    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.112.0 published on Wednesday, Jul 24, 2024 by Pulumi