AWS Native is in preview. AWS Classic is fully supported.
aws-native.cloudfront.MonitoringSubscription
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const monitoringSubscriptionResource = new aws_native.cloudfront.MonitoringSubscription("monitoringSubscriptionResource", {
distributionId: "string",
monitoringSubscription: {
realtimeMetricsSubscriptionConfig: {
realtimeMetricsSubscriptionStatus: aws_native.cloudfront.MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus.Enabled,
},
},
});
Coming soon!
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:
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
MonitoringSubscriptionRealtimeMetricsSubscriptionConfig, MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgs
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
AWS Native is in preview. AWS Classic is fully supported.