Class MetricsDestinationArgs.Builder

  • Enclosing class:
    MetricsDestinationArgs

    public static final class MetricsDestinationArgs.Builder
    extends java.lang.Object
    • Method Detail

      • appMonitorName

        public MetricsDestinationArgs.Builder appMonitorName​(com.pulumi.core.Output<java.lang.String> appMonitorName)
        Parameters:
        appMonitorName - The name of the CloudWatch RUM app monitor that will send the metrics.
        Returns:
        builder
      • appMonitorName

        public MetricsDestinationArgs.Builder appMonitorName​(java.lang.String appMonitorName)
        Parameters:
        appMonitorName - The name of the CloudWatch RUM app monitor that will send the metrics.
        Returns:
        builder
      • destination

        public MetricsDestinationArgs.Builder destination​(com.pulumi.core.Output<java.lang.String> destination)
        Parameters:
        destination - Defines the destination to send the metrics to. Valid values are `CloudWatch` and `Evidently`. If you specify `Evidently`, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
        Returns:
        builder
      • destination

        public MetricsDestinationArgs.Builder destination​(java.lang.String destination)
        Parameters:
        destination - Defines the destination to send the metrics to. Valid values are `CloudWatch` and `Evidently`. If you specify `Evidently`, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
        Returns:
        builder
      • destinationArn

        public MetricsDestinationArgs.Builder destinationArn​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> destinationArn)
        Parameters:
        destinationArn - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
        Returns:
        builder
      • destinationArn

        public MetricsDestinationArgs.Builder destinationArn​(java.lang.String destinationArn)
        Parameters:
        destinationArn - Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
        Returns:
        builder
      • iamRoleArn

        public MetricsDestinationArgs.Builder iamRoleArn​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> iamRoleArn)
        Parameters:
        iamRoleArn - This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
        Returns:
        builder
      • iamRoleArn

        public MetricsDestinationArgs.Builder iamRoleArn​(java.lang.String iamRoleArn)
        Parameters:
        iamRoleArn - This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
        Returns:
        builder
      • region

        public MetricsDestinationArgs.Builder region​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public MetricsDestinationArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder