Interface ActionTypeExecutor.Builder

    • Method Detail

      • configuration

        ActionTypeExecutor.Builder configuration​(ExecutorConfiguration configuration)

        The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.

        Parameters:
        configuration - The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ActionTypeExecutor.Builder type​(String type)

        The integration model used to create and update the action type, Lambda or JobWorker.

        Parameters:
        type - The integration model used to create and update the action type, Lambda or JobWorker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecutorType, ExecutorType
      • type

        ActionTypeExecutor.Builder type​(ExecutorType type)

        The integration model used to create and update the action type, Lambda or JobWorker.

        Parameters:
        type - The integration model used to create and update the action type, Lambda or JobWorker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecutorType, ExecutorType
      • policyStatementsTemplate

        ActionTypeExecutor.Builder policyStatementsTemplate​(String policyStatementsTemplate)

        The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.

        To grant permission to another account, specify the account ID as the Principal, a domain-style identifier defined by the service, for example codepipeline.amazonaws.com.

        The size of the passed JSON policy document cannot exceed 2048 characters.

        Parameters:
        policyStatementsTemplate - The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.

        To grant permission to another account, specify the account ID as the Principal, a domain-style identifier defined by the service, for example codepipeline.amazonaws.com.

        The size of the passed JSON policy document cannot exceed 2048 characters.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobTimeout

        ActionTypeExecutor.Builder jobTimeout​(Integer jobTimeout)

        The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.

        Parameters:
        jobTimeout - The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.