We recommend new projects start with resources from the AWS provider.
aws-native.cloudfront.MonitoringSubscription
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MonitoringSubscription resource accepts the following input properties:
- Distribution
Id string - The ID of the distribution that you are enabling metrics for.
- Monitoring
Subscription Pulumi.Value Aws Native. Cloud Front. Inputs. Monitoring Subscription - A subscription configuration for additional CloudWatch metrics.
- Distribution
Id string - The ID of the distribution that you are enabling metrics for.
- Monitoring
Subscription MonitoringSubscription Type Args - A subscription configuration for additional CloudWatch metrics.
- distribution
Id String - The ID of the distribution that you are enabling metrics for.
- monitoring
Subscription MonitoringSubscription - A subscription configuration for additional CloudWatch metrics.
- distribution
Id string - The ID of the distribution that you are enabling metrics for.
- monitoring
Subscription MonitoringSubscription - A subscription configuration for additional CloudWatch metrics.
- distribution_
id str - The ID of the distribution that you are enabling metrics for.
- monitoring_
subscription MonitoringSubscription Args - A subscription configuration for additional CloudWatch metrics.
- distribution
Id String - The ID of the distribution that you are enabling metrics for.
- monitoring
Subscription 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
- 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, MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgs
- 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, MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Monitoring
Subscription Realtime Metrics Subscription Config Realtime Metrics Subscription Status Enabled - Enabled
- Monitoring
Subscription Realtime Metrics Subscription Config Realtime Metrics Subscription Status Disabled - 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
We recommend new projects start with resources from the AWS provider.