Interface TaskCredentials.Builder

    • Method Detail

      • roleArn

        TaskCredentials.Builder roleArn​(String roleArn)

        The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access to resources.

        Parameters:
        roleArn - The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access to resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.