Interface ExecuteCommandConfiguration.Builder

    • Method Detail

      • kmsKeyId

        ExecuteCommandConfiguration.Builder kmsKeyId​(String kmsKeyId)

        Specify an Key Management Service key ID to encrypt the data between the local client and the container.

        Parameters:
        kmsKeyId - Specify an Key Management Service key ID to encrypt the data between the local client and the container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logging

        ExecuteCommandConfiguration.Builder logging​(String logging)

        The log setting to use for redirecting logs for your execute command results. The following log settings are available.

        • NONE: The execute command session is not logged.

        • DEFAULT: The awslogs configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no awslogs log driver is configured in the task definition, the output won't be logged.

        • OVERRIDE: Specify the logging details as a part of logConfiguration. If the OVERRIDE logging option is specified, the logConfiguration is required.

        Parameters:
        logging - The log setting to use for redirecting logs for your execute command results. The following log settings are available.

        • NONE: The execute command session is not logged.

        • DEFAULT: The awslogs configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no awslogs log driver is configured in the task definition, the output won't be logged.

        • OVERRIDE: Specify the logging details as a part of logConfiguration. If the OVERRIDE logging option is specified, the logConfiguration is required.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecuteCommandLogging, ExecuteCommandLogging
      • logging

        ExecuteCommandConfiguration.Builder logging​(ExecuteCommandLogging logging)

        The log setting to use for redirecting logs for your execute command results. The following log settings are available.

        • NONE: The execute command session is not logged.

        • DEFAULT: The awslogs configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no awslogs log driver is configured in the task definition, the output won't be logged.

        • OVERRIDE: Specify the logging details as a part of logConfiguration. If the OVERRIDE logging option is specified, the logConfiguration is required.

        Parameters:
        logging - The log setting to use for redirecting logs for your execute command results. The following log settings are available.

        • NONE: The execute command session is not logged.

        • DEFAULT: The awslogs configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no awslogs log driver is configured in the task definition, the output won't be logged.

        • OVERRIDE: Specify the logging details as a part of logConfiguration. If the OVERRIDE logging option is specified, the logConfiguration is required.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecuteCommandLogging, ExecuteCommandLogging
      • logConfiguration

        ExecuteCommandConfiguration.Builder logConfiguration​(ExecuteCommandLogConfiguration logConfiguration)

        The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE is specified, a logConfiguration must be provided.

        Parameters:
        logConfiguration - The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE is specified, a logConfiguration must be provided.
        Returns:
        Returns a reference to this object so that method calls can be chained together.