Class AppMonitorAppMonitorConfigurationArgs.Builder

    • Method Detail

      • allowCookies

        public AppMonitorAppMonitorConfigurationArgs.Builder allowCookies​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.Boolean> allowCookies)
        Parameters:
        allowCookies - If you set this to `true`, RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.
        Returns:
        builder
      • allowCookies

        public AppMonitorAppMonitorConfigurationArgs.Builder allowCookies​(java.lang.Boolean allowCookies)
        Parameters:
        allowCookies - If you set this to `true`, RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.
        Returns:
        builder
      • enableXray

        public AppMonitorAppMonitorConfigurationArgs.Builder enableXray​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.Boolean> enableXray)
        Parameters:
        enableXray - If you set this to `true`, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests.
        Returns:
        builder
      • enableXray

        public AppMonitorAppMonitorConfigurationArgs.Builder enableXray​(java.lang.Boolean enableXray)
        Parameters:
        enableXray - If you set this to `true`, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests.
        Returns:
        builder
      • excludedPages

        public AppMonitorAppMonitorConfigurationArgs.Builder excludedPages​(@Nullable
                                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> excludedPages)
        Parameters:
        excludedPages - A list of URLs in your website or application to exclude from RUM data collection.
        Returns:
        builder
      • excludedPages

        public AppMonitorAppMonitorConfigurationArgs.Builder excludedPages​(java.util.List<java.lang.String> excludedPages)
        Parameters:
        excludedPages - A list of URLs in your website or application to exclude from RUM data collection.
        Returns:
        builder
      • excludedPages

        public AppMonitorAppMonitorConfigurationArgs.Builder excludedPages​(java.lang.String... excludedPages)
        Parameters:
        excludedPages - A list of URLs in your website or application to exclude from RUM data collection.
        Returns:
        builder
      • favoritePages

        public AppMonitorAppMonitorConfigurationArgs.Builder favoritePages​(@Nullable
                                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> favoritePages)
        Parameters:
        favoritePages - A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
        Returns:
        builder
      • favoritePages

        public AppMonitorAppMonitorConfigurationArgs.Builder favoritePages​(java.util.List<java.lang.String> favoritePages)
        Parameters:
        favoritePages - A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
        Returns:
        builder
      • favoritePages

        public AppMonitorAppMonitorConfigurationArgs.Builder favoritePages​(java.lang.String... favoritePages)
        Parameters:
        favoritePages - A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
        Returns:
        builder
      • guestRoleArn

        public AppMonitorAppMonitorConfigurationArgs.Builder guestRoleArn​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> guestRoleArn)
        Parameters:
        guestRoleArn - The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
        Returns:
        builder
      • guestRoleArn

        public AppMonitorAppMonitorConfigurationArgs.Builder guestRoleArn​(java.lang.String guestRoleArn)
        Parameters:
        guestRoleArn - The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
        Returns:
        builder
      • identityPoolId

        public AppMonitorAppMonitorConfigurationArgs.Builder identityPoolId​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> identityPoolId)
        Parameters:
        identityPoolId - The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
        Returns:
        builder
      • identityPoolId

        public AppMonitorAppMonitorConfigurationArgs.Builder identityPoolId​(java.lang.String identityPoolId)
        Parameters:
        identityPoolId - The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
        Returns:
        builder
      • includedPages

        public AppMonitorAppMonitorConfigurationArgs.Builder includedPages​(@Nullable
                                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> includedPages)
        Parameters:
        includedPages - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
        Returns:
        builder
      • includedPages

        public AppMonitorAppMonitorConfigurationArgs.Builder includedPages​(java.util.List<java.lang.String> includedPages)
        Parameters:
        includedPages - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
        Returns:
        builder
      • includedPages

        public AppMonitorAppMonitorConfigurationArgs.Builder includedPages​(java.lang.String... includedPages)
        Parameters:
        includedPages - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
        Returns:
        builder
      • sessionSampleRate

        public AppMonitorAppMonitorConfigurationArgs.Builder sessionSampleRate​(@Nullable
                                                                               com.pulumi.core.Output<java.lang.Double> sessionSampleRate)
        Parameters:
        sessionSampleRate - Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is `0.1`.
        Returns:
        builder
      • sessionSampleRate

        public AppMonitorAppMonitorConfigurationArgs.Builder sessionSampleRate​(java.lang.Double sessionSampleRate)
        Parameters:
        sessionSampleRate - Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is `0.1`.
        Returns:
        builder
      • telemetries

        public AppMonitorAppMonitorConfigurationArgs.Builder telemetries​(@Nullable
                                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> telemetries)
        Parameters:
        telemetries - An array that lists the types of telemetry data that this app monitor is to collect. Valid values are `errors`, `performance`, and `http`.
        Returns:
        builder
      • telemetries

        public AppMonitorAppMonitorConfigurationArgs.Builder telemetries​(java.util.List<java.lang.String> telemetries)
        Parameters:
        telemetries - An array that lists the types of telemetry data that this app monitor is to collect. Valid values are `errors`, `performance`, and `http`.
        Returns:
        builder
      • telemetries

        public AppMonitorAppMonitorConfigurationArgs.Builder telemetries​(java.lang.String... telemetries)
        Parameters:
        telemetries - An array that lists the types of telemetry data that this app monitor is to collect. Valid values are `errors`, `performance`, and `http`.
        Returns:
        builder